From: "James K. Lowden" <jklowden schemamania org>
To: dia-list gnome org
Subject: Re: long method signatures in uml class diagrams
Date: Sun, 13 Oct 2002 15:08:53 -0400
On 13 Oct 2002 09:35:35 -0500, Lars Clausen <email@example.com> wrote:
> On Fri, 11 Oct 2002, Marco Craveiro wrote:
> > basically i am using dia to
> > document a fairly large and complex c++ project and a lot of the
> > methods have really long signatures. what i want to know is: is it
> > possible to insert line breaks on the rendering of the diagram? the
> > classes are so large that the diagram is unreadable...
> It isn't, really. The only way would be to hack objects/UML/class.c to
> insert, say, linebreaks after arguments if the line becomes too long.
> On the other hand, long signatures are a sign of an overly complex
> system. Not that you may be able to do anything about that.
Surely you don't mean that, Lars. Would you say the following is an
example of "an overly complex system"?
template <class charT, class traits, class Alloc>
basic_string<charT, traits, Alloc>
operator+(const basic_string<charT, traits, Alloc>& s1, charT c)
The libstdc++ style guide recommends putting the template members, return
type, and function signature each on a separate line.