HPCToolkit
|
#include <NonUniformDegreeTree.hpp>
Public Types | |
enum | TraversalOrder { Unordered, PreOrder, PostOrder, ReversePreOrder, ReversePostOrder, PreAndPostOrder } |
Public Member Functions | |
NonUniformDegreeTreeIterator (const NonUniformDegreeTreeNode *root, TraversalOrder torder=PreOrder, NonUniformDegreeTreeEnumType how=NON_UNIFORM_DEGREE_TREE_ENUM_ALL_NODES) | |
~NonUniformDegreeTreeIterator () | |
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 Member Functions | |
void * | CurrentUpCall () const |
StackableIterator * | IteratorToPushIfAny (void *current) |
Definition at line 312 of file NonUniformDegreeTree.hpp.
|
inherited |
Enumerator | |
---|---|
Unordered | |
PreOrder | |
PostOrder | |
ReversePreOrder | |
ReversePostOrder | |
PreAndPostOrder |
Definition at line 96 of file IteratorStack.hpp.
NonUniformDegreeTreeIterator::NonUniformDegreeTreeIterator | ( | const NonUniformDegreeTreeNode * | root, |
TraversalOrder | torder = PreOrder , |
||
NonUniformDegreeTreeEnumType | how = NON_UNIFORM_DEGREE_TREE_ENUM_ALL_NODES |
||
) |
|
inline |
Definition at line 318 of file NonUniformDegreeTree.hpp.
|
inlinevirtual |
Reimplemented in Prof::Struct::ANodeIterator, and Prof::CCT::ANodeIterator.
Definition at line 324 of file NonUniformDegreeTree.hpp.
|
inlineprivatevirtual |
Reimplemented from IteratorStack.
Definition at line 334 of file NonUniformDegreeTree.hpp.
|
protectedinherited |
Definition at line 250 of file IteratorStack.cpp.
|
inherited |
Definition at line 101 of file StackableIterator.cpp.
|
virtual |
|
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 |
|
privatevirtual |
Implements IteratorStack.
Definition at line 260 of file NonUniformDegreeTree.cpp.
|
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.