'\" t .\" Title: typemaker .\" Author: Micha Lenk .\" Generator: Asciidoctor 2.0.20 .\" Date: 2024-04-01 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "TYPEMAKER" "1" "2024-04-01" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" typemaker \- source and header file generator for Gwenhywfar and AqBanking data structures .SH "SYNOPSIS" .sp \fItypemaker\fP [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" .sp \-v .RS 4 Increase the verbosity level. .RE .sp \-\-logfile LOGFILE .RS 4 Specify a name for the logfile. .RE .sp \-\-logtype LOGTYPE .RS 4 Specify the log type. .RE .sp \-\-loglevel LOGLEVEL .RS 4 Specify the log level. .RE .sp \-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 .sp \-o OUTFILE .RS 4 Specify the name of the output file (stdout if omitted). .RE .sp \-\-compact .RS 4 Write a more compact file. .RE .sp \-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ß. 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 Asciidoctor into a manpage. .SH "AUTHOR" .sp Micha Lenk