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

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

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().

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

Member Data Documentation

template<class ELEMENT , class NODEINFO , class PROCESSOR >
ELEMENT TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_current
private
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.

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

Definition at line 53 of file treevisitor.hxx.

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.

template<class ELEMENT , class NODEINFO , class PROCESSOR >
ELEMENT TreeVisitor< ELEMENT, NODEINFO, PROCESSOR >::m_root
private
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: