#include <IniConfig.h>
|
| | IniConfig ()=default |
| |
| void | Read (FileSystem::FileSource &fs, const std::string &path) |
| |
| bool | Write (FileSystem::FileSourceFS &fs, const std::string &path) |
| |
| bool | Save () |
| |
| void | SetInt (const std::string §ion, const std::string &key, int val) |
| |
| void | SetFloat (const std::string §ion, const std::string &key, float val) |
| |
| void | SetString (const std::string §ion, const std::string &key, const std::string &val) |
| |
| int | Int (const std::string §ion, const std::string &key, int defval) const |
| |
| float | Float (const std::string §ion, const std::string &key, float defval) const |
| |
| std::string | String (const std::string §ion, const std::string &key, const std::string &defval) const |
| |
| void | SetInt (const std::string &key, int val) |
| |
| void | SetFloat (const std::string &key, float val) |
| |
| void | SetString (const std::string &key, const std::string &val) |
| |
| int | Int (const std::string &key, int defval=0) const |
| |
| float | Float (const std::string &key, float defval=0.0f) const |
| |
| std::string | String (const std::string &key, const std::string &defval=std::string()) const |
| |
| bool | HasSection (const std::string §ion) const |
| |
| bool | HasEntry (const std::string §ion, const std::string &key) const |
| |
| bool | HasEntry (const std::string &key) const |
| |
| SectionMapType & | GetSections () |
| |
◆ MapType
◆ SectionMapType
◆ IniConfig()
◆ Float() [1/2]
| float IniConfig::Float |
( |
const std::string & |
key, |
|
|
float |
defval = 0.0f |
|
) |
| const |
|
inline |
◆ Float() [2/2]
| float IniConfig::Float |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
float |
defval |
|
) |
| const |
◆ GetSections()
◆ HasEntry() [1/2]
| bool IniConfig::HasEntry |
( |
const std::string & |
key | ) |
const |
|
inline |
◆ HasEntry() [2/2]
| bool IniConfig::HasEntry |
( |
const std::string & |
section, |
|
|
const std::string & |
key |
|
) |
| const |
|
inline |
◆ HasSection()
| bool IniConfig::HasSection |
( |
const std::string & |
section | ) |
const |
|
inline |
◆ Int() [1/2]
| int IniConfig::Int |
( |
const std::string & |
key, |
|
|
int |
defval = 0 |
|
) |
| const |
|
inline |
◆ Int() [2/2]
| int IniConfig::Int |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
int |
defval |
|
) |
| const |
◆ Read() [1/2]
◆ Read() [2/2]
◆ Save()
◆ SetFloat() [1/2]
| void IniConfig::SetFloat |
( |
const std::string & |
key, |
|
|
float |
val |
|
) |
| |
|
inline |
◆ SetFloat() [2/2]
| void IniConfig::SetFloat |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
float |
val |
|
) |
| |
◆ SetInt() [1/2]
| void IniConfig::SetInt |
( |
const std::string & |
key, |
|
|
int |
val |
|
) |
| |
|
inline |
◆ SetInt() [2/2]
| void IniConfig::SetInt |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
int |
val |
|
) |
| |
◆ SetString() [1/2]
| void IniConfig::SetString |
( |
const std::string & |
key, |
|
|
const std::string & |
val |
|
) |
| |
|
inline |
◆ SetString() [2/2]
| void IniConfig::SetString |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
const std::string & |
val |
|
) |
| |
◆ String() [1/2]
| std::string IniConfig::String |
( |
const std::string & |
key, |
|
|
const std::string & |
defval = std::string() |
|
) |
| const |
|
inline |
◆ String() [2/2]
| std::string IniConfig::String |
( |
const std::string & |
section, |
|
|
const std::string & |
key, |
|
|
const std::string & |
defval |
|
) |
| const |
◆ Write()
◆ m_fs
◆ m_map
◆ m_path
| std::string IniConfig::m_path |
|
protected |
The documentation for this class was generated from the following files: