Xml Scol plugin
|
#include <tinyxml2.h>
Protected Member Functions | |
XMLUnknown (XMLDocument *doc) | |
XMLUnknown (const XMLUnknown &) | |
XMLUnknown & | operator= (const XMLUnknown &) |
Protected Member Functions inherited from tinyxml2::XMLNode | |
XMLNode (XMLDocument *) | |
XMLNode (const XMLNode &) | |
XMLNode & | operator= (const XMLNode &) |
Friends | |
class | XMLDocument |
Additional Inherited Members | |
Protected Attributes inherited from tinyxml2::XMLNode | |
XMLDocument * | _document |
XMLNode * | _parent |
StrPair | _value |
XMLNode * | _firstChild |
XMLNode * | _lastChild |
XMLNode * | _prev |
XMLNode * | _next |
Detailed Description
Any tag that tinyXml doesn't recognize is saved as an unknown. It is a tag of text, but should not be modified. It will be written back to the XML, unchanged, when the file is saved.
DTD tags get thrown into TiXmlUnknowns.
Definition at line 898 of file tinyxml2.h.
Constructor & Destructor Documentation
◆ XMLUnknown()
|
protected |
Definition at line 998 of file tinyxml2.cpp.
◆ ~XMLUnknown()
|
protectedvirtual |
Definition at line 1003 of file tinyxml2.cpp.
Member Function Documentation
◆ Accept()
|
virtual |
Accept a hierarchical visit of the nodes in the TinyXML DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the TiXmlVisitor interface.
This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML is unchanged by using this interface versus any other.)
The interface has been based on ideas from:
Which are both good references for "visiting".
An example of using Accept():
TiXmlPrinter printer; tinyxmlDoc.Accept( &printer ); const char* xmlcstr = printer.CStr();
Implements tinyxml2::XMLNode.
Definition at line 1037 of file tinyxml2.cpp.
◆ ParseDeep()
Reimplemented from tinyxml2::XMLNode.
Definition at line 1008 of file tinyxml2.cpp.
◆ ShallowClone()
|
virtual |
Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this->GetDocument())
Note: if called on a XMLDocument, this will return null.
Implements tinyxml2::XMLNode.
Definition at line 1021 of file tinyxml2.cpp.
◆ ShallowEqual()
Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.
Note: if called on a XMLDocument, this will return false.
Implements tinyxml2::XMLNode.
Definition at line 1031 of file tinyxml2.cpp.
◆ ToUnknown() [1/2]
|
inlinevirtual |
Safely cast to an Unknown, or null.
Reimplemented from tinyxml2::XMLNode.
Definition at line 902 of file tinyxml2.h.
◆ ToUnknown() [2/2]
|
inlinevirtual |
Reimplemented from tinyxml2::XMLNode.
Definition at line 905 of file tinyxml2.h.
Friends And Related Symbol Documentation
◆ XMLDocument
|
friend |
Definition at line 900 of file tinyxml2.h.
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/sXml/include/tinyxml2.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/sXml/src/tinyxml2.cpp
Generated by 1.9.8