41 Ogre::ColourValue
getColourValue(Ogre::String
const& key, Ogre::ColourValue
const& defaultValue = Ogre::ColourValue())
41 Ogre::ColourValue
getColourValue(Ogre::String
const& key, Ogre::ColourValue
const& defaultValue = Ogre::ColourValue()) {
…}
46 Ogre::ColourValue
getColourValue(Ogre::String
const& key, Ogre::String
const& section, Ogre::ColourValue
const& defaultValue = Ogre::ColourValue());
48 Ogre::Vector3
getVector3(Ogre::String
const& key, Ogre::String
const& section, Ogre::Vector3
const& defaultValue = Ogre::Vector3::ZERO);
50 float getFloat(Ogre::String
const& key,
float defaultValue = 0.f)
52 return this->
getFloat(key, Ogre::BLANKSTRING, defaultValue);
50 float getFloat(Ogre::String
const& key,
float defaultValue = 0.f) {
…}
55 float getFloat(Ogre::String
const& key, Ogre::String
const& section,
float defaultValue = 0.f);
57 bool getBool(Ogre::String
const& key,
bool defaultValue =
false)
59 return this->
getBool(key, Ogre::BLANKSTRING, defaultValue);
57 bool getBool(Ogre::String
const& key,
bool defaultValue =
false) {
…}
62 bool getBool(Ogre::String
const& key, Ogre::String
const& section,
bool defaultValue =
false);
64 int getInt(Ogre::String
const& key,
int defaultValue = 0)
66 return this->
getInt(key, Ogre::BLANKSTRING, defaultValue);
64 int getInt(Ogre::String
const& key,
int defaultValue = 0) {
…}
69 int getInt(Ogre::String
const& key, Ogre::String
const& section,
int defaultValue = 0);
71 Ogre::String
getString(Ogre::String
const& key, Ogre::String
const& section, Ogre::String
const& defaultValue =
"");
73 void SetString(Ogre::String key, Ogre::String value, Ogre::String section = Ogre::BLANKSTRING);
76 bool HasSetting(std::string
const& section, std::string
const& key);
87 Ogre::String
getSetting(Ogre::String, Ogre::String, Ogre::String);
Adds direct parsing of custom types.
Ogre::String getSetting(Ogre::String, Ogre::String)
Ogre::String getSetting(Ogre::String, Ogre::String, Ogre::String)
bool getBool(Ogre::String const &key, bool defaultValue=false)
float getFloat(Ogre::String const &key, float defaultValue=0.f)
void logMessage(std::string const &msg)
bool HasSection(std::string const &name)
std::string m_log_filename
void SetString(Ogre::String key, Ogre::String value, Ogre::String section=Ogre::BLANKSTRING)
Ogre::String getString(Ogre::String const &key, Ogre::String const §ion, Ogre::String const &defaultValue="")
Ogre::Vector3 getVector3(Ogre::String const &key, Ogre::String const §ion, Ogre::Vector3 const &defaultValue=Ogre::Vector3::ZERO)
int getInt(Ogre::String const &key, int defaultValue=0)
void setLoggingInfo(std::string const &filename, Console::MessageArea area)
Ogre::ColourValue getColourValue(Ogre::String const &key, Ogre::ColourValue const &defaultValue=Ogre::ColourValue())
Console::MessageArea m_log_area
bool HasSetting(std::string const §ion, std::string const &key)
@ CONSOLE_MSGTYPE_INFO
Generic message.