Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10223

Re: class diagram

From Philipp Kraus <philipp.kraus@flashpixx.de>
Newsgroups comp.lang.c++
Subject Re: class diagram
Date 2011-09-17 16:03 +0200
Organization 1&1 Internet AG
Message-ID <j529bn$7t2$1@online.de> (permalink)
References <j527ad$6dr$1@online.de> <slrnj799gu.gtj.grahn+nntp@frailea.sa.invalid>

Show all headers | View raw


On 2011-09-17 15:52:31 +0200, Jorgen Grahn said:

> On Sat, 2011-09-17, Philipp Kraus wrote:
>> Hello,
>> 
>> I have written a framework that is a head-only structure and using
> 
> "Head-only"?

sorry typo error: header-only

> 
>> templates. For documentation I would like to create a class diagram
>> which shows all cardinalities and derivations.
>> I'm using XCode and it can build a diagram but only from instanciated
>> classes. XCode build the diagram if I set myclass<int> but not with
>> tempate<typename T> class {}
>> So I can create the whole diagram only if I write an example program
>> which creates objects of each class.
>> 
>> Do you know a good documentation tool to create class diagrams with the
>> template structures?
> 
> I'd use paper and pencil, to quickly get a picture which focuses on
> the important parts. I find drawing tools too slow and tedious. And
> automatic tools like Doxygen can't know which parts are important
> and which are not (assuming Doxygen works at all with templates).

Yes, I use at this time doxygen, but doxygen can support graphvis for 
drawing, but I don't test it.

I would like to create a diagram like 
http://img.skitch.com/20091122-j6q7axd8up53qb1m1xdaxswrai.png

> Or perhaps you should write that example program.

*g* a lot of work....

Thanks

Phil

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

class diagram Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-09-17 15:28 +0200
  Re: class diagram Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-17 13:52 +0000
    Re: class diagram Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-09-17 16:03 +0200
      Re: class diagram red floyd <no.spam.here@its.invalid> - 2011-09-17 13:58 -0700
        Re: class diagram Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-09-20 23:00 +0200
      Re: class diagram Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-09-17 23:25 +0000
        Re: class diagram Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-09-20 21:54 +0200

csiph-web