[CastXML] Parsing class with nested struct definition.

seshu yamajala syamajala at gmail.com
Sat Mar 26 04:13:01 EDT 2016


I'm trying to use pygccxml to auto-generate some C++. The problem I'm 
having is if I have a class like:

class MyClass {
     struct SomeStruct {
        int structmem;
     };

     SomeStruct classmem;
};

When I look at the variables of the MyClass declaration, its listing 
both structmem and classmem as members. Is there a way to tell that 
structmem is a member of SomeStruct and that SomeStruct was defined 
inside of MyClass?



More information about the CastXML mailing list