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

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

ajout de tooltip et nettoyage de code

File size: 1000 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    virtual  trivaluedBool is_accepted_by_software(nomDeLogiciel soft) const;
32   
33   
34    virtual void setParametersString(string* param);
35   
36    virtual string* getParametersString() const;
37   
38    virtual  string parmelaOutputFlow() const;
39   
40    virtual string transportOutputFlow() const;
41   
42    virtual  string FileOutputFlow() 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.