XMLConfig Class Reference
[Server]
#include <XMLConfig.hh>
Detailed Description
XML parserPublic Member Functions | |
| XMLConfig () | |
| ~XMLConfig () | |
| int | Load (std::string filename) |
| int | LoadString (std::string str) |
| int | Save (std::string filename) |
| XMLConfigNode * | GetRootNode () const |
Public Attributes | |
| std::string | filename |
Constructor & Destructor Documentation
| XMLConfig | ( | ) |
Constructor
| ~XMLConfig | ( | ) |
Destructor
Member Function Documentation
| int Load | ( | std::string | filename | ) |
Load config from an XML file
| int LoadString | ( | std::string | str | ) |
Load config from an XML string
| int Save | ( | std::string | filename | ) |
Save config back into file Set filename to NULL to save back into the original file
| XMLConfigNode* GetRootNode | ( | ) | const |
Get the root node
Member Data Documentation
| std::string filename |
File name
The documentation for this class was generated from the following file: