carta
typemaker(1)

typemaker1

Source and header file generator for gwenhywfar and aqbanking data structures

Usage

typemaker [options] <input file(s)>

Overview

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.

Options

-v

Increase the verbosity level.

--logfile LOGFILE

Specify a name for the logfile.

--logtype LOGTYPE

Specify the log type.

--loglevel LOGLEVEL

Specify the log level.

-d DOMAIN

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.

-o OUTFILE

Specify the name of the output file (stdout if omitted).

--compact

Write a more compact file.

-V, --version

Print version of this tool and exit

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.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster) to Debian 9 (Stretch)

Bugs

There are no known bugs at the time of writing this manual page.

Author

Micha Lenk

From gwenhywfar-tools 5.12.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.