![]() |
Configuration Class Reference#include <Configuration.h>
Inheritance diagram for Configuration: ![]() ![]()
Detailed DescriptionFile ......... Configuration.h Published .... 2004-07-13 Author ....... grymse@alhem.net
Definition at line 29 of file Configuration.h. Constructor & Destructor Documentation
File ......... Configuration.cpp Published .... 2004-07-13 Author ....... grymse@alhem.net Definition at line 31 of file Configuration.cpp. 00032 :BaseXMLFile(filename, "", "configuration") 00033 { 00034 }
Member Function Documentation
Definition at line 42 of file Configuration.cpp. References BaseXMLFile::GetFirstElement(). Referenced by ServerHandler::GetBoolean(), ServerHandler::GetInt(), and ServerHandler::GetString(). 00043 { 00044 Parse pa(path,"/"); 00045 std::string ord = pa.getword(); 00046 std::string str = pa.getrest(); 00047 xmlNodePtr p = GetFirstElement(base,ord); 00048 if (p && str.size()) 00049 { 00050 return Find(p,str); 00051 } 00052 return p; 00053 }
The documentation for this class was generated from the following files: |