libini_config 0.1.3
|
Defines | |
#define | COL_CLASS_INI_BASE 20000 |
Base for the class definitions. | |
#define | COL_CLASS_INI_CONFIG COL_CLASS_INI_BASE + 0 |
Class for the configuration object. | |
#define | COL_CLASS_INI_SECTION COL_CLASS_INI_BASE + 1 |
A one level collection of key value pairs where values are always strings. | |
#define | COL_CLASS_INI_PERROR COL_CLASS_INI_BASE + 2 |
A one level collection of parse errors. | |
#define | COL_CLASS_INI_PESET COL_CLASS_INI_BASE + 3 |
Collection of error collections. | |
#define | COL_CLASS_INI_META COL_CLASS_INI_BASE + 4 |
Collection of metadata. |
INI uses COLLECTION library to store data. It creates different objects with implied internal structure. To be able to validate the objects it is a good practice to define a class for each type of the object.
This section contains constants that define internal collection classes used by INI interface. They are exposed so that if you use collection for other purposes you can make sure that the object classes do not overlap. It is a good practice to avoid them overlapping. Non-overlapping class space would make internal type checking more effective so that if an object of the wrong class is passed to some interface the interface would be able to check and detect an error.
#define COL_CLASS_INI_CONFIG COL_CLASS_INI_BASE + 0 |
Class for the configuration object.
The configuration object consists of the collection of collections where each sub collection is a section. Application however should not assume that this always be the case. Use only INI interface functions get data from the configuration object. Do not use the raw collection interface to get data.
#define COL_CLASS_INI_META COL_CLASS_INI_BASE + 4 |
Collection of metadata.
Collection that stores metadata.
#define COL_CLASS_INI_PERROR COL_CLASS_INI_BASE + 2 |
A one level collection of parse errors.
Collection stores parse_error structures.
#define COL_CLASS_INI_PESET COL_CLASS_INI_BASE + 3 |
Collection of error collections.
When multiple files are read during one call each file has its own set of parsing errors and warnings. This is the collection of such sets.