]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/ConceptDataWrap.h
c2ad82b38cfd35f9d909b526419a7eee506fb8bf
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / ConceptDataWrap.h
1 #ifndef __ConceptDataWrap_h_INCLUDED_H__
2 #define __ConceptDataWrap_h_INCLUDED_H__
3
4
5 //------------------------------------------------------------------------------------------------------------
6 // Includes
7 //------------------------------------------------------------------------------------------------------------
8 #include <iostream> 
9 #include <string>
10
11 /** file ConceptDataWrap.h */
12
13
14 //------------------------------------------------------------------------------------------------------------
15 // Class definition
16 //------------------------------------------------------------------------------------------------------------
17 class ConceptDataWrap {
18
19         public:
20
21         //------------------------------------------------------------------------------------------------------------
22         // Constructors & Destructors
23         //------------------------------------------------------------------------------------------------------------
24
25         ConceptDataWrap(std::string theName = "");
26
27         ~ConceptDataWrap();
28
29         //------------------------------------------------------------------------------------------------------------
30         //  Attributes getters and setters
31         //------------------------------------------------------------------------------------------------------------
32         
33         /**
34         * Sets the data concept values and name
35         * @param theName The name of the concept 
36         * @param minRepresent The minRepresent value of the concept 
37         * @param maxRepresent The maxRepresent value of the concept 
38         * @param minShowed The minShowed value of the concept 
39         * @param maxShowed The maxShowed value of the concept 
40         * @param actualShow The actualShow value of the concept 
41         */
42         void fillData( std::string theName, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow );
43
44         std::string getName();
45
46         int getMinShowedValue();
47
48         int getMaxShowedValue();
49
50         void setMinValue(int theMin);
51
52         int getMinValue();
53
54         void setMaxValue(int theMax);
55
56         int getMaxValue();
57
58         void setActualValue(int theActual);
59
60         int getActualValue();
61
62         bool isEmpty( );
63
64         //------------------------------------------------------------------------------------------------------------
65         //  Other functional methods
66         //------------------------------------------------------------------------------------------------------------
67
68 private:
69         //------------------------------------------------------------------------------------------------------------
70         //  Private methods
71         //------------------------------------------------------------------------------------------------------------
72
73         //------------------------------------------------------------------------------------------------------------
74         // Creational and initialization methods
75         //------------------------------------------------------------------------------------------------------------
76
77                 
78         //------------------------------------------------------------------------------------------------------------
79         // Attributtes
80         //------------------------------------------------------------------------------------------------------------
81         int _minValue;
82
83         int _maxValue;
84
85         int _minShow;
86
87         int _maxShow;
88
89         int _actual;
90
91         std::string _name;
92
93
94 };
95 #endif // __ConceptDataWrap_HEADER_FILE__
96  
97