ROSE
0.9.6a
|
#include <VirtualCFGIterator.h>
Classes | |
class | checkpoint |
Public Member Functions | |
iterator () | |
iterator (const DataflowNode &start) | |
virtual | ~iterator () |
void | init (const DataflowNode &start) |
virtual void | operator++ (int) |
bool | eq (const iterator &other_it) const |
bool | operator== (const iterator &other_it) const |
bool | operator!= (const iterator &it) const |
DataflowNode & | operator* () |
checkpoint | getChkpt () |
void | restartFromChkpt (checkpoint &chkpt) |
std::string | str (std::string indent="") |
Static Public Member Functions | |
static iterator | begin (DataflowNode n) |
static iterator | end () |
Public Attributes | |
std::list< DataflowNode > | remainingNodes |
std::set< DataflowNode > | visited |
bool | initialized |
Protected Member Functions | |
bool | isRemaining (DataflowNode n) |
void | advance (bool fwDir, bool pushAllChildren) |
Definition at line 16 of file VirtualCFGIterator.h.
VirtualCFG::iterator::iterator | ( | ) |
VirtualCFG::iterator::iterator | ( | const DataflowNode & | start) |
|
inlinevirtual |
Definition at line 30 of file VirtualCFGIterator.h.
void VirtualCFG::iterator::init | ( | const DataflowNode & | start) |
|
protected |
|
protected |
|
virtual |
Reimplemented in VirtualCFG::back_dataflow, and VirtualCFG::back_iterator.
bool VirtualCFG::iterator::eq | ( | const iterator & | other_it) | const |
bool VirtualCFG::iterator::operator== | ( | const iterator & | other_it) | const |
bool VirtualCFG::iterator::operator!= | ( | const iterator & | it) | const |
DataflowNode& VirtualCFG::iterator::operator* | ( | ) |
|
static |
Referenced by SgGraphTraversal< CFG >::bfsTraversePath(), and SgGraphTraversal< CFG >::uTraversePath().
|
static |
checkpoint VirtualCFG::iterator::getChkpt | ( | ) |
void VirtualCFG::iterator::restartFromChkpt | ( | checkpoint & | chkpt) |
std::string VirtualCFG::iterator::str | ( | std::string | indent = "" ) |
std::list<DataflowNode> VirtualCFG::iterator::remainingNodes |
Definition at line 21 of file VirtualCFGIterator.h.
std::set<DataflowNode> VirtualCFG::iterator::visited |
Definition at line 23 of file VirtualCFGIterator.h.
bool VirtualCFG::iterator::initialized |
Definition at line 24 of file VirtualCFGIterator.h.