ASCII Parameter Table Object
int | Merge (char *fname) Merge entries from a file into the parameter table |
Constructors, destructor
|
Read access by key.
Write access by key.
Read access by indexed key.
Read access by indexed key.
ASCII Parameter Table Object. This class implements the HCL associative array (hash table) interface defined in the AbstractTable base class.The principal Table constructor reads the Table's internal data from a "config" file. Each line of the config file is either of the form "Key = Value" or "Object::Key = Value". The first form initializes the parameter associated to "Key" in the table to the value "Value". The second form facilitates the use of one config file for several different objects. If the "Object" matches one of the object names provided by the user (as argument to the constructor, see below), then the parameter is read/written as before. Otherwise, the line is ignored. The type of "Value" can be integer, float, double, or string. String values are optionally enclosed by double-quotes.
Because the keys (strings) are private data for this class, it is a bit on the profligate side with storage.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de