HPCToolkit
|
#include <CCT-TreeIterator.hpp>
Public Types | |
enum | TraversalOrder { Unordered, PreOrder, PostOrder, ReversePreOrder, ReversePostOrder, PreAndPostOrder } |
Public Member Functions | |
ANodeIterator (const ANode *root, const ANodeFilter *filter=NULL, bool leavesOnly=false, TraversalOrder torder=PreOrder) | |
ANode * | current () const |
virtual NonUniformDegreeTreeNode * | Current () const |
virtual void | DumpAndReset (std::ostream &os=std::cerr) |
void | operator++ (int) |
void | operator++ () |
void | Reset () |
void | Reset (TraversalOrder torder, IterStackEnumType enumType=ITER_STACK_ENUM_ALL_NODES) |
void | ReConstruct (TraversalOrder torder, IterStackEnumType enumType=ITER_STACK_ENUM_ALL_NODES) |
bool | IsValid () const |
virtual TraversalVisitType | VisitType () const |
TraversalOrder | GetTraversalOrder () const |
virtual bool | IterationIsForward () const |
void | DumpUpCall () |
void | Dump () |
Protected Member Functions | |
void | Push (StackableIterator *) |
StackableIterator * | Top (void) const |
StackableIterator * | GetIteratorAtPosition (unsigned int depth) const |
void | FreeTop () |
int | Depth () const |
Protected Attributes | |
TraversalOrder | clientTraversalOrder |
IterStackEnumType | enumType |
Private Attributes | |
const ANodeFilter * | m_filter |
Definition at line 179 of file CCT-TreeIterator.hpp.
|
inherited |
Enumerator | |
---|---|
Unordered | |
PreOrder | |
PostOrder | |
ReversePreOrder | |
ReversePostOrder | |
PreAndPostOrder |
Definition at line 96 of file IteratorStack.hpp.
|
inline |
Definition at line 183 of file CCT-TreeIterator.hpp.
|
inline |
|
inlinevirtual |
Reimplemented from NonUniformDegreeTreeIterator.
Definition at line 201 of file CCT-TreeIterator.hpp.
|
protectedinherited |
Definition at line 250 of file IteratorStack.cpp.
|
inherited |
Definition at line 101 of file StackableIterator.cpp.
|
virtualinherited |
|
virtualinherited |
Reimplemented from StackableIterator.
Definition at line 296 of file IteratorStack.cpp.
|
protectedinherited |
Definition at line 256 of file IteratorStack.cpp.
|
protectedinherited |
Definition at line 98 of file IteratorStack.cpp.
|
inherited |
|
virtualinherited |
Reimplemented from StackableIterator.
Definition at line 195 of file IteratorStack.cpp.
|
virtualinherited |
|
inherited |
|
virtualinherited |
Implements StackableIterator.
Definition at line 119 of file IteratorStack.cpp.
|
protectedinherited |
Definition at line 104 of file IteratorStack.cpp.
|
inherited |
Definition at line 162 of file IteratorStack.cpp.
|
virtualinherited |
Implements StackableIterator.
Definition at line 170 of file IteratorStack.cpp.
|
inherited |
Definition at line 181 of file IteratorStack.cpp.
|
protectedinherited |
|
virtualinherited |
|
protectedinherited |
Definition at line 129 of file IteratorStack.hpp.
|
protectedinherited |
Definition at line 130 of file IteratorStack.hpp.
|
private |
Definition at line 215 of file CCT-TreeIterator.hpp.