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

Ini-file entry: setcion, key and value. More...

#include <iniReader.h>

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 using case neutral equal comparison.
 
bool equalTo (const char *i_section, const char *i_key) const
 ini-file entry section and key using case neutral equal comparison.
 

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.

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