OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Open64IRStmtIterator Class Reference

Enumerate all the statements in a program. More...

#include <Open64IRInterface.hpp>

Inheritance diagram for Open64IRStmtIterator:
Inheritance graph
Collaboration diagram for Open64IRStmtIterator:
Collaboration graph

Public Member Functions

 Open64IRStmtIterator (OA::ProcHandle h)
 
 Open64IRStmtIterator ()
 
virtual ~Open64IRStmtIterator ()
 
virtual OA::StmtHandle current () const
 
virtual bool isValid () const
 
virtual void operator++ ()
 
virtual void reset ()
 
- Public Member Functions inherited from OA::StmtHandleIterator
 StmtHandleIterator ()
 
virtual ~StmtHandleIterator ()
 
void operator++ (int)
 

Private Member Functions

void create (OA::ProcHandle h)
 

Private Attributes

std::list< OA::StmtHandlemStmtList
 
std::list< OA::StmtHandle >
::iterator 
mEnd
 
std::list< OA::StmtHandle >
::iterator 
mBegin
 
std::list< OA::StmtHandle >
::iterator 
mStmtIter
 
bool mValid
 

Detailed Description

Enumerate all the statements in a program.

Definition at line 152 of file Open64IRInterface.hpp.

Constructor & Destructor Documentation

Open64IRStmtIterator::Open64IRStmtIterator ( OA::ProcHandle  h)

Definition at line 143 of file Open64IRInterface.cpp.

References create(), mValid, and reset().

Here is the call graph for this function:

Open64IRStmtIterator::Open64IRStmtIterator ( )
inline

Definition at line 155 of file Open64IRInterface.hpp.

References mValid.

Open64IRStmtIterator::~Open64IRStmtIterator ( )
virtual

Definition at line 150 of file Open64IRInterface.cpp.

Member Function Documentation

OA::StmtHandle Open64IRStmtIterator::current ( ) const
virtual

Implements OA::StmtHandleIterator.

Definition at line 155 of file Open64IRInterface.cpp.

References mStmtIter, and mValid.

virtual bool Open64IRStmtIterator::isValid ( ) const
inlinevirtual

Implements OA::StmtHandleIterator.

Definition at line 159 of file Open64IRInterface.hpp.

References mEnd, mStmtIter, and mValid.

void Open64IRStmtIterator::operator++ ( )
virtual

Implements OA::StmtHandleIterator.

Definition at line 165 of file Open64IRInterface.cpp.

References mStmtIter, and mValid.

void Open64IRStmtIterator::reset ( )
virtual

Implements OA::StmtHandleIterator.

Definition at line 173 of file Open64IRInterface.cpp.

References mBegin, mEnd, mStmtIter, and mStmtList.

Referenced by Open64IRStmtIterator().

Member Data Documentation

std::list<OA::StmtHandle>::iterator Open64IRStmtIterator::mBegin
private

Definition at line 171 of file Open64IRInterface.hpp.

Referenced by reset().

std::list<OA::StmtHandle>::iterator Open64IRStmtIterator::mEnd
private

Definition at line 170 of file Open64IRInterface.hpp.

Referenced by isValid(), and reset().

std::list<OA::StmtHandle>::iterator Open64IRStmtIterator::mStmtIter
private

Definition at line 172 of file Open64IRInterface.hpp.

Referenced by current(), isValid(), operator++(), and reset().

std::list<OA::StmtHandle> Open64IRStmtIterator::mStmtList
private

Definition at line 168 of file Open64IRInterface.hpp.

Referenced by create(), and reset().

bool Open64IRStmtIterator::mValid
private

Definition at line 173 of file Open64IRInterface.hpp.

Referenced by current(), isValid(), Open64IRStmtIterator(), and operator++().


The documentation for this class was generated from the following files: