Solved

Printing the hierarchy tree of the c++ classes.

Posted on 1998-12-02
4
403 Views
Last Modified: 2010-05-18
Did you know a tool that can generate and print the full class hierarchy tree of my application?
0
Comment
Question by:YaronZamir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:yonat
ID: 1179121
This is called a class browser. There is probably one included with your development environment - try looking for it in the help. If you use MSVC, search for "Class Browsing Tasks".
0
 

Author Comment

by:YaronZamir
ID: 1179122
I have a large project. And a large group of programmers that update and modify the project very frequently.
I need an automatic tool that scan all the header files, create a full hierarchy cart for all the classes in my project and print if for me.
I don’t think that MSDEV ‘Class browser’ provides this functionality.

0
 
LVL 5

Expert Comment

by:yonat
ID: 1179123
You're right - it's output is not very good for printing. You may consider using a CASE tool that supports reverse engineering, like Rational Rose (http://www.rational.com/products/rose/) or Together/C++. Stingray have such a tool with the MFC classes already in it (http://www.stingsoft.com/vcase/default.asp), so if you use MFC this may be helpful.

0
 
LVL 11

Accepted Solution

by:
alexo earned 100 total points
ID: 1179124
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question