This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: free c++ class browser?
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Re: free c++ class browser?
- From: llewelly at 198 dot dsl dot xmission dot com
- Date: Sun, 12 Dec 1999 21:04:11 -0700 (MST)
On Fri, 10 Dec 1999, Philipp Thomas wrote:
> * Benjamin Kosnik (bkoz@cygnus.com) [19991210 20:39]:
>
> > Does anybody have any suggestions for a class browser that works well
> > on heavily templatized code (such as v-3) and runs on linux? And is
> > free? Has anybody tried to use CodeCrusader to produce something like
> > /docs/27_io/iostreams_hierarchy.pdf?
>
> I'd suggest to take a look at the SNiFF+ penguin ide. This is SNiFF+ for C
> and C++ only, a complete multiuser/multiproject ide that TakeFive software
> offers for free without any restrictions.
My cursory examination reveals a few functionality restrictions on the
free version. (For example, if you try to do cross referencing, it
tells you to go get the comercial version.)
>
> Maybe downloaded after filling out a questionaire from
> http://www.takefive.com/download/penguin.html, a ~20 MB rpm file.
>
> Philipp
>
> --
> If God had meant us to be brave, why did he give us legs?
>
It has the first class browser I have seen that is actually
useful for libstdc++.
It gets the iostream hierachry correct, but its diagram is nowhere near as
pretty as docs/27_io/iostreams_hierarchy.pdf
A few bugs:
I only spent about 20 min playing with it.
It seems to think namespaces are structs. For example, it shows about
50 instances of 'struct std' in libstdc++'s class heirarchy. It thinks
some of them are templated. :)
It thinks valarray::operator[] is not a member of valarray ... just a
member of std.
It ignores typedefs
A few functions (for example, binary_compose::operator() ) do not show
up in its browser.
It thinks that 'struct FILE : ::_C_Swamp::_CPP_FILE_capture { };' is
not derived from ::_C_Swamp::_CPP_FILE_capture . ( Possibly because
_CPP_FILE_capture is a typedef? )
Despite the bugs I named above, it is the best C++ class browser I have
seen
yet.