![]() |
VR-Vantage 2.8 API Documentation
|
Public Member Functions | |
| clXMLNode (void) | |
| virtual | ~clXMLNode (void) |
| clXMLNode (const clXMLNode &obj) | |
| clXMLNode (const char *nodeName, const char *nodeData=NULL, clXMLNodeAttribute *nodeAtributeList=NULL, int nAttributes=0) | |
| clXMLNode & | operator= (const clXMLNode &obj) |
| virtual bool | GetNodeData (int &nodeData, const char *byName=NULL) |
| virtual bool | GetNodeData (bool &nodeData, const char *byName=NULL) |
| virtual bool | GetNodeData (double &nodeData, const char *byName=NULL) |
| virtual bool | GetNodeData (char *(&nodeData), const char *byName=NULL) |
| virtual bool | SetNodeData (const int nodeData, const char *byName=NULL) |
| virtual bool | SetNodeData (const bool nodeData, const char *byName=NULL) |
| virtual bool | SetNodeData (const double nodeData, const char *byName=NULL) |
| virtual bool | SetNodeData (const char *nodeData, const char *byName=NULL) |
| virtual char * | GetNodeAttribute (const char *byName) |
| virtual bool | GetNodeAttribute (char *(&attributeData), const char *byName) |
| virtual bool | GetNodeAttribute (int &attributeData, const char *byName) |
| virtual bool | GetNodeAttribute (bool &attributeData, const char *byName) |
| virtual bool | GetNodeAttribute (double &attributeData, const char *byName) |
| virtual void | SetNodeAttribute (char *attributeData, const char *byName) |
| virtual void | SetNodeAttribute (int attributeData, const char *byName) |
| virtual void | SetNodeAttribute (bool attributeData, const char *byName) |
| virtual void | SetNodeAttribute (double attributeData, const char *byName) |
| virtual void | reset () |
| virtual void | setProlog () |
| virtual char * | parse (char *XMLNodeString) |
| virtual char * | parseAttributes (char *XMLNodeAttributeString) |
| virtual void | setNodeName (const char *str) |
| virtual void | setNodeName (const std::string str) |
| virtual char * | getNodeName () |
| virtual std::string | getNodeNameStd () |
| virtual int | setNodeAttributes (clXMLNodeAttribute *nodeAttribute,...) |
| virtual int | addNodeAttribute (clXMLNodeAttribute nodeAttribute) |
| virtual int | addNodeAttribute (const char *attributeName, const char *attributeValue) |
| virtual int | addNodeAttribute (const char *attributeName, const int attributeValue) |
| virtual int | addNodeAttribute (const char *attributeName, const bool attributeValue) |
| virtual int | addNodeAttribute (const char *attributeName, const double attributeValue) |
| virtual clXMLNodeAttribute * | getNodeAttribute (const int idx) |
| virtual int | getNumberOfNodeAttributes () |
| virtual void | setNodeContent (const char *str) |
| virtual void | setNodeContent (const std::string str) |
| virtual void | setNodeContent (const int value) |
| virtual void | setNodeContent (const double value) |
| virtual char * | getNodeContent () |
| virtual std::string | getNodeContentStd () |
| virtual int | insertChild (const clXMLNode &child, int idx=-1, clXMLNode **added=NULL) |
| virtual int | addChild (const clXMLNode &child, clXMLNode **added=NULL) |
| virtual void | removeChild (const char *byName, bool searchChildren=true) |
| virtual void | removeChild (clXMLNode *byNode) |
| virtual void | removeChild (int idx) |
| virtual void | destroyChildren () |
| virtual bool | hasChildren () |
| virtual int | getNumberOfChildren () |
| virtual clXMLNode * | getChild (int idx) |
| virtual void | setDefaultIndent (const char defaultIndent= ' ') |
| virtual clXMLNode * | findChild (const char *byName, bool searchChildren=true) |
| virtual void | setParent (clXMLNode *parentNode) |
| virtual clXMLNode * | getParent () |
| virtual void | clearContent () |
| virtual bool | archive (ofstream &fout, const char *indent=NULL) |
| virtual char * | updateDocument (char *dataStream, const char *indent=NULL) |
| virtual bool | serialize (ifstream &fin, bool seekBegining=false) |
Static Public Member Functions | |
| static void | DestroySafeTextBuffer () |
| static char * | CvtXMLtoText (const char *str) |
| static char * | CvtTexttoXML (const char *str) |
Protected Member Functions | |
| void | init () |
| void | destroy () |
| void | copy (clXMLNode *targ, const clXMLNode &src) |
| clXMLNode ** | createChildren () |
| clXMLNodeAttribute ** | createAttributes () |
| void | destroyNodeAttributes () |
Protected Attributes | |
| char * | m_nodeName |
| clXMLNodeAttribute ** | m_nodeAttributes |
| int | m_numNodeAttributes |
| char * | m_nodeContent |
| clXMLNode ** | m_childrenNodes |
| int | m_numChildrenNodes |
| clXMLNode * | m_parentNode |
| char | m_defaultIndent [3] |
| bool | m_nodeIsProlog |
| char * | m_XMLToken |
Static Protected Attributes | |
| static char * | m_safeTextBuffer |
Friends | |
| char CLXML_API * | cvtXMLtoText (char *(&str)) |
| char CLXML_API * | cvtTexttoXML (char *(&str)) |
| clXMLNode::clXMLNode | ( | void | ) |
|
virtual |
| clXMLNode::clXMLNode | ( | const clXMLNode & | obj | ) |
| clXMLNode::clXMLNode | ( | const char * | nodeName, |
| const char * | nodeData = NULL, |
||
| clXMLNodeAttribute * | nodeAtributeList = NULL, |
||
| int | nAttributes = 0 |
||
| ) |
|
static |
| str | - string to convert. |
|
static |
| str | - string to convert. |
|
static |
| str | - string to convert. |
| nodeData | - data to get. |
| byName | - if specified, searches the node's children for the named data. |
| nodeData | - data to get. |
| byName | - if specified, searches the node's children for the named data. |
|
virtual |
| nodeData | - data to get. |
| byName | - if specified, searches the node's children for the named data. |
|
virtual |
| nodeData | - data to get. |
| byName | - if specified, searches the node's children for the named data. |
| nodeData | - data to set. |
| byName | - if specified, searches the node's children for the named data. |
| nodeData | - data to set. |
| byName | - if specified, searches the node's children for the named data. |
|
virtual |
| nodeData | - data to set. |
| byName | - if specified, searches the node's children for the named data. |
|
virtual |
| nodeData | - data to set. |
| byName | - if specified, searches the node's children for the named data. |
|
virtual |
| byName | - if specified, searches the node's attributes for the named data. |
|
virtual |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
|
virtual |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
|
virtual |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
|
virtual |
| attributeData | - data to get. |
| byName | - if specified, searches the node's attributes for the named data. |
|
virtual |
|
virtual |
|
virtual |
| XMLNodeString | - character data stream to parse. |
|
virtual |
| XMLNodeAttributeString | - character data stream to parse. |
|
virtual |
| str | - string to copy into the node's name. |
|
virtual |
| str | - string to copy into the node's name. |
|
virtual |
| str | - string to copy into the node's name. |
|
virtual |
| str | - string to copy into the node's name. |
|
virtual |
| nodeAttribute | - a node attribute object containing the name and value of the attribute. |
|
virtual |
| nodeAttribute | - a node attribute object containing the name and value of the attribute. |
|
virtual |
| attributeName | - name of the new attribute. |
| attributeValue | - value of the new attribute. |
|
virtual |
| attributeName | - name of the new attribute. |
| attributeValue | - value of the new attribute. |
|
virtual |
| attributeName | - name of the new attribute. |
| attributeValue | - value of the new attribute. |
|
virtual |
| attributeName | - name of the new attribute. |
| attributeValue | - value of the new attribute. |
|
virtual |
| idx | - index of the requested node attribute. |
|
virtual |
|
virtual |
| str | - string to copy into the node's content. |
|
virtual |
| str | - string to copy into the node's content. |
| value | - data to set to content. |
|
virtual |
| value | - data to set to content. |
|
virtual |
| str | - string to copy into the node's content. |
|
virtual |
| str | - string to copy into the node's content. |
|
virtual |
| child | - child XML node to insert into the node's child content. |
| idx | - indexed location of the new child. |
| added | - if specified as non-NULL, this is set to reference the newly-added node. |
| child | - child XML node to insert into the node's child content. |
| added | - if specified as non-NULL, this is set to reference the newly-added node. |
| byName | - name of the element node to remove. |
| searchChildren | - specifies the search to look in children nodes. |
| byNode | - pointer to the child node to remove. |
| idx | - index to the child node to remove. |
|
virtual |
|
virtual |
|
virtual |
| idx | - index of the child node. |
|
virtual |
| defaultIndent | - default indention character. |
| byName | - name of the element being searched for. |
| searchChildren | - specifies the search to look in possible children nodes. |
| parentNode | - pointer to the parent node. |
|
virtual |
|
virtual |
|
virtual |
| byNode | - pointer to the node of the element being searched for. |
| searchChildren | - specifies the search to look in possible children nodes. |
| fout | - file stream to write data to. |
| indent | - indent string. |
|
virtual |
| dataStream | - char stream to write data to. |
| indent | - indent string. |
| fin | - file stream to read data from. |
| seekBegining | - forces the serialization to begin at the begining of the file stream. |
|
protected |
|
protected |
| targ | - target object to copy into. |
| src | - src object data. |
|
protected |
|
protected |
|
protected |
|
friend |
| str | - string to convert. |
|
friend |
| str | - string to convert. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |