CastXML / pygccxml

pygccxml is a specialized XML reader that reads the output from CastXML or GCCXML. It provides a simple framework to navigate C++ declarations, using Python classes.
Boost Software License 1.0
129 stars 44 forks source link

Can't detect forward declared classes(expose incomplete attribute) #100

Open mundusnine opened 5 years ago

mundusnine commented 5 years ago

So I want to detect which classes in the classes I am parsing that are real classes and not forward declared ones. I asked the question in Castxml and they said that the incomplete attribute of the xml gives this information. I didn't find anything in the docs for getting xml attributes directly or a pygccxml object that has this information.

Could be interesting to add to class_t a bool memberis_forward_declaration