Config Maker

Software Screenshot:
Config Maker
Software Details:
Version: 0.6.2
Upload Date: 2 Jun 15
Developer: Max Moorkamp
Distribution Type: Freeware
Downloads: 45

Rating: nan/5 (Total Votes: 0)

Config Maker is a tool to automatically create C++ classes that parse configuration files.

Only a few lines of text that describe the possible entries in the configuration file are needed, and the complete class will be generated ready for use.

Basic usage

The input files for Config Maker have a very simple structure (in ANTLR/grep like notation):

objectname (configentry)+
Each configentry looks like this
type entryname defaultvalue (comment)?

type

Type of the entry, can be int, double, string or bool. If the basic type is followed by any number, the corresponding c++object variable will be of type vector < basic type > The number is the initial number of elements that are allocated for the vector, but the actual configuration file can contain more components. These are added using the push_back method.

If there are less elements specified in the configuration file, the object variable will still contain the number of elements specified here. No warning will be issued.
configentry

Name of the entry and corresponding variable. Has to be at least two characters long and can contain characters and numbers. Case insensitive.

defaultvalue

Default value for the entry. This is optional.

comment

Each comment starts with // and is completely ignored

Requirements:

· Python (for scons)
· scons
· antlr

What's New in This Release:

· It is no longer necessary to set CFMINC_DIR. Instead, the .inc files can be placed in /etc/cfmake .

Other Software of Developer Max Moorkamp

Gplib++
Gplib++

12 May 15

Comments to Config Maker

Comments not found
Add Comment
Turn on images!