J
James Harris
Am fairly new to C++ and trying to understand the class hierarchy of
an existing body of code that I have to work with. The way the code is
defined (many files, significantly deep class hierarchy and
conditional includes) makes it especially difficult to work out what
the classes I have to work with actually look like.
Any suggestions on how to understand the effective make-up of
individual classes and how the class hierarchy is put together?
Maybe there is a tool to do this. g++'s -fdump-class-hierarchy seems
more about vtables. All I want to see is something along the lines of
class C
member variable V
member variable V
member function F
member function F
etc. and for each member a note of its type and where it is defined.
Anyone know of a way to get this info?
James
an existing body of code that I have to work with. The way the code is
defined (many files, significantly deep class hierarchy and
conditional includes) makes it especially difficult to work out what
the classes I have to work with actually look like.
Any suggestions on how to understand the effective make-up of
individual classes and how the class hierarchy is put together?
Maybe there is a tool to do this. g++'s -fdump-class-hierarchy seems
more about vtables. All I want to see is something along the lines of
class C
member variable V
member variable V
member function F
member function F
etc. and for each member a note of its type and where it is defined.
Anyone know of a way to get this info?
James