Public Member Functions | Public Attributes

CConfigSection Class Reference

Inherits IConfigSection.

List of all members.

Public Member Functions

 CConfigSection (string sectioname)
string GetName ()
bool AddVar (string& varname, string& val)
bool DeleteVar (string& varname)
bool DeleteVar (string& varname, bool caseSensitive)
IConfigVarGetVar (string& varname)
IConfigVarGetVar (string& varname, bool caseSensitive)
void GetVars (array< string >& list)
bool SetVar (string& varname, string val)
bool VarExists (string& varname)
bool VarExists (string& varname, bool caseSensitive)

Public Attributes

string name
array< CConfigVar@> vars

Constructor & Destructor Documentation

CConfigSection ( string  sectioname  ) 

Member Function Documentation

string GetName (  ) 

Implements IConfigSection.

bool AddVar ( string varname,
string val 
)

Implements IConfigSection.

bool DeleteVar ( string varname  ) 

Implements IConfigSection.

bool DeleteVar ( string varname,
bool  caseSensitive 
)

Implements IConfigSection.

IConfigVar@ GetVar ( string varname  ) 

Implements IConfigSection.

IConfigVar@ GetVar ( string varname,
bool  caseSensitive 
)

Implements IConfigSection.

void GetVars ( array< string >&  list  ) 

Implements IConfigSection.

bool SetVar ( string varname,
string  val 
)

Implements IConfigSection.

bool VarExists ( string varname  ) 

Implements IConfigSection.

bool VarExists ( string varname,
bool  caseSensitive 
)

Implements IConfigSection.


Member Data Documentation

array<CConfigVar@> vars