![]() |
VR-Vantage 3.0 API Documentation
|
Public Member Functions | |
| clXML (void) | |
| virtual | ~clXML (void) |
| clXML (const clXML &obj) | |
| clXML (const clXMLNode &obj) | |
| clXML | operator= (const clXML &obj) |
| bool | operator== (const clXML &obj) |
| bool | operator!= (const clXML &obj) |
| virtual clXMLNode * | paste (const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | cut (const char *byName) |
| virtual void | reset () |
| virtual bool | archive (const char *filepath) |
| virtual bool | serialize (const char *filepath) |
| virtual bool | loadFromString (const char *xmlString) |
| virtual char * | parse (char *XMLDocument) |
| virtual char * | updateDocument () |
| virtual char * | getXMLDocumentStr () |
| virtual clXMLNode * | insertElement (const clXMLNode &xmlElement, const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | insertElement (const clXML &xmlElement, const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | insertElement (const char *elementName, const int elementContent, const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | insertElement (const char *elementName, const double elementContent, const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | insertElement (const char *elementName, const char *elementContent=NULL, const char *priorTo=NULL, const char *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | insertElement (const std::string elementName, const std::string elementContent="", const std::string priorTo="", const std::string parentElement="", int childIdx=-1) |
| virtual clXMLNode * | addElement (const char *elementName, const char *elementContent=NULL, const char *parentElement=NULL) |
| addElement *! | |
| virtual clXMLNode * | addElement (const char *elementName, const int elementContent, const char *parentElement=NULL) |
| virtual clXMLNode * | addElement (const char *elementName, const double elementContent, const char *parentElement=NULL) |
| virtual clXMLNode * | addElement (const std::string elementName, const std::string elementContent="", const std::string parentElement="") |
| virtual clXMLNode * | addElement (const clXMLNode &xmlNode, const char *parentElement=NULL) |
| virtual clXMLNode * | addElement (const clXML &xmlElement, const char *parentElement=NULL) |
| virtual void | removeElement (const char *byName, bool searchChildren=true) |
| virtual void | removeElement (clXMLNode *byNode) |
| virtual clXMLNode * | findElement (const char *byName, bool searchChildren=true) |
| virtual bool | GetElementData (const char *byName, int &elementData) |
| virtual bool | GetElementData (const char *byName, bool &elementData) |
| virtual bool | GetElementData (const char *byName, double &elementData) |
| virtual bool | GetElementData (const char *byName, char *(&elementData)) |
| virtual bool | SetElementData (const char *byName, const int elementData) |
| virtual bool | SetElementData (const char *byName, const bool elementData) |
| virtual bool | SetElementData (const char *byName, const double elementData) |
| virtual bool | SetElementData (const char *byName, const char *elementData) |
| virtual clXML | findDocument (const char *byName, bool searchChildren=true) |
| virtual int | getNumTableEntries () const |
| virtual clXMLNode * | get (int idx) const |
| virtual clXMLNode * | getElement (int idx) |
| virtual bool | isEmpty () |
Protected Member Functions | |
| void | init () |
| void | destroy () |
| void | copy (clXML *targ, const clXML &src) |
| clXMLNode ** | createXMLTable () |
Protected Attributes | |
| clXMLNode ** | m_XMLDocument |
| int | m_numTableEntries |
| char * | m_XMLDocumentStr |
| clXMLNode * | m_clipboardDocument |
Private Member Functions | |
| virtual clXMLNode * | _insertElement (const clXMLNode &xmlNode, clXMLNode *priorTo=NULL, clXMLNode *parentElement=NULL, int childIdx=-1) |
| virtual clXMLNode * | _addElement (const clXMLNode &xmlNode, clXMLNode *parentElement=NULL) |
| virtual clXMLNode * | _addElement (const clXML &xmlElement, clXMLNode *parentElement=NULL) |
| virtual clXMLNode * | _insertElement (const clXML &xmlElement, clXMLNode *priorTo=NULL, clXMLNode *parentElement=NULL, int childIdx=-1) |
clXML class declaration
| clXML::clXML | ( | void | ) |
|
virtual |
| clXML::clXML | ( | const clXML & | obj | ) |
| clXML::clXML | ( | const clXMLNode & | obj | ) |
|
virtual |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| byName | - name of the element to cut. |
|
virtual |
|
virtual |
| filepath | - complete file path and name to write file to. |
|
virtual |
| filepath | - complete file path and name to read file from. |
|
virtual |
| xmlString | - string containing xml info |
|
virtual |
| XMLDocument | - character data stream to parse. |
|
virtual |
|
virtual |
returns XMLDocumentStr
|
privatevirtual |
| xmlNode | - new node element. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
privatevirtual |
| xmlNode | - XML node to insert into the XML table. |
| parentElement | - parent element of the new element. |
|
privatevirtual |
| xmlElement | - an XML elemet to be insterted. |
| parentElement | - parent element of the new element. |
|
privatevirtual |
| xmlElement | - an XML elemet to be insterted. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| xmlElement | - an XML elemet to be insterted. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| xmlElement | - an XML elemet to be insterted. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| priorTo | - element the new element will be inserted in front of. |
| parentElement | - parent element of the new element. |
| childIdx | - if the parent element is specified, the index to insert the child. |
|
virtual |
addElement *!
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| parentElement | - parent element of the new element. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| parentElement | - parent element of the new element. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| parentElement | - parent element of the new element. |
|
virtual |
| elementName | - name of the new element. |
| elementContent | - data content of the new element. |
| parentElement | - parent element of the new element. |
|
virtual |
| xmlNode | - XML node to insert into the XML table. |
| parentElement | - parent element of the new element. |
|
virtual |
| xmlElement | - an XML elemet to be insterted. |
| parentElement | - parent element of the new element. |
| byName | - name of the element node to remove. |
| searchChildren | - specifies the search to look in children nodes. |
| byNode | - pointer to the element node to remove. |
| byName | - name of the element being searched for. |
| searchChildren | - specifies the search to look in children nodes. |
| byName | - name of the element being searched for. |
| elementData | - data to get. |
| byName | - name of the element being searched for. |
| elementData | - data to get. |
|
virtual |
| byName | - name of the element being searched for. |
| elementData | - data to get. |
|
virtual |
| byName | - name of the element being searched for. |
| elementData | - data to get. |
| byName | - name of the element being searched for. |
| elementData | - data to set. |
| byName | - name of the element being searched for. |
| elementData | - data to set. |
|
virtual |
| byName | - name of the element being searched for. |
| elementData | - data to set. |
|
virtual |
| byName | - name of the element being searched for. |
| elementData | - data to set. |
| byName | - name of the element being searched for. |
| searchChildren | - specifies the search to look in children nodes. |
|
virtual |
| idx | - index of the desired node. |
| idx | - index of the desired node. |
|
virtual |
|
protected |
|
protected |
| targ | - target object to copy into. |
| src | - src object data. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |