OpenADFortTk (including Open64 and OpenAnalysis references)
Main Page
Namespaces
Classes
Files
File List
File Members
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
17
LoopIndex::LoopIndex
(
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] -
30
OA_ptr<NamedLoc>
LoopIndex::getVariable
() {
31
return
mVariable
;
32
}
33
34
int
LoopIndex::getInitialBound
() {
35
return
mInitialBound
;
36
}
37
38
int
LoopIndex::getTerminalBound
() {
39
return
mTerminalBound
;
40
}
41
42
int
LoopIndex::getStep
() {
43
return
mStep
;
44
}
45
46
} }
// end namespaces
47
OpenAnalysis
src
OpenAnalysis
Loop
LoopIndex.cpp
Generated on Fri Mar 14 2014 04:23:12 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4