README
1
2This tool generates source and header files for simple data containers
3from XML files. It creates fromDb and toDb functions for structs and
4getters and setters for any member.
5
6This makes it easier to maintain data containers with many members (as
7in AB_TRANSACTION).
8
9A member you add to the XML file will immidiately be loaded, saved,
10destroyed and copied with the rest of the struct upon request
11(e.g. _fromDb() will load all members from a GWEN_DB).
12
13The current version creates a C file and headers for it.
14Maybe I will later write code to create C++ files as well.
15
16It also creates appropriate API documentation if provided with the
17source XML file.
18
19
20Usage:
21 typemaker [-d DOMAIN] infile1 infile2 [...] infileN
22
23Domain is the name of the API, e.g. for AqBanking you would choose
24AQBANKING_API, for Gwen GWENHYWFAR_API etc. This is used with the
25list and heritage macros.
26
27
28Martin Preuss
29