table of contents
- bookworm 5.10.1-2
- bookworm-backports 5.11.2beta-1~bpo12+1
- testing 5.11.2beta-1
- unstable 5.11.2beta-2
TYPEMAKER2(1) | TYPEMAKER2(1) |
NAME¶
typemaker2 - creates source and header files for the given XML file
SYNOPSIS¶
typemaker2 [global options] <command> [local options]
DESCRIPTION¶
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.
This makes it easier to maintain data containers with many members (as in AB_TRANSACTION).
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).
The current version creates a C file and headers for it.
It also creates appropriate API documentation if provided with the source XML file.
GLOBAL OPTIONS¶
-D PARAM, --api=PARAM
--public=PARAM
--library=PARAM
--protected=PARAM
--private=PARAM
--code=PARAM
--destfolder=PARAM
--lang=PARAM
-I PARAM, --include=PARAM
-d, --defs-only
--no-defs
-h, --help
COMMANDS¶
build
BUGS¶
No bugs known at the time of writing this manual page.
COPYING¶
Copyright (C) Martin Preuß. Free use of this software is granted under the terms of the GNU Lesser General Public License (LGPL).
The manpage was composed by Micha Lenk and converted by the nifty tool Asciidoctor into a manpage.
AUTHOR¶
Micha Lenk
2024-08-03 |