EnglishFrenchSpanish

OnWorks favicon

typemaker2 - Online in the Cloud

Run typemaker2 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command typemaker2 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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
API declaration prefix (like GWENHYWFAR_API)

--public=PARAM
Name of the public header file to create

--library=PARAM
Name of the library header file to create

--protected=PARAM
Name of the protected header file to create

--private=PARAM
Name of the private header file to create

--code=PARAM
Name of the code file to create

--destfolder=PARAM
Destination folder

--lang=PARAM
Language for which to create the headers and code

-I PARAM, --include=PARAM
Add folder to include for type lookup

-d, --defs-only
Only write def files (*.tm2)

-h, --help
Show this help screen

COMMANDS


build
This command creates source and header files for the given file

Use typemaker2 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad