2 //----------------------------------------------------------------------------------------------------------------
3 // Class definition include
4 //----------------------------------------------------------------------------------------------------------------
5 #include "ConceptDataWrap.h"
7 //----------------------------------------------------------------------------------------------------------------
8 // Class implementation
9 //----------------------------------------------------------------------------------------------------------------
10 /** @file ConceptDataWrap.cxx */
13 //------------------------------------------------------------------------------------------------------------
15 //------------------------------------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------------------------------------
19 // Constructors & Destructors
20 //------------------------------------------------------------------------------------------------------------
22 ConceptDataWrap :: ConceptDataWrap(std::string theName)
32 ConceptDataWrap :: ~ConceptDataWrap()
36 //------------------------------------------------------------------------------------------------------------
37 // Attributes getters and setters
38 //------------------------------------------------------------------------------------------------------------
41 * Sets the data concept values and name
42 * @param theName The name of the concept
43 * @param minRepresent The minRepresent value of the concept
44 * @param maxRepresent The maxRepresent value of the concept
45 * @param minShowed The minShowed value of the concept
46 * @param maxShowed The maxShowed value of the concept
47 * @param actualShow The actualShow value of the concept
49 void ConceptDataWrap :: fillData( std::string theName, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow )
52 _minValue = minRepresent;
53 _maxValue = maxRepresent;
60 std::string ConceptDataWrap :: getName()
65 int ConceptDataWrap :: getMinShowedValue()
70 int ConceptDataWrap :: getMaxShowedValue()
75 void ConceptDataWrap :: setMinValue(int theMin)
80 int ConceptDataWrap :: getMinValue()
85 void ConceptDataWrap :: setMaxValue(int theMax)
90 int ConceptDataWrap :: getMaxValue()
95 void ConceptDataWrap :: setActualValue(int theActual)
100 int ConceptDataWrap :: getActualValue()
105 bool ConceptDataWrap :: isEmpty()
107 return _actual == -1;
109 //------------------------------------------------------------------------------------------------------------
110 // Other functional methods
111 //------------------------------------------------------------------------------------------------------------
113 //------------------------------------------------------------------------------------------------------------
115 //------------------------------------------------------------------------------------------------------------
117 //------------------------------------------------------------------------------------------------------------
118 // Creational and initialization methods
119 //------------------------------------------------------------------------------------------------------------
122 //------------------------------------------------------------------------------------------------------------
124 //------------------------------------------------------------------------------------------------------------