OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LoopIndex.cpp
Go to the documentation of this file.
1 
12 #include "LoopIndex.hpp"
13 
14 namespace OA {
15  namespace Loop {
16 
18  OA_ptr<NamedLoc> variable,
19  int initialBound,
20  int terminalBound,
21  int step)
22 {
23  mVariable = variable;
24  mInitialBound = initialBound;
25  mTerminalBound = terminalBound;
26  mStep = step;
27 }
28 
29 // - [accessor methods] -
31  return mVariable;
32 }
33 
35  return mInitialBound;
36 }
37 
39  return mTerminalBound;
40 }
41 
43  return mStep;
44 }
45 
46 } } // end namespaces
47