Configuration reader
About:
This is a configuration file reader, yeah yeah another one.
It enables you to read the configuration files of the form:
# this is a comment
name value
The the class can be queries for the values.
Three types of values are supported:
single value - this is just a number
vector value - this is a vector of values where whitespace
separates values one from another
string value - string
iterative value - this is a single value which changes from a
starting value to ending value by some step
A word about iterative value: the purpose of the value is to enable a
single simulation run with a different values. The algorithm "advances"
through the possible variants of the value.
For now if you specify more than one iterative value they will be read
sequentially, i.e. you wont get all the possible permutations. This is
done so, cause i don't need to get all the possible permutations it is
hard to produce graphs from it afterwards.
Status:
It is in stable form as i use it on daily basis.
Fixed a bug with vector values. I've never used them :)
TODO:
Support for flags. Parameters which only appear without any value.
Maybe i will add more elaborate support for multiple iterative values.
Download:
GNU Zipped Tarball
Main page
This page was last updated on Fri Nov 30 12:07:27 IST 2001