OpenM++ runtime library (libopenm)
openm::IniEntry Struct Reference

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. More...
 
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)
 

Detailed Description

Ini-file entry: setcion, key and value.

Constructor & Destructor Documentation

◆ IniEntry()

IniEntry::IniEntry ( const string &  i_section,
const string &  i_key,
const string &  i_value 
)

initialize ini-file entry.

Parameters
[in]i_sectionini-file section name.
[in]i_keyini-file key.
[in]i_valueini-file entry value.

Member Function Documentation

◆ bySectionKey()

bool IniEntry::bySectionKey ( const char *  i_sectionKey) const

ini-file entry section.key case neutral equal comparison.

◆ equalTo()

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.


The documentation for this struct was generated from the following files: