V-ART
|
Basic methods for reading XML files. More...
#include <xmlbase.h>
Classes | |
class | ErrorHandler |
Provides pretty errors messages for Xerces. More... | |
class | TempCString |
Class for auto conversion from Xerces strings to C strings. More... | |
class | XercesString |
Class for auto conversion from C strings to Xerces strings. More... | |
Protected Member Functions | |
XmlBase () | |
Creates an unitialized object. More... | |
bool | ParseFile (const std::string &fileName) |
Checks if the file comforms to DTD. More... | |
void | Terminate () |
Terminates Xerces objects. More... | |
Static Protected Member Functions | |
static bool | GetAttributeValue (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *nodePtr, const char itemName[], float *valuePtr) |
Gets an item value for certain node. More... | |
static bool | GetAttributeValue (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *nodePtr, const char itemName[], std::string *valuePtr) |
Gets an item value for certain node. More... | |
static bool | GetAttributeValue (XERCES_CPP_NAMESPACE::DOMNamedNodeMap *nodePtr, const char itemName[], bool *valuePtr) |
Gets an item value for certain node. More... | |
Protected Attributes | |
XERCES_CPP_NAMESPACE::XercesDOMParser * | parserPtr |
XERCES_CPP_NAMESPACE::DOMDocument * | documentPtr |
Basic methods for reading XML files.
FixMe: Put Detailed description here
|
protected |
Creates an unitialized object.
Definition at line 24 of file xmlbase.cpp.
|
staticprotected |
Gets an item value for certain node.
nodePtr | [in] node that holds the item |
itemName | [in] name of wanted item |
valuePtr | [out] value of wanted item |
Definition at line 136 of file xmlbase.cpp.
References VART::XmlBase::TempCString::GetValue().
|
staticprotected |
Gets an item value for certain node.
nodePtr | [in] node that holds the item |
itemName | [in] name of wanted item |
valuePtr | [out] value of wanted item |
|
staticprotected |
Gets an item value for certain node.
nodePtr | [in] node that holds the item |
itemName | [in] name of wanted item |
valuePtr | [out] value of wanted item |
Definition at line 153 of file xmlbase.cpp.
References VART::XmlBase::TempCString::GetValue().
|
protected |
Checks if the file comforms to DTD.
Definition at line 30 of file xmlbase.cpp.
References VART::XmlBase::ErrorHandler::getSawErrors().
|
protected |
Terminates Xerces objects.
Definition at line 125 of file xmlbase.cpp.
|
protected |
|
protected |