• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D15-Feb-2021517 2817

Makefile.inH A D03-May-202225.8 KiB814727

READMEH A D15-Feb-2021898 2918

ahc.cH A D15-Feb-202116.2 KiB570485

args.cH A D15-Feb-20214.5 KiB220166

args.hH A D15-Feb-20211.6 KiB6434

code_c.cH A D15-Feb-202192.8 KiB3,0302,499

lhc.cH A D15-Feb-202111.7 KiB425337

main.cH A D15-Feb-202134.2 KiB1,2501,017

phc.cH A D15-Feb-202113.2 KiB531416

test.xmlH A D15-Feb-20213.2 KiB11190

typemaker_p.hH A D15-Feb-20214.1 KiB13088

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