source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/elementCell.h @ 386

Last change on this file since 386 was 359, checked in by garnier, 11 years ago

Changement de la couleur des sections selectionnes + plein dautres choses

File size: 1.3 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 string* getParametersString() const;
49   
50    virtual void setParametersString(string* param);
51   
52    virtual  string parmelaOutputFlow() const;
53   
54    virtual string transportOutputFlow() const
55    {
56        ostringstream sortie;
57        cout << " CELL sortie transport non programmee " << endl;
58        return sortie.str();
59    }
60   
61   
62    virtual string FileOutputFlow() const;
63   
64    virtual void FileInput(ifstream& ifs);
65   
66    /** return a string with all parameters and value
67     */
68    string print();
69   
70};
71
72#endif
Note: See TracBrowser for help on using the repository browser.