Last change
on this file since 299 was
287,
checked in by garnier, 12 years ago
|
ajout de tooltip et nettoyage de code
|
File size:
1.4 KB
|
Line | |
---|
1 | #ifndef ELEMENTCELL_SEEN |
---|
2 | #define ELEMENTCELL_SEEN |
---|
3 | |
---|
4 | #include <string> |
---|
5 | #include <iostream> |
---|
6 | #include <sstream> |
---|
7 | |
---|
8 | #include "abstractElement.h" |
---|
9 | |
---|
10 | using namespace std; |
---|
11 | |
---|
12 | |
---|
13 | class elementCell : public abstractElement |
---|
14 | { |
---|
15 | |
---|
16 | // int nbParam_; |
---|
17 | // string* parametersString_; |
---|
18 | |
---|
19 | |
---|
20 | double initialPhaseDef_; |
---|
21 | double acceleratingFieldDef_; |
---|
22 | |
---|
23 | string acceleratingShapeFileDef_; |
---|
24 | string focusingMagFileDef_; |
---|
25 | double offsetMagDef_; |
---|
26 | double scaleFactorDef_; |
---|
27 | |
---|
28 | double initialPhase_; |
---|
29 | double acceleratingField_; |
---|
30 | |
---|
31 | string acceleratingShapeFile_; |
---|
32 | string focusingMagFile_; |
---|
33 | double offsetMag_; |
---|
34 | double scaleFactor_; |
---|
35 | |
---|
36 | |
---|
37 | void setDefaultValues(); |
---|
38 | |
---|
39 | void setDefaults(); |
---|
40 | |
---|
41 | public : |
---|
42 | |
---|
43 | elementCell(); |
---|
44 | |
---|
45 | |
---|
46 | ~elementCell() { ;} |
---|
47 | |
---|
48 | virtual trivaluedBool is_accepted_by_software(nomDeLogiciel soft) const; |
---|
49 | |
---|
50 | virtual string* getParametersString() const; |
---|
51 | |
---|
52 | virtual void setParametersString(string* param); |
---|
53 | |
---|
54 | virtual string parmelaOutputFlow() const; |
---|
55 | |
---|
56 | virtual string transportOutputFlow() const |
---|
57 | { |
---|
58 | ostringstream sortie; |
---|
59 | cout << " CELL sortie transport non programmee " << endl; |
---|
60 | return sortie.str(); |
---|
61 | } |
---|
62 | |
---|
63 | |
---|
64 | virtual string FileOutputFlow() const; |
---|
65 | |
---|
66 | virtual void FileInput(ifstream& ifs); |
---|
67 | |
---|
68 | /** return a string with all parameters and value |
---|
69 | */ |
---|
70 | string print(); |
---|
71 | |
---|
72 | }; |
---|
73 | |
---|
74 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.