OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Config::SettingsBase< Map > Class Template Reference

#include <settingsbase.hpp>

Collaboration diagram for Config::SettingsBase< Map >:

Public Member Functions

 SettingsBase ()
 
 ~SettingsBase ()
 
QString value (const QString &key, const QString &defaultValue=QString()) const
 
void setValue (const QString &key, const QString &value)
 
void setMultiValue (const QString &key, const QString &value)
 
void setMultiValueEnabled (bool enable)
 
void remove (const QString &key)
 
Map getSettings () const
 
bool readFile (QTextStream &stream)
 
void clear ()
 

Private Attributes

Map mSettings
 
bool mMultiValue
 

Constructor & Destructor Documentation

template<class Map>
Config::SettingsBase< Map >::SettingsBase ( )
inline
template<class Map>
Config::SettingsBase< Map >::~SettingsBase ( )
inline

Member Function Documentation

template<class Map>
void Config::SettingsBase< Map >::clear ( )
inline
template<class Map>
Map Config::SettingsBase< Map >::getSettings ( ) const
inline

Here is the caller graph for this function:

template<class Map>
bool Config::SettingsBase< Map >::readFile ( QTextStream &  stream)
inline
template<class Map>
void Config::SettingsBase< Map >::remove ( const QString &  key)
inline
template<class Map>
void Config::SettingsBase< Map >::setMultiValue ( const QString &  key,
const QString &  value 
)
inline
template<class Map>
void Config::SettingsBase< Map >::setMultiValueEnabled ( bool  enable)
inline
template<class Map>
void Config::SettingsBase< Map >::setValue ( const QString &  key,
const QString &  value 
)
inline
template<class Map>
QString Config::SettingsBase< Map >::value ( const QString &  key,
const QString &  defaultValue = QString() 
) const
inline

Here is the caller graph for this function:

Member Data Documentation

template<class Map>
bool Config::SettingsBase< Map >::mMultiValue
private
template<class Map>
Map Config::SettingsBase< Map >::mSettings
private

The documentation for this class was generated from the following file: