00001 #ifndef __ConceptDataWrap_h_INCLUDED_H__ 00002 #define __ConceptDataWrap_h_INCLUDED_H__ 00003 00004 00005 //------------------------------------------------------------------------------------------------------------ 00006 // Includes 00007 //------------------------------------------------------------------------------------------------------------ 00008 #include <iostream> 00009 #include <string> 00010 00014 //------------------------------------------------------------------------------------------------------------ 00015 // Class definition 00016 //------------------------------------------------------------------------------------------------------------ 00017 class ConceptDataWrap { 00018 00019 public: 00020 00021 //------------------------------------------------------------------------------------------------------------ 00022 // Constructors & Destructors 00023 //------------------------------------------------------------------------------------------------------------ 00024 00025 ConceptDataWrap(std::string theName = ""); 00026 00027 ~ConceptDataWrap(); 00028 00029 //------------------------------------------------------------------------------------------------------------ 00030 // Attributes getters and setters 00031 //------------------------------------------------------------------------------------------------------------ 00032 00042 void fillData( std::string theName, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow ); 00043 00044 std::string getName(); 00045 00046 int getMinShowedValue(); 00047 00048 int getMaxShowedValue(); 00049 00050 void setMinValue(int theMin); 00051 00052 int getMinValue(); 00053 00054 void setMaxValue(int theMax); 00055 00056 int getMaxValue(); 00057 00058 void setActualValue(int theActual); 00059 00060 int getActualValue(); 00061 00062 bool isEmpty( ); 00063 00064 //------------------------------------------------------------------------------------------------------------ 00065 // Other functional methods 00066 //------------------------------------------------------------------------------------------------------------ 00067 00068 private: 00069 //------------------------------------------------------------------------------------------------------------ 00070 // Private methods 00071 //------------------------------------------------------------------------------------------------------------ 00072 00073 //------------------------------------------------------------------------------------------------------------ 00074 // Creational and initialization methods 00075 //------------------------------------------------------------------------------------------------------------ 00076 00077 00078 //------------------------------------------------------------------------------------------------------------ 00079 // Attributtes 00080 //------------------------------------------------------------------------------------------------------------ 00081 int _minValue; 00082 00083 int _maxValue; 00084 00085 int _minShow; 00086 00087 int _maxShow; 00088 00089 int _actual; 00090 00091 std::string _name; 00092 00093 00094 }; 00095 #endif // __ConceptDataWrap_HEADER_FILE__ 00096 00097