All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Static Public Member Functions | List of all members
LxS::System::Configuration Class Reference

Name-Type-Value database of configuration settings. More...

#include <configuration.hpp>

Collaboration diagram for LxS::System::Configuration:
Collaboration graph

Public Member Functions

void Save ()
 save configuration
const std::string & GetString (const std::string &name)
 use - GET_CONFIG_STRING(c) instead
void SetString (const std::string &name, std::string value)
 use - GET_CONFIG_STRING(c) instead
float GetFloat (const std::string &name)
 use - GET_CONFIG_FLOAT(c) instead
void SetFloat (const std::string &name, float value)
 use - SET_CONFIG_FLOAT(c,v) instead
bool GetBool (const std::string &name)
 use - GET_CONFIG_BOOL(c) instead
void SetBool (const std::string &name, bool value)
 use - SET_CONFIG_BOOL(c,v) instead

Static Public Member Functions

static ConfigurationGetInstance ()
 return singular global instance

Detailed Description

Name-Type-Value database of configuration settings.

as it is a global one-instance class, it's access is simplified by following macros:

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