Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
pugi::xml_tree_walker Class Referenceabstract

#include <pugixml.hpp>

Public Member Functions

 xml_tree_walker ()
virtual ~xml_tree_walker ()
virtual bool begin (xml_node &node)
virtual bool for_each (xml_node &node)=0
virtual bool end (xml_node &node)

Protected Member Functions

int depth () const

Friends

class xml_node

Detailed Description

Definition at line 954 of file pugixml.hpp.

Constructor & Destructor Documentation

◆ xml_tree_walker()

PUGI__FN pugi::xml_tree_walker::xml_tree_walker ( )

Definition at line 5131 of file pugixml.cc.

5131 : _depth(0)
5132 {
5133 }

Referenced by xml_node.

◆ ~xml_tree_walker()

PUGI__FN pugi::xml_tree_walker::~xml_tree_walker ( )
virtual

Definition at line 5135 of file pugixml.cc.

5136 {
5137 }

Member Function Documentation

◆ begin()

PUGI__FN bool pugi::xml_tree_walker::begin ( xml_node & node)
virtual

Definition at line 5144 of file pugixml.cc.

5145 {
5146 return true;
5147 }

Referenced by pugi::xml_node::traverse(), and xml_node.

◆ depth()

PUGI__FN int pugi::xml_tree_walker::depth ( ) const
protected

Definition at line 5139 of file pugixml.cc.

5140 {
5141 return _depth;
5142 }

Referenced by xml_node.

◆ end()

PUGI__FN bool pugi::xml_tree_walker::end ( xml_node & node)
virtual

Definition at line 5149 of file pugixml.cc.

5150 {
5151 return true;
5152 }

Referenced by for_each(), and pugi::xml_node::traverse().

◆ for_each()

virtual bool pugi::xml_tree_walker::for_each ( xml_node & node)
pure virtual

◆ xml_node

friend class xml_node
friend

Definition at line 956 of file pugixml.hpp.

Referenced by begin(), end(), for_each(), and xml_node.


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