|
| | Section (const Section *aParent, const Cell< string > &aBuffer, const string &aKey, const index_t aStartFlag, const index_t aEndFlag) |
| | ~Section () |
| const string & | type () const |
| | return the type of this Section
|
| const string & | label () const |
| | return the name of this Section
|
| const string & | key () const |
| bool | section_exists (const string &aType) const |
| | tell if a section exists
|
| bool | section_exists (const string &aType, const string &aLabel) const |
| | tell if a section exists
|
| bool | key_exists (const string &aKey) const |
| | check if a key exists
|
| bool | key_is_real (const string &aKey) const |
| | check if a key is real
|
| const string & | get_string (const string &aKey) const |
| | get the value of a key
|
| bool | get_bool (const string &aKey) const |
| | get the bool value of a key
|
| real | get_real (const string &aKey) const |
| | get the real value of a key
|
| value | get_value (const string &aKey, const string &aUnit) const |
| | get the real value of a key with unit
|
| void | get_value (const index_t aIndex, string &aKey, value &aValue) const |
| | get the key/value pair for a certain index
|
| string | get_units (const string &aKey) const |
| | get the units of a key
|
| int | get_int (const string &aKey) const |
| | get the int value of a key
|
| void | get_ids (const string &aKey, Vector< id_t > &aIDs) const |
| void | get_intersection_list (const string &aKey, Vector< id_t > &aIDs1, Vector< id_t > &aIDs2) const |
| std::pair< id_t, id_t > | get_intersection_ids (const string &aKey) const |
| void | get_ids (const string &aKey, const string &aTape, Vector< id_t > &aIDs) const |
| void | get_id_groups (const string &aKey, Cell< Cell< id_t > > &aIDs) const |
| void | get_reals (const string &aKey, Vector< real > &aReals) const |
| const Section * | section (const string &aType) const |
| | return a subsection by type string (requires empty label)
|
| const Section * | section (const string &aType, const string &aLabel) const |
| | return a subsection by type and label
|
| const Section * | section (const index_t aIndex) const |
| | access a section by index
|
| index_t | num_sections () const |
| | number of sections
|
| index_t | num_keys () const |
| | number of keys
|
| const string & | key (const index_t aIndex) const |
| | return the name of this key
|
| int | level () const |
| | the level of this section
|
| const Section * | parent () const |
| | the parent of this section
|
| string | tree () const |
| | returns the tree of this section
|
| index_t | start () const |
| | start flag in buffer
|
| index_t | end () const |
| | end flag in buffer
|
| void | ids_from_string (const string &aString, Vector< id_t > &aIDs) const |
| const Cell< string > & | buffer () const |
One hierarchical section of a configuration file.
- See also
- BELFEM I/O Usage Guide