OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Settings::SettingsFileParser Class Reference
Collaboration diagram for Settings::SettingsFileParser:

Public Member Functions

 SettingsFileParser ()
 
void loadSettingsFile (const std::string &file, CategorySettingValueMap &settings)
 
void saveSettingsFile (const std::string &file, CategorySettingValueMap &settings)
 

Private Member Functions

bool skipWhiteSpace (size_t &i, std::string &str)
 
void fail (const std::string &message)
 

Private Attributes

std::string mFile
 
int mLine
 

Constructor & Destructor Documentation

Settings::SettingsFileParser::SettingsFileParser ( )
inline

Member Function Documentation

void Settings::SettingsFileParser::fail ( const std::string &  message)
inlineprivate

Here is the call graph for this function:

Here is the caller graph for this function:

void Settings::SettingsFileParser::loadSettingsFile ( const std::string &  file,
CategorySettingValueMap settings 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

void Settings::SettingsFileParser::saveSettingsFile ( const std::string &  file,
CategorySettingValueMap settings 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

bool Settings::SettingsFileParser::skipWhiteSpace ( size_t &  i,
std::string &  str 
)
inlineprivate

Increment i until it longer points to a whitespace character in the string or has reached the end of the string.

Returns
false if we have reached the end of the string

Here is the caller graph for this function:

Member Data Documentation

std::string Settings::SettingsFileParser::mFile
private
int Settings::SettingsFileParser::mLine
private

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