#include <nodevisitor.h>
Inheritance diagram for CollectVisitor:
Public Types | |
typedef CollectVisitor< _TContent, _TIter, _TContainer > | _Self |
typedef NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > > | _Base |
Public Methods | |
CollectVisitor () | |
virtual _Self * | construct () const |
virtual _Self * | clone () const |
virtual void | operator() (_TIter &iter) |
Start the collection process. | |
virtual void | visitNormalNode (NormalNode< _TContent > *node) |
Take a NormalNode and put it in the list. | |
virtual void | visitRootNode (RootNode< _TContent > *node) |
Take a RootNode and put its subtree in the list. | |
virtual _TContainer | getCollected () |
Protected Methods | |
CollectVisitor (const CollectVisitor &cv) | |
void | addNode (Node< _TContent > *node) |
Take a Node and put it in the list. | |
Protected Attributes | |
_TContainer | m_container |
Definition at line 210 of file nodevisitor.h.
|
Reimplemented from NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >. Definition at line 216 of file nodevisitor.h. |
|
Reimplemented from NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >. Definition at line 214 of file nodevisitor.h. Referenced by CollectVisitor::clone(), and CollectVisitor::construct(). |
|
Definition at line 219 of file nodevisitor.h. |
|
Definition at line 230 of file nodevisitor.h. |
|
Take a Node and put it in the list.
Definition at line 482 of file nodevisitor.h. References CollectVisitor::m_container. Referenced by CollectVisitor::visitNormalNode(), and CollectVisitor::visitRootNode(). |
|
Definition at line 221 of file nodevisitor.h. References CollectVisitor::_Self. |
|
Definition at line 220 of file nodevisitor.h. References CollectVisitor::_Self. |
|
Definition at line 227 of file nodevisitor.h. References CollectVisitor::m_container. |
|
Start the collection process.
Implements NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >. Definition at line 450 of file nodevisitor.h. References NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >::init(), NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >::iterate(), and CollectVisitor::m_container. |
|
Take a NormalNode and put it in the list.
Implements NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >. Definition at line 462 of file nodevisitor.h. References CollectVisitor::addNode(). |
|
Take a RootNode and put its subtree in the list.
Implements NodeVisitor< _TIter, Node< _TContent >, NormalNode< _TContent >, RootNode< _TContent > >. Definition at line 472 of file nodevisitor.h. References CollectVisitor::addNode(). |
|
Definition at line 233 of file nodevisitor.h. Referenced by CollectVisitor::addNode(), CollectVisitor::getCollected(), and CollectVisitor::operator()(). |