DSL
Public Member Functions | List of all members
Universal_Config Class Reference

Public Member Functions

bool LoadConfig (const char *filename, DS_CONFIG_SECTION *Scan=NULL)
 
bool LoadConfig (FILE *fp, const char *filename, DS_CONFIG_SECTION *Scan=NULL)
 
bool LoadBinaryConfig (const char *filename)
 
bool LoadBinaryConfig (FILE *fp)
 
bool WriteConfig (const char *filename, DS_CONFIG_SECTION *Start=NULL, bool Single=false)
 
bool WriteConfig (FILE *fp, DS_CONFIG_SECTION *Start=NULL, bool Single=false)
 
bool WriteBinaryConfig (const char *filename, DS_CONFIG_SECTION *Start=NULL, bool Single=false)
 
bool WriteBinaryConfig (FILE *fp, DS_CONFIG_SECTION *Start=NULL, bool Single=false)
 
void FreeConfig ()
 
DS_CONFIG_SECTIONGetSection (DS_CONFIG_SECTION *parent, const char *name)
 
DS_VALUEGetSectionValue (DS_CONFIG_SECTION *sec, const char *name)
 
DS_VALUEGetValue (const char *sec, const char *name)
 
const char * GetValueString (const char *sec, const char *name)
 
int32 GetValueLong (const char *sec, const char *name)
 
double GetValueFloat (const char *sec, const char *name)
 
void SetValue (const char *sec, const char *name, DS_VALUE *val)
 
void SetValueString (const char *sec, const char *name, const char *val)
 
void SetValueLong (const char *sec, const char *name, int32 val)
 
void SetValueFloat (const char *sec, const char *name, double val)
 
DS_VALUESetSectionValue (DS_CONFIG_SECTION *sec, const char *name, DS_VALUE *val)
 
DS_CONFIG_SECTIONFindOrAddSection (DS_CONFIG_SECTION *parent, const char *name)
 
void ClearSection (DS_CONFIG_SECTION *Scan)
 
void PrintConfigTree ()
 

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