Solved

Printing the hierarchy tree of the c++ classes.

Posted on 1998-12-02
4
393 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

827 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