Line | |
---|
1 | #ifndef ELEMENTCELL_SEEN |
---|
2 | #define ELEMENTCELL_SEEN |
---|
3 | |
---|
4 | #include <string> |
---|
5 | #include <iostream> |
---|
6 | #include <sstream> |
---|
7 | |
---|
8 | |
---|
9 | #include "abstractElement.h" |
---|
10 | |
---|
11 | using namespace std; |
---|
12 | |
---|
13 | |
---|
14 | class elementCell : public abstractElement |
---|
15 | { |
---|
16 | // int nbParam_; |
---|
17 | // string* parametersString_; |
---|
18 | double initialPhaseDef_; |
---|
19 | double acceleratingFieldDef_; |
---|
20 | string acceleratingShapeFileDef_; |
---|
21 | string focusingMagFileDef_; |
---|
22 | double offsetMagDef_; |
---|
23 | double scaleFactorDef_; |
---|
24 | double initialPhase_; |
---|
25 | double acceleratingField_; |
---|
26 | string acceleratingShapeFile_; |
---|
27 | string focusingMagFile_; |
---|
28 | double offsetMag_; |
---|
29 | double scaleFactor_; |
---|
30 | |
---|
31 | void setDefaultValues(); |
---|
32 | void setDefaults(); |
---|
33 | |
---|
34 | public : |
---|
35 | |
---|
36 | elementCell(); |
---|
37 | ~elementCell() { ;} |
---|
38 | |
---|
39 | virtual string* getParametersString() const; |
---|
40 | virtual void setParametersString(string* param); |
---|
41 | virtual vector< pair<string, vector<string> > > parametersToSoftware () const; |
---|
42 | // virtual string parmelaOutputFlow() const; |
---|
43 | // virtual string transportOutputFlow() const */ |
---|
44 | |
---|
45 | // virtual string FileOutputFlow() const; |
---|
46 | // virtual void FileInput(ifstream& ifs); |
---|
47 | virtual void InputRep(UAPNode* root); |
---|
48 | virtual void FileAMLInput(UAPNode* entree); |
---|
49 | |
---|
50 | /** return a string with all parameters and value */ |
---|
51 | string print(); |
---|
52 | }; |
---|
53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.