OA::Loop::LoopIndex Class Reference

abstracts a loop index variable More...

#include <LoopIndex.hpp>

Inheritance diagram for OA::Loop::LoopIndex:
Inheritance graph
[legend]
Collaboration diagram for OA::Loop::LoopIndex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LoopIndex (OA_ptr< NamedLoc > variable, int initialBound, int terminalBound, int step)
OA_ptr< NamedLocgetVariable ()
int getInitialBound ()
int getTerminalBound ()
int getStep ()
virtual void output (IRHandlesIRInterface &ir)

Private Attributes

OUTPUT GENOUT OA_ptr< NamedLocmVariable
GENOUT int mInitialBound
GENOUT int mTerminalBound
GENOUT int mStep

Detailed Description

abstracts a loop index variable

Definition at line 24 of file LoopIndex.hpp.


Constructor & Destructor Documentation

OA::Loop::LoopIndex::LoopIndex ( OA_ptr< NamedLoc variable,
int  initialBound,
int  terminalBound,
int  step 
)

Definition at line 17 of file LoopIndex.cpp.

References mInitialBound, mStep, mTerminalBound, and mVariable.


Member Function Documentation

int OA::Loop::LoopIndex::getInitialBound (  ) 

Definition at line 34 of file LoopIndex.cpp.

References mInitialBound.

int OA::Loop::LoopIndex::getStep (  ) 

Definition at line 42 of file LoopIndex.cpp.

References mStep.

int OA::Loop::LoopIndex::getTerminalBound (  ) 

Definition at line 38 of file LoopIndex.cpp.

References mTerminalBound.

OA_ptr< NamedLoc > OA::Loop::LoopIndex::getVariable (  ) 

Definition at line 30 of file LoopIndex.cpp.

References mVariable.

void OA::Loop::LoopIndex::output ( OA::IRHandlesIRInterface ir  )  [virtual]

Implements OA::Annotation.

Definition at line 9 of file LoopIndex_output.cpp.

References OA::int2string(), mInitialBound, mStep, mTerminalBound, mVariable, and OA::Annotation::sOutBuild.

Here is the call graph for this function:


Member Data Documentation

GENOUT int OA::Loop::LoopIndex::mInitialBound [private]

Definition at line 44 of file LoopIndex.hpp.

Referenced by getInitialBound(), LoopIndex(), and output().

GENOUT int OA::Loop::LoopIndex::mStep [private]

Definition at line 46 of file LoopIndex.hpp.

Referenced by getStep(), LoopIndex(), and output().

Definition at line 45 of file LoopIndex.hpp.

Referenced by getTerminalBound(), LoopIndex(), and output().

Definition at line 43 of file LoopIndex.hpp.

Referenced by getVariable(), LoopIndex(), and output().


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

Generated on Sat Oct 31 05:26:40 2009 for OpenAnalysis by  doxygen 1.6.1