LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TreeVisitor< ELEMENT, NODEINFO, PROCESSOR > Class Template Reference

#include <treevisitor.hxx>

Public Member Functions

 TreeVisitor (NODEINFO _nodeInfo)
 
void process (const ELEMENT &_root, PROCESSOR &_processor)
 

Private Member Functions

bool do_step ()
 

Private Attributes

bool m_visitedRoot
 
ELEMENT m_root
 
ELEMENT m_current
 
const NODEINFO m_nodeInfo
 
::std::stack< size_t > m_pathToCurrent
 
::std::stack< ELEMENTm_currentAncestors
 

Detailed Description

template<class ELEMENT, class NODEINFO, class PROCESSOR>
class TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >

Definition at line 26 of file treevisitor.hxx.

Constructor & Destructor Documentation

◆ TreeVisitor()

template<class ELEMENT , class NODEINFO , class PROCESSOR >
TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::TreeVisitor ( NODEINFO  _nodeInfo)
inline

Definition at line 29 of file treevisitor.hxx.

Member Function Documentation

◆ do_step()

template<class ELEMENT , class NODEINFO , class PROCESSOR >
bool TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::do_step
private

Definition at line 60 of file treevisitor.hxx.

References ELEMENT.

Referenced by TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::process().

◆ process()

template<class ELEMENT , class NODEINFO , class PROCESSOR >
void TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::process ( const ELEMENT _root,
PROCESSOR &  _processor 
)
inline

Member Data Documentation

◆ m_current

template<class ELEMENT , class NODEINFO , class PROCESSOR >
ELEMENT TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_current
private

◆ m_currentAncestors

template<class ELEMENT , class NODEINFO , class PROCESSOR >
::std::stack< ELEMENT > TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_currentAncestors
private

Definition at line 56 of file treevisitor.hxx.

◆ m_nodeInfo

template<class ELEMENT , class NODEINFO , class PROCESSOR >
const NODEINFO TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_nodeInfo
private

Definition at line 53 of file treevisitor.hxx.

◆ m_pathToCurrent

template<class ELEMENT , class NODEINFO , class PROCESSOR >
::std::stack< size_t > TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_pathToCurrent
private

Definition at line 55 of file treevisitor.hxx.

◆ m_root

template<class ELEMENT , class NODEINFO , class PROCESSOR >
ELEMENT TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_root
private

◆ m_visitedRoot

template<class ELEMENT , class NODEINFO , class PROCESSOR >
bool TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_visitedRoot
private

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