1 | #ifndef SECTIONTOEXECUTE_SEEN |
---|
2 | #define SECTIONTOEXECUTE_SEEN |
---|
3 | |
---|
4 | #include "nomDeLogiciel.h" |
---|
5 | #include "abstractElement.h" |
---|
6 | #include "abstractSoftware.h" |
---|
7 | |
---|
8 | class sectionToExecute |
---|
9 | { |
---|
10 | public : |
---|
11 | sectionToExecute(abstractElement*, abstractElement*, abstractSoftware*); |
---|
12 | |
---|
13 | /** Deprecated : To be removed ! */ |
---|
14 | sectionToExecute(abstractElement*, int, abstractElement*, int, abstractSoftware*); |
---|
15 | ~sectionToExecute() {;} |
---|
16 | |
---|
17 | inline abstractElement* getFirstElement() { |
---|
18 | return firstElement; |
---|
19 | } |
---|
20 | |
---|
21 | inline abstractElement* getLastElement() { |
---|
22 | return lastElement; |
---|
23 | } |
---|
24 | |
---|
25 | /** Deprecated : To be removed ! */ |
---|
26 | inline int getElementNumberInSection() { |
---|
27 | return firstElementNumberInBeamLine; |
---|
28 | } |
---|
29 | |
---|
30 | /** Deprecated : To be removed ! */ |
---|
31 | inline int getLastElementNumberInSection() { |
---|
32 | return lastElementNumberInBeamLine; |
---|
33 | } |
---|
34 | inline abstractSoftware* getSoftware() { |
---|
35 | return software; |
---|
36 | } |
---|
37 | |
---|
38 | private : |
---|
39 | abstractElement* firstElement; |
---|
40 | abstractElement* lastElement; |
---|
41 | |
---|
42 | int firstElementNumberInBeamLine; |
---|
43 | int lastElementNumberInBeamLine; |
---|
44 | |
---|
45 | abstractSoftware* software; |
---|
46 | }; |
---|
47 | |
---|
48 | #endif |
---|