Reputation: 131
I am working on a huge C++ project. I am using Netbeans to edit it, as the compilation takes place on a linux server. I have a problem of getting the whole list of derived classes that inherit from a base class. There is a protected variable in the base class and I want to takle it in the derived classes that inherit it, but how do I know who is inheriting it?
I have already launched a search on the root of the project directory for " : public BASE_CLASS " but I haven't found anything!
Is this way correct to get the derived classes?
I have searched for this issue in the forum but I haven't find anything relevant.
Any help or hint is highly appreciated.
Upvotes: 1
Views: 181
Reputation: 1776
Use doxygen with graphviz support to generate a hierachy graph diagram for you.
The procedure is simple:
Here is a screenshot of the doxygen diagrams tab so you have a clue on how's the interface.
And finally, here is a link with an output example to you.
Upvotes: 2