Last change
on this file since 487 was
487,
checked in by touze, 10 years ago
|
ajout de quadrupole et sextupole
|
File size:
673 bytes
|
Rev | Line | |
---|
[487] | 1 | #ifndef SPOLEDEFINITION_SEEN |
---|
| 2 | #define SPOLEDEFINITION_SEEN |
---|
| 3 | |
---|
| 4 | #include <string> |
---|
| 5 | #include "abstractElement.h" |
---|
| 6 | |
---|
| 7 | using namespace std; |
---|
| 8 | |
---|
| 9 | class elementSextupole : public abstractElement |
---|
| 10 | { |
---|
| 11 | double length_; |
---|
| 12 | double component_; |
---|
| 13 | |
---|
| 14 | public: |
---|
| 15 | |
---|
| 16 | elementSextupole(); |
---|
| 17 | ~elementSextupole() {;} |
---|
| 18 | |
---|
| 19 | virtual string* getParametersString() const; |
---|
| 20 | virtual void setParametersString(string* param); |
---|
| 21 | virtual vector< pair<string, vector<string> > > parametersToSoftware () const; |
---|
| 22 | virtual string FileOutputFlow() const; |
---|
| 23 | virtual void FileInput(ifstream& ifs); |
---|
| 24 | virtual void InputRep(UAPNode* root); |
---|
| 25 | |
---|
| 26 | /** return a string with all parameters and value */ |
---|
| 27 | string print(); |
---|
| 28 | }; |
---|
| 29 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.