Last change
on this file since 424 was
424,
checked in by touze, 11 years ago
|
sauvgarde de la configuration sur fichier format AML
|
File size:
955 bytes
|
Line | |
---|
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 | class elementFit : public abstractElement |
---|
11 | { |
---|
12 | // unites transport ( cm ; mrad) |
---|
13 | string variableName_; |
---|
14 | double variableValue_, tolerance_; |
---|
15 | string variableNameDef_; |
---|
16 | double variableValueDef_, toleranceDef_; |
---|
17 | |
---|
18 | void setDefaultValues(); |
---|
19 | void setDefaults(); |
---|
20 | |
---|
21 | public: |
---|
22 | |
---|
23 | elementFit(); |
---|
24 | ~elementFit() {;} |
---|
25 | |
---|
26 | virtual void setParametersString(string* param); |
---|
27 | virtual string* getParametersString() const; |
---|
28 | virtual vector< pair<string, vector<string> > > parametersToSoftware () const; |
---|
29 | // virtual string parmelaOutputFlow() const; |
---|
30 | // virtual string transportOutputFlow() const; |
---|
31 | |
---|
32 | virtual string FileOutputFlow() const; |
---|
33 | virtual void FileInput(ifstream& ifs); |
---|
34 | virtual void InputRep(UAPNode* root); |
---|
35 | |
---|
36 | /** return a string with all parameters and value */ |
---|
37 | string print(); |
---|
38 | }; |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.