FindTypedNodeVisitor< T > Class Template Reference

Finds a node of type T and stops as soon as it found it. More...

#include <FindNodeVisitor.h>

List of all members.

Public Member Functions

 FindTypedNodeVisitor (TraversalMode tm=TRAVERSE_ALL_CHILDREN)
virtual void reset ()
virtual void apply (T &node)

Public Attributes

T * pResult


Detailed Description

template<class T>
class FindTypedNodeVisitor< T >

Finds a node of type T and stops as soon as it found it.

To reuse this visitor, you must reset its traversal mode, and you may clear pResult to NULL.

Definition at line 69 of file FindNodeVisitor.h.


Constructor & Destructor Documentation

template<class T>
FindTypedNodeVisitor< T >::FindTypedNodeVisitor ( TraversalMode  tm = TRAVERSE_ALL_CHILDREN  )  [inline]

Definition at line 71 of file FindNodeVisitor.h.


Member Function Documentation

template<class T>
virtual void FindTypedNodeVisitor< T >::apply ( T &  node  )  [inline, virtual]

Definition at line 74 of file FindNodeVisitor.h.

References FindTypedNodeVisitor< T >::pResult.

template<class T>
virtual void FindTypedNodeVisitor< T >::reset (  )  [inline, virtual]

Definition at line 72 of file FindNodeVisitor.h.

References FindTypedNodeVisitor< T >::pResult.


Member Data Documentation

template<class T>
T* FindTypedNodeVisitor< T >::pResult


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

Generated on Sun Jan 17 11:39:28 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9