OpenM++ runtime library (libopenm)
|
Ini-file entry: setcion, key and value. More...
Public Member Functions | |
IniEntry (const string &i_section, const string &i_key, const string &i_value) | |
initialize ini-file entry. More... | |
bool | bySectionKey (const char *i_sectionKey) const |
ini-file entry section.key case neutral equal comparison. | |
bool | equalTo (const char *i_section, const char *i_key) const |
ini-file entry section and key case neutral equal comparison. More... | |
Public Attributes | |
string | section |
section: in lower case, without [], space trimed | |
string | key |
key: in lower case, without =, space trimed | |
string | val |
value: space trimed and unquoted ("quotes" or 'apostrophes' removed) | |
Ini-file entry: setcion, key and value.
IniEntry::IniEntry | ( | const string & | i_section, |
const string & | i_key, | ||
const string & | i_value | ||
) |
initialize ini-file entry.
[in] | i_section | ini-file section name. |
[in] | i_key | ini-file key. |
[in] | i_value | ini-file entry value. |
bool IniEntry::equalTo | ( | const char * | i_section, |
const char * | i_key | ||
) | const |
ini-file entry section and key case neutral equal comparison.
ini-file entry section.key case neutral equal comparison.