source: PSPA/Interface_Web/trunk/pspaWT/sources/controler/include/elementFit.h @ 418

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

definition des compatibilites des elements dans les software

File size: 1011 bytes
Line 
1#ifndef ELEMENTFIT_SEEN
2#define ELEMENTFIT_SEEN
3
4#include <iostream>
5#include <string>
6#include "abstractElement.h"
7
8using namespace std;
9
10
11class elementFit : public abstractElement
12{
13   
14   
15    // unites transport ( cm ; mrad)
16    string variableName_;
17    double variableValue_, tolerance_;
18   
19    string variableNameDef_;
20    double variableValueDef_, toleranceDef_;
21   
22    void setDefaultValues();
23    void setDefaults();
24   
25   
26public:
27   
28    elementFit();
29    ~elementFit() {;}
30   
31   
32    virtual void setParametersString(string* param);
33   
34    virtual string* getParametersString() const;
35   
36    //    virtual  string parmelaOutputFlow() const;
37   
38    //  virtual string transportOutputFlow() const;
39   
40    virtual  string FileOutputFlow() const;
41   
42    virtual vector< pair<string, vector<string> > > parametersToSoftware () const;
43
44    virtual void FileInput(ifstream& ifs);
45   
46    /** return a string with all parameters and value
47     */
48    string print();
49   
50};
51#endif
Note: See TracBrowser for help on using the repository browser.