|
HPCToolkit
|
#include <IteratorStack.hpp>


Public Types | |
| enum | TraversalOrder { Unordered, PreOrder, PostOrder, ReversePreOrder, ReversePostOrder, PreAndPostOrder } |
Public Member Functions | |
| IteratorStack (TraversalOrder torder, IterStackEnumType enumType=ITER_STACK_ENUM_ALL_NODES) | |
| ~IteratorStack () | |
| void * | CurrentUpCall () const |
| 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 | |
| virtual StackableIterator * | IteratorToPushIfAny (void *current)=0 |
| void | FreeStack (int maxDepth) |
| void | InitTraversal (TraversalOrder torder, IterStackEnumType enumType) |
Private Attributes | |
| struct IteratorStackS * | iteratorStackRepr |
| TraversalOrder | traversalOrder |
Definition at line 94 of file IteratorStack.hpp.
| Enumerator | |
|---|---|
| Unordered | |
| PreOrder | |
| PostOrder | |
| ReversePreOrder | |
| ReversePostOrder | |
| PreAndPostOrder | |
Definition at line 96 of file IteratorStack.hpp.
| IteratorStack::IteratorStack | ( | TraversalOrder | torder, |
| IterStackEnumType | enumType = ITER_STACK_ENUM_ALL_NODES |
||
| ) |
Definition at line 79 of file IteratorStack.cpp.
| IteratorStack::~IteratorStack | ( | ) |
Definition at line 87 of file IteratorStack.cpp.
|
virtual |
Implements StackableIterator.
Reimplemented in NonUniformDegreeTreeIterator.
Definition at line 188 of file IteratorStack.cpp.


|
protected |
Definition at line 250 of file IteratorStack.cpp.
|
inherited |
Definition at line 101 of file StackableIterator.cpp.


|
virtual |
Reimplemented from StackableIterator.
Definition at line 296 of file IteratorStack.cpp.

|
private |
Definition at line 267 of file IteratorStack.cpp.
|
protected |
Definition at line 256 of file IteratorStack.cpp.
|
protected |
Definition at line 98 of file IteratorStack.cpp.
| IteratorStack::TraversalOrder IteratorStack::GetTraversalOrder | ( | ) | const |
|
private |
Definition at line 275 of file IteratorStack.cpp.
|
virtual |
Reimplemented from StackableIterator.
Definition at line 195 of file IteratorStack.cpp.

|
virtual |
|
privatepure virtual |
Implemented in NonUniformDegreeTreeIterator.
| void IteratorStack::operator++ | ( | int | ) |
|
virtual |
Implements StackableIterator.
Definition at line 119 of file IteratorStack.cpp.
|
protected |
Definition at line 104 of file IteratorStack.cpp.


| void IteratorStack::ReConstruct | ( | TraversalOrder | torder, |
| IterStackEnumType | enumType = ITER_STACK_ENUM_ALL_NODES |
||
| ) |
Definition at line 162 of file IteratorStack.cpp.
|
virtual |
Implements StackableIterator.
Definition at line 170 of file IteratorStack.cpp.


| void IteratorStack::Reset | ( | TraversalOrder | torder, |
| IterStackEnumType | enumType = ITER_STACK_ENUM_ALL_NODES |
||
| ) |
Definition at line 181 of file IteratorStack.cpp.
|
protected |
|
virtual |
|
protected |
Definition at line 129 of file IteratorStack.hpp.
|
protected |
Definition at line 130 of file IteratorStack.hpp.
|
private |
Definition at line 145 of file IteratorStack.hpp.
|
private |
Definition at line 146 of file IteratorStack.hpp.