Config Maker 0.6.2

Config Maker is a tool to automatically create C++ classes that parse configuration files.
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 .

last updated on:
July 3rd, 2008, 14:40 GMT
price:
FREE!
homepage:
cfmake.sourceforge.net
license type:
GPL (GNU General Public License) 
developed by:
Max Moorkamp
category:
ROOT \ Programming \ Code Generators
Config Maker
Download Button

In a hurry? Add it to your Download Basket!

user rating 18

2.6/5
 

0/5

Rate it!

Add your review!

SUBMIT