logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dia2code - Generate code from Dia files

Also See Also

       The Dia homepage: <http://live.gnome.org/Dia>
       The dia2code homepage: <http://dia2code.sourceforge.net>

                                                September 2, 2001                                    dia2code(1)

Author

       Written   by   Javier   O'Hara   <joh314@users.sourceforge.net>   with  contributions  from  Ruben  Lopez
       <ryu@gpul.org> (C code generation), Chris McGee <sirnewton_01@yahoo.ca> (Dependencies, Associations,  C++
       Templates,
        SQL),  Takashi Okamoto <toraneko@kun.ne.jp> (License inclusion mechanism), Thomas Preymesser <tp@odn.de>
       (Ada code generation), Jérôme Slangen <jeromes@mail.be> (Wildcard class list mechanism), Takaaki Tateishi
       <>   (Dynamic   Shared    Objects    for    dynamic    code    generator    modules),    Martin    Vidner
       <mvidner@users.sourceforge.net> (Porting to libxml2).

Description

dia2code generates code from a Dia file containing a UML diagram. Output code can be: Ada,  C,  C++,  C#,
       Java, PHP, PHP5, Python, Ruby, shapefiles and SQL.

Name

       dia2code - Generate code from Dia files

Options

-h--help
              Print help text and exit.

       -tada|c|cpp|cs|java|php|php5|python|ruby|shp|sql
              Selects the output language, default is C++.

       -ddir Output generated files to <dir>, default is "."

       -nc    Do not overwrite files that already exist.

       -clclasslist
              Generate code only for the classes specified in the comma-separated <classlist>.
               E.g: Base,Derived.

       -v     Invert the class list selection.  When used without -cl prevents any file from
               being created.

       -llicensefile
              Prepend the specified license to every source file generated.

       diagramfile
              The Dia file that holds the diagram to be read.

Reporting Bugs

       Report bugs to
       <http://sourceforge.net/bugs/?func=addbug&group_id=15307>.

See Also

dia(1)

Synopsis

dia2code  [-t  ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql]  [-d  dir] [-nc] [-c] [-cl classlist] [-v]
       diagramfile [-h] [--help]

Thanks

       Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra help.

See Also