.\" .LO 1 .TH "dia2code" "1" "September 2, 2001" "" "" .SH "NAME" dia2code \- Generate code from Dia files .SH "SYNOPSIS" .B dia2code [\-t \fIada|c|cpp|cs|java|php|php5|python|ruby|shp|sql\fR] [\-d \fIdir\fR] [\-nc] [\-c] [\-cl \fIclasslist\fR] [\-v] diagramfile [\-h] [\-\-help] .LP .RP .IP .TP .br <\fI\fR .SH "DESCRIPTION" .PP .B 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. .SH "OPTIONS" .PP .TP .B \-h \-\-help Print help text and exit. .TP .B \-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql Selects the output language, default is C++. .TP .B \-d dir Output generated files to , default is "." .TP .B \-nc Do not overwrite files that already exist. .TP .B \-cl classlist Generate code only for the classes specified in the comma\-separated . E.g: Base,Derived. .TP .B \-v Invert the class list selection. When used without \-cl prevents any file from being created. .TP .B \-l licensefile Prepend the specified license to every source file generated. .TP .B diagramfile The Dia file that holds the diagram to be read. .SH "AUTHOR" .PP Written by Javier O'Hara with contributions from Ruben Lopez (C code generation), Chris McGee (Dependencies, Associations, C++ Templates, SQL), Takashi Okamoto (License inclusion mechanism), Thomas Preymesser (Ada code generation), Jérôme Slangen (Wildcard class list mechanism), Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules), Martin Vidner (Porting to libxml2). .SH "THANKS" .PP Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra help. .SH "REPORTING BUGS" .PP Report bugs to .br . .SH "COPYRIGHT" .PP Copyright \(co 2000\-2001 Javier O'Hara .br This is free software, and you are welcome to redistribute it under certain conditions; read the COPYING file for details. .SH "SEE ALSO" .PP dia(1) .SH "ALSO SEE ALSO" .PP The .B Dia homepage: .br The .B dia2code homepage: