Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10220 > unrolled thread
| Started by | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| First post | 2011-09-17 15:28 +0200 |
| Last post | 2011-09-20 21:54 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.c++
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
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2011-09-17 15:28 +0200 |
| Subject | class diagram |
| Message-ID | <j527ad$6dr$1@online.de> |
Hello,
I have written a framework that is a head-only structure and using
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?
Thanks
Phil
[toc] | [next] | [standalone]
| From | Jorgen Grahn <grahn+nntp@snipabacken.se> |
|---|---|
| Date | 2011-09-17 13:52 +0000 |
| Message-ID | <slrnj799gu.gtj.grahn+nntp@frailea.sa.invalid> |
| In reply to | #10220 |
On Sat, 2011-09-17, Philipp Kraus wrote:
> Hello,
>
> I have written a framework that is a head-only structure and using
"Head-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).
Or perhaps you should write that example program.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
[toc] | [prev] | [next] | [standalone]
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2011-09-17 16:03 +0200 |
| Message-ID | <j529bn$7t2$1@online.de> |
| In reply to | #10221 |
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
[toc] | [prev] | [next] | [standalone]
| From | red floyd <no.spam.here@its.invalid> |
|---|---|
| Date | 2011-09-17 13:58 -0700 |
| Message-ID | <j531ma$em9$1@dont-email.me> |
| In reply to | #10223 |
On 9/17/2011 7:03 AM, Philipp Kraus wrote: > On 2011-09-17 15:52:31 +0200, Jorgen Grahn said: > Yes, I use at this time doxygen, but doxygen can support graphvis for > drawing, but I don't test it. > Doxygen with GraphVis works very nicely. I've used it.
[toc] | [prev] | [next] | [standalone]
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2011-09-20 23:00 +0200 |
| Message-ID | <j5autk$sa6$1@online.de> |
| In reply to | #10234 |
On 2011-09-17 22:58:42 +0200, red floyd said: > On 9/17/2011 7:03 AM, Philipp Kraus wrote: >> On 2011-09-17 15:52:31 +0200, Jorgen Grahn said: > >> Yes, I use at this time doxygen, but doxygen can support graphvis for >> drawing, but I don't test it. >> > > Doxygen with GraphVis works very nicely. I've used it. I've found MetaUML (http://metauml.sourceforge.net/old/index.html) too, that create nice diagrams with TeX. Now I need a tool, which convert my classes into MetaUML code PHil
[toc] | [prev] | [next] | [standalone]
| From | Jorgen Grahn <grahn+nntp@snipabacken.se> |
|---|---|
| Date | 2011-09-17 23:25 +0000 |
| Message-ID | <slrnj7ab3e.gtj.grahn+nntp@frailea.sa.invalid> |
| In reply to | #10223 |
On Sat, 2011-09-17, Philipp Kraus wrote: > On 2011-09-17 15:52:31 +0200, Jorgen Grahn said: > >> On Sat, 2011-09-17, Philipp Kraus wrote: ... >>> 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've used it, and I still recommend paper and pencil. > 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.... How can you write a template framework without writing any example programs? You can't test it unless you instantiate those templates. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o .
[toc] | [prev] | [next] | [standalone]
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Date | 2011-09-20 21:54 +0200 |
| Message-ID | <j5ar25$p7j$1@online.de> |
| In reply to | #10236 |
On 2011-09-18 01:25:35 +0200, Jorgen Grahn said: > On Sat, 2011-09-17, Philipp Kraus wrote: >> On 2011-09-17 15:52:31 +0200, Jorgen Grahn said: >> >>> On Sat, 2011-09-17, Philipp Kraus wrote: > ... >>>> 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've used it, and I still recommend paper and pencil. > >> 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.... > > How can you write a template framework without writing any example > programs? You can't test it unless you instantiate those templates. My examples are not under the framework path, so I would like to create only the documentation without the examples. I would like to use a "reverse engenieering tool", which reads the files under the framework and can create the diagram(s). I've tested www.visual-paradigm.com it's a nice tool, but I wouldn't by a licence at this time (reverse engeniering needs a licence). Phil
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c++
csiph-web