source: PSPA/Interface_Web/trunk/pspaWT/include/elementCell.h @ 243

Last change on this file since 243 was 243, checked in by lemeur, 11 years ago

rationalisation pour introduire nouveau logiciel

File size: 1.2 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
10using namespace std;
11
12
13class 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
56virtual 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};
69
70#endif
Note: See TracBrowser for help on using the repository browser.