Adds direct parsing of custom types.
More...
#include <ConfigFile.h>
|
| Ogre::ColourValue | getColourValue (Ogre::String const &key, Ogre::ColourValue const &defaultValue=Ogre::ColourValue()) |
| |
| Ogre::ColourValue | getColourValue (Ogre::String const &key, Ogre::String const §ion, Ogre::ColourValue const &defaultValue=Ogre::ColourValue()) |
| |
| Ogre::Vector3 | getVector3 (Ogre::String const &key, Ogre::String const §ion, Ogre::Vector3 const &defaultValue=Ogre::Vector3::ZERO) |
| |
| float | getFloat (Ogre::String const &key, float defaultValue=0.f) |
| |
| float | getFloat (Ogre::String const &key, Ogre::String const §ion, float defaultValue=0.f) |
| |
| bool | getBool (Ogre::String const &key, bool defaultValue=false) |
| |
| bool | getBool (Ogre::String const &key, Ogre::String const §ion, bool defaultValue=false) |
| |
| int | getInt (Ogre::String const &key, int defaultValue=0) |
| |
| int | getInt (Ogre::String const &key, Ogre::String const §ion, int defaultValue=0) |
| |
| Ogre::String | getString (Ogre::String const &key, Ogre::String const §ion, Ogre::String const &defaultValue="") |
| |
| void | SetString (Ogre::String key, Ogre::String value, Ogre::String section=Ogre::BLANKSTRING) |
| |
| bool | HasSection (std::string const &name) |
| |
| bool | HasSetting (std::string const §ion, std::string const &key) |
| |
| void | setLoggingInfo (std::string const &filename, Console::MessageArea area) |
| |
|
| Ogre::String | getSetting (Ogre::String, Ogre::String) |
| |
| Ogre::String | getSetting (Ogre::String, Ogre::String, Ogre::String) |
| |
| void | logMessage (std::string const &msg) |
| |
Adds direct parsing of custom types.
Definition at line 37 of file ConfigFile.h.
◆ getBool() [1/2]
| bool RoR::ConfigFile::getBool |
( |
Ogre::String const & |
key, |
|
|
bool |
defaultValue = false |
|
) |
| |
|
inline |
◆ getBool() [2/2]
| bool ConfigFile::getBool |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
bool |
defaultValue = false |
|
) |
| |
◆ getColourValue() [1/2]
| Ogre::ColourValue RoR::ConfigFile::getColourValue |
( |
Ogre::String const & |
key, |
|
|
Ogre::ColourValue const & |
defaultValue = Ogre::ColourValue() |
|
) |
| |
|
inline |
◆ getColourValue() [2/2]
| Ogre::ColourValue ConfigFile::getColourValue |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
Ogre::ColourValue const & |
defaultValue = Ogre::ColourValue() |
|
) |
| |
◆ getFloat() [1/2]
| float RoR::ConfigFile::getFloat |
( |
Ogre::String const & |
key, |
|
|
float |
defaultValue = 0.f |
|
) |
| |
|
inline |
◆ getFloat() [2/2]
| float ConfigFile::getFloat |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
float |
defaultValue = 0.f |
|
) |
| |
◆ getInt() [1/2]
| int RoR::ConfigFile::getInt |
( |
Ogre::String const & |
key, |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
inline |
◆ getInt() [2/2]
| int ConfigFile::getInt |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
int |
defaultValue = 0 |
|
) |
| |
◆ getSetting() [1/2]
| Ogre::String RoR::ConfigFile::getSetting |
( |
Ogre::String |
, |
|
|
Ogre::String |
|
|
) |
| |
|
private |
◆ getSetting() [2/2]
| Ogre::String RoR::ConfigFile::getSetting |
( |
Ogre::String |
, |
|
|
Ogre::String |
, |
|
|
Ogre::String |
|
|
) |
| |
|
private |
◆ getString()
| Ogre::String ConfigFile::getString |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
Ogre::String const & |
defaultValue = "" |
|
) |
| |
◆ getVector3()
| Ogre::Vector3 ConfigFile::getVector3 |
( |
Ogre::String const & |
key, |
|
|
Ogre::String const & |
section, |
|
|
Ogre::Vector3 const & |
defaultValue = Ogre::Vector3::ZERO |
|
) |
| |
◆ HasSection()
| bool ConfigFile::HasSection |
( |
std::string const & |
name | ) |
|
◆ HasSetting()
| bool ConfigFile::HasSetting |
( |
std::string const & |
section, |
|
|
std::string const & |
key |
|
) |
| |
◆ logMessage()
| void ConfigFile::logMessage |
( |
std::string const & |
msg | ) |
|
|
private |
◆ setLoggingInfo()
◆ SetString()
| void ConfigFile::SetString |
( |
Ogre::String |
key, |
|
|
Ogre::String |
value, |
|
|
Ogre::String |
section = Ogre::BLANKSTRING |
|
) |
| |
◆ m_log_area
◆ m_log_filename
| std::string RoR::ConfigFile::m_log_filename |
|
private |
The documentation for this class was generated from the following files: