Last change
on this file since 431 was
431,
checked in by touze, 11 years ago
|
systeme periodique (mailles) + multipoles + madx
|
File size:
1.1 KB
|
Rev | Line | |
---|
[58] | 1 | #ifndef SECTIONTOEXECUTE_SEEN |
---|
| 2 | #define SECTIONTOEXECUTE_SEEN |
---|
| 3 | |
---|
| 4 | #include "nomDeLogiciel.h" |
---|
[401] | 5 | #include "abstractElement.h" |
---|
| 6 | #include "abstractSoftware.h" |
---|
[58] | 7 | |
---|
[401] | 8 | class sectionToExecute |
---|
[58] | 9 | { |
---|
[431] | 10 | public : |
---|
[58] | 11 | |
---|
[431] | 12 | sectionToExecute(abstractElement*,abstractElement*,abstractSoftware*); |
---|
| 13 | |
---|
| 14 | /** Deprecated : To be removed ! */ |
---|
| 15 | sectionToExecute(abstractElement*, int, abstractElement*, int, abstractSoftware*); |
---|
[413] | 16 | |
---|
[431] | 17 | ~sectionToExecute() {;} |
---|
[401] | 18 | |
---|
[431] | 19 | inline abstractElement* getFirstElement() { |
---|
| 20 | return firstElement; |
---|
| 21 | } |
---|
[401] | 22 | |
---|
[431] | 23 | inline abstractElement* getLastElement() { |
---|
| 24 | return lastElement; |
---|
| 25 | } |
---|
[401] | 26 | |
---|
[431] | 27 | /** Deprecated : To be removed ! */ |
---|
| 28 | inline int getElementNumberInSection() const { |
---|
| 29 | return firstElementNumberInBeamLine; |
---|
| 30 | } |
---|
[401] | 31 | |
---|
[431] | 32 | /** Deprecated : To be removed ! */ |
---|
| 33 | inline int getLastElementNumberInSection() const { |
---|
| 34 | return lastElementNumberInBeamLine; |
---|
| 35 | } |
---|
[401] | 36 | |
---|
[431] | 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; |
---|
[401] | 49 | }; |
---|
[58] | 50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.