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

Public Member Functions

bool LoadConfigFromString (const string config, const char *filename, ConfigSection *Scan=NULL)
 
bool LoadConfigFromFile (const char *filename, ConfigSection *Scan=NULL)
 
bool LoadConfigFromFile (FILE *fp, const char *filename, ConfigSection *Scan=NULL)
 
bool WriteConfigToString (string &str, ConfigSection *Start=NULL, bool Single=false)
 
bool WriteConfigToFile (const char *filename, ConfigSection *Start=NULL, bool Single=false)
 
bool WriteConfigToFile (FILE *fp, ConfigSection *Start=NULL, bool Single=false)
 
void FreeConfig ()
 
ConfigSectionGetSection (ConfigSection *parent, const char *name)
 
ConfigValue GetSectionValue (ConfigSection *sec, const char *name)
 
bool GetSectionValue (ConfigSection *sec, const char *name, ConfigValue &value)
 
bool SectionHasValue (ConfigSection *sec, const char *name)
 
void SetSectionValue (ConfigSection *sec, const char *name, const ConfigValue &val)
 
ConfigSectionFindOrAddSection (ConfigSection *parent, const char *name)
 
void ClearSection (ConfigSection *Scan)
 
void PrintConfigTree ()
 

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