'\" t .\" Title: typemaker .\" Author: Micha Lenk .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 2016-01-30 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "TYPEMAKER" "1" "2016\-01\-30" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" typemaker \- source and header file generator for Gwenhywfar and AqBanking data structures .SH "SYNOPSIS" .sp \fItypemaker\fR [options] .SH "DESCRIPTION" .sp This tool generates source and header files for simple data containers from XML files\&. It creates fromDb and toDb functions for structs and getters and setters for any member\&. .sp This makes it easier to maintain data containers with many members (as in AB_TRANSACTION)\&. .sp A member you add to the XML file will immediately be loaded, saved, destroyed and copied with the rest of the struct upon request (e\&.g\&. _fromDb() will load all members from a GWEN_DB)\&. .sp The current version creates a C file and headers for it\&. .sp It also creates appropriate API documentation if provided with the source XML file\&. .SH "OPTIONS" .PP \-v .RS 4 Increase the verbosity level\&. .RE .PP \-\-logfile LOGFILE .RS 4 Specify a name for the logfile\&. .RE .PP \-\-logtype LOGTYPE .RS 4 Specify the log type\&. .RE .PP \-\-loglevel LOGLEVEL .RS 4 Specify the log level\&. .RE .PP \-d DOMAIN .RS 4 DOMAIN is the name of the API, e\&.g\&. for AqBanking you would choose AQBANKING_API, for Gwen GWENHYWFAR_API etc\&. This is used with the list and heritage macros\&. .RE .PP \-o OUTFILE .RS 4 Specify the name of the output file (stdout if omitted)\&. .RE .PP \-\-compact .RS 4 Write a more compact file\&. .RE .PP \-V, \-\-version .RS 4 Print version of this tool and exit .RE .SH "BUGS" .sp There are no known bugs at the time of writing this manual page\&. .SH "COPYING" .sp Copyright (C) Martin Preu\(ss\&. Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL)\&. .sp The manpage was composed by Micha Lenk and converted by the nifty tool AsciiDoc into a manpage\&. .SH "AUTHOR" .PP \fBMicha Lenk\fR <\&micha@debian\&.org\&> .RS 4 Author. .RE