Openholo  v4.2
Open Source Digital Holographic Library
tinyxml2::XMLVisitor Class Reference

#include <tinyxml2.h>

Inheritance diagram for tinyxml2::XMLVisitor:

Public Member Functions

virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 
virtual ~XMLVisitor ()
 
virtual bool VisitEnter (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitExit (const XMLDocument &)
 Visit a document. More...
 
virtual bool VisitEnter (const XMLElement &, const XMLAttribute *)
 Visit an element. More...
 
virtual bool VisitExit (const XMLElement &)
 Visit an element. More...
 
virtual bool Visit (const XMLDeclaration &)
 Visit a declaration. More...
 
virtual bool Visit (const XMLText &)
 Visit a text node. More...
 
virtual bool Visit (const XMLComment &)
 Visit a comment node. More...
 
virtual bool Visit (const XMLUnknown &)
 Visit an unknown node. More...
 

Detailed Description

Implements the interface to the "Visitor pattern" (see the Accept() method.) If you call the Accept() method, it requires being passed a XMLVisitor class to handle callbacks. For nodes that contain other nodes (Document, Element) you will get called with a VisitEnter/VisitExit pair. Nodes that are always leafs are simply called with Visit().

If you return 'true' from a Visit method, recursive parsing will continue. If you return false, no children of this node or its siblings will be visited.

All flavors of Visit methods have a default implementation that returns 'true' (continue visiting). You need to only override methods that are interesting to you.

Generally Accept() is called on the XMLDocument, although all nodes support visiting.

You should never change the document from a callback.

See also
XMLNode::Accept()

Definition at line 479 of file tinyxml2.h.

Constructor & Destructor Documentation

◆ ~XMLVisitor() [1/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [2/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [3/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [4/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [5/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [6/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [7/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

◆ ~XMLVisitor() [8/8]

virtual tinyxml2::XMLVisitor::~XMLVisitor ( )
inlinevirtual

Definition at line 482 of file tinyxml2.h.

Member Function Documentation

◆ Visit() [1/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [2/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [3/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [4/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [5/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [6/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [7/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [8/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLDeclaration )
inlinevirtual

◆ Visit() [9/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [10/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [11/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [12/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [13/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [14/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [15/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [16/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLText )
inlinevirtual

◆ Visit() [17/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [18/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [19/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [20/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [21/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [22/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [23/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [24/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLComment )
inlinevirtual

◆ Visit() [25/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [26/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [27/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [28/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [29/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [30/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [31/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ Visit() [32/32]

virtual bool tinyxml2::XMLVisitor::Visit ( const XMLUnknown )
inlinevirtual

◆ VisitEnter() [1/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [2/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [3/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [4/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [5/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [6/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [7/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [8/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLDocument )
inlinevirtual

◆ VisitEnter() [9/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [10/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [11/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [12/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [13/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [14/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [15/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitEnter() [16/16]

virtual bool tinyxml2::XMLVisitor::VisitEnter ( const XMLElement ,
const XMLAttribute  
)
inlinevirtual

◆ VisitExit() [1/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [2/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [3/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [4/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [5/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [6/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [7/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [8/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLDocument )
inlinevirtual

◆ VisitExit() [9/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [10/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [11/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [12/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [13/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [14/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [15/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

◆ VisitExit() [16/16]

virtual bool tinyxml2::XMLVisitor::VisitExit ( const XMLElement )
inlinevirtual

The documentation for this class was generated from the following file: