#include <mrprjContent.h>
Collaboration diagram for mrprj::XmlNodeReader:
Public Methods | |
XmlNodeReader () | |
constructor for the class XmlNodeReader | |
~XmlNodeReader () | |
destructor for the class XmlNodeReader | |
bool | getStringProperty (const xmlDocPtr xmlDoc, const xmlNodePtr pPropertyNode, const string &pPropertySigner, string &pPropertyValue) |
for reading an xmlNode-property if it's defined | |
bool | getIntProperty (const xmlDocPtr xmlDoc, const xmlNodePtr pPropertyNode, const string &pPropertySigner, int &pPropertyValue) |
for reading an int-xmlNode-property if it's defined inside of the xmlNode | |
bool | getLongProperty (const xmlDocPtr xmlDoc, const xmlNodePtr pPropertyNode, const string &pPropertySigner, long &pPropertyValue) |
for reading a long-xmlNode-property if it's defined inside of the xmlNode | |
bool | getFloatProperty (const xmlDocPtr xmlDoc, const xmlNodePtr pPropertyNode, const string &pPropertySigner, float &pPropertyValue) |
for reading a float-xmlNode-property if it's defined inside of the xmlNode |
Instances of this class are able to read the utf8-encoded strings of an xmlNode (of the libxml) and to covert those strings to iso-latin-1-strings
Definition at line 83 of file mrprjContent.h.
|
constructor for the class XmlNodeReader
needs nothing, does nothing Definition at line 146 of file mrprjContent.cc. |
|
destructor for the class XmlNodeReader
needs nothing, does nothing Definition at line 155 of file mrprjContent.cc. |
|
for reading a float-xmlNode-property if it's defined inside of the xmlNode
using the method getStringProperty this method returns the property-content as int-value
Definition at line 182 of file mrprjContent.h. References getStringProperty(). |
|
for reading an int-xmlNode-property if it's defined inside of the xmlNode
using the method getStringProperty this method returns the property-content as int-value
Definition at line 125 of file mrprjContent.h. References getStringProperty(). Referenced by mrprj::Task::fillTaskSubStructureByMrPrjXmlTaskNodes(). |
|
for reading a long-xmlNode-property if it's defined inside of the xmlNode
using the method getStringProperty this method returns the property-content as int-value
Definition at line 153 of file mrprjContent.h. References getStringProperty(). |
|
for reading an xmlNode-property if it's defined
(1) reads the content of an xmlNode-Property. (2) reencodes that utf8-string using a special libxml-function for getting the corresponding xml-encoded content. (3) decodes that xml-encoded content as iso-latin-1 string
Definition at line 175 of file mrprjContent.cc. Referenced by mrprj::TaskField::fillTaskFieldByMrPrjXmlFileContent(), mrprj::Task::fillTaskSubStructureByMrPrjXmlTaskNodes(), getFloatProperty(), getIntProperty(), and getLongProperty(). |