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