Settings Class Reference

easily manage settings files and data More...

#include <Settings.h>

List of all members.

Public Member Functions

 ~Settings ()
 Destructor.
void setIntItem (const char *name, int val)
 Add or change a setting item.
void setDoubleItem (const char *name, double val)
void setStringItem (const char *name, char *val)
int getIntValue (const char *name_setting)
 Get the integer value of an item.
double getDoubleValue (const char *name_setting)
 Get the value of an item as a double.
char * getStringValue (const char *name_setting)
 Get the value of an item as a string.
void readXMLSettingsFile (const char *config_file)
 Load a settings file and create items.
void WriteXMLSettingsFile (const char *config_file)
 Write in a settings file.
void showConsole (void)
 Show all current settings on the console (useful for debug).

Friends

void initIrrsimple (void)
 init all - first function to call before calling the others


Detailed Description

easily manage settings files and data


Constructor & Destructor Documentation

Settings::~Settings  ) 
 

Destructor.


Member Function Documentation

double Settings::getDoubleValue const char *  name_setting  ) 
 

Get the value of an item as a double.

int Settings::getIntValue const char *  name_setting  ) 
 

Get the integer value of an item.

char * Settings::getStringValue const char *  name_setting  ) 
 

Get the value of an item as a string.

void Settings::readXMLSettingsFile const char *  config_file  ) 
 

Load a settings file and create items.

void Settings::setDoubleItem const char *  name,
double  val
 

void Settings::setIntItem const char *  name,
int  val
 

Add or change a setting item.

void Settings::setStringItem const char *  name,
char *  val
 

void Settings::showConsole void   ) 
 

Show all current settings on the console (useful for debug).

void Settings::WriteXMLSettingsFile const char *  config_file  ) 
 

Write in a settings file.


Friends And Related Function Documentation

void initIrrsimple void   )  [friend]
 

init all - first function to call before calling the others


The documentation for this class was generated from the following files:
Generated on Sun Aug 6 10:28:52 2006 for irrsimple by  doxygen 1.4.6-NO