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 | |
---|
16 | ~sectionToExecute() {;} |
---|
17 | |
---|
18 | inline abstractElement* getFirstElement() { |
---|
19 | return firstElement; |
---|
20 | } |
---|
21 | |
---|
22 | inline abstractElement* getLastElement() { |
---|
23 | return lastElement; |
---|
24 | } |
---|
25 | |
---|
26 | /** Deprecated : To be removed ! */ |
---|
27 | inline int getElementNumberInSection() { |
---|
28 | return firstElementNumberInBeamLine; |
---|
29 | } |
---|
30 | |
---|
31 | /** Deprecated : To be removed ! */ |
---|
32 | inline int getLastElementNumberInSection() { |
---|
33 | return lastElementNumberInBeamLine; |
---|
34 | } |
---|
35 | inline abstractSoftware* getSoftware() { |
---|
36 | return software; |
---|
37 | } |
---|
38 | |
---|
39 | private : |
---|
40 | abstractElement* firstElement; |
---|
41 | abstractElement* lastElement; |
---|
42 | |
---|
43 | int firstElementNumberInBeamLine; |
---|
44 | int lastElementNumberInBeamLine; |
---|
45 | |
---|
46 | abstractSoftware* software; |
---|
47 | }; |
---|
48 | |
---|
49 | #endif |
---|