VoiceMan
Public Member Functions | List of all members
VoicemanConfigFile Class Reference
Inheritance diagram for VoicemanConfigFile:
ConfigFile

Public Member Functions

int params (const std::string &section, const std::string &param) const
 
- Public Member Functions inherited from ConfigFile
void checkParams () const
 Checks values type matching. More...
 
 ConfigFile ()
 The default constructor.
 
const ConfigFileSectionfindSection (const std::string &name) const
 Returns the reference to the section object by the section name. More...
 
const ConfigFileSectiongetSection (ConfigFileSectionVector::size_type index) const
 Returns the reference to the section object by the section index. More...
 
ConfigFileSectionVector::size_type getSectionCount () const
 Returns the number of read sections. More...
 
bool hasSection (const std::string &name) const
 Checks if the specified section is accessible. More...
 
void load (const std::string &fileName)
 Loads configuration file content. More...
 
virtual ~ConfigFile ()
 The destructor.
 

Additional Inherited Members

- Protected Types inherited from ConfigFile
enum  {
  AnyValue = -1, InvalidValue = 0, BooleanValue = 1, StringValue = 2,
  IntValue = 3, UintValue = 4, DoubleValue = 5
}