Last change
on this file since 233 was
225,
checked in by lemeur, 12 years ago
|
element 'fit' + label en parametre
|
File size:
738 bytes
|
Rev | Line | |
---|
[225] | 1 | #ifndef ELEMENTFIT_SEEN |
---|
| 2 | #define ELEMENTFIT_SEEN |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | #include <string> |
---|
| 6 | #include "abstractElement.h" |
---|
| 7 | |
---|
| 8 | using namespace std; |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | class elementFit : public abstractElement |
---|
| 12 | { |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | // unites transport ( cm ; mrad) |
---|
| 16 | string variableName_; |
---|
| 17 | double variableValue_, tolerance_; |
---|
| 18 | |
---|
| 19 | string variableNameDef_; |
---|
| 20 | double variableValueDef_, toleranceDef_; |
---|
| 21 | |
---|
| 22 | void setDefaultValues(); |
---|
| 23 | void setDefaults(); |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | public: |
---|
| 27 | |
---|
| 28 | elementFit(); |
---|
| 29 | ~elementFit() {;} |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | virtual void setParametersString(string* param); |
---|
| 33 | |
---|
| 34 | virtual string* getParametersString() const; |
---|
| 35 | |
---|
| 36 | virtual string parmelaOutputFlow() const; |
---|
| 37 | |
---|
| 38 | virtual string transportOutputFlow() const; |
---|
| 39 | |
---|
| 40 | virtual string FileOutputFlow() const; |
---|
| 41 | |
---|
| 42 | virtual void FileInput(ifstream& ifs); |
---|
| 43 | |
---|
| 44 | }; |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.