#include <CFG.hpp>


Public Member Functions | |
| NodeStatementsIterator (const Node &node) | |
| ~NodeStatementsIterator () | |
| void | operator++ () |
| void | operator++ (int) |
| bool | isValid () const |
| returns true if we are not past the end of the list | |
| StmtHandle | current () const |
| returns the statement handle that the iterator is currently pointing | |
| void | reset () |
Private Attributes | |
| OA_ptr< std::list< StmtHandle > > | mList |
| std::list< StmtHandle >::iterator | mIter |
An iterator for the statements in a node.
Definition at line 546 of file CFG.hpp.
| OA::CFG::NodeStatementsIterator::NodeStatementsIterator | ( | const Node & | node | ) | [inline] |
Definition at line 549 of file CFG.hpp.
References mIter, mList, and OA::CFG::Node::mStmt_list.
| OA::CFG::NodeStatementsIterator::~NodeStatementsIterator | ( | ) | [inline] |
| StmtHandle OA::CFG::NodeStatementsIterator::current | ( | ) | const [virtual] |
returns the statement handle that the iterator is currently pointing
Implements OA::StmtHandleIterator.
Definition at line 599 of file CFG.cpp.
References mIter.
Referenced by OA::CFG::ManagerCFGStandard::createBasicCFG(), and OA::CFG::Node::output().
| bool OA::CFG::NodeStatementsIterator::isValid | ( | ) | const [virtual] |
returns true if we are not past the end of the list
Implements OA::StmtHandleIterator.
Definition at line 593 of file CFG.cpp.
Referenced by OA::CFG::ManagerCFGStandard::createBasicCFG(), and OA::CFG::Node::output().
| void OA::CFG::NodeStatementsIterator::operator++ | ( | int | ) |
Reimplemented from OA::StmtHandleIterator.
| void OA::CFG::NodeStatementsIterator::operator++ | ( | ) | [virtual] |
Implements OA::StmtHandleIterator.
| void OA::CFG::NodeStatementsIterator::reset | ( | ) | [virtual] |
Implements OA::StmtHandleIterator.
std::list<StmtHandle>::iterator OA::CFG::NodeStatementsIterator::mIter [private] |
Definition at line 563 of file CFG.hpp.
Referenced by current(), isValid(), and NodeStatementsIterator().
OA_ptr<std::list<StmtHandle> > OA::CFG::NodeStatementsIterator::mList [private] |
Definition at line 562 of file CFG.hpp.
Referenced by isValid(), and NodeStatementsIterator().
1.7.1