ConceptDataWrap.cxx

Go to the documentation of this file.
00001 
00002 //----------------------------------------------------------------------------------------------------------------
00003 // Class definition include
00004 //----------------------------------------------------------------------------------------------------------------
00005 #include "ConceptDataWrap.h"
00006 
00007 //----------------------------------------------------------------------------------------------------------------
00008 // Class implementation
00009 //----------------------------------------------------------------------------------------------------------------
00013 //------------------------------------------------------------------------------------------------------------
00014 // Includes
00015 //------------------------------------------------------------------------------------------------------------
00016 
00017 
00018         //------------------------------------------------------------------------------------------------------------
00019         // Constructors & Destructors
00020         //------------------------------------------------------------------------------------------------------------
00021 
00022 ConceptDataWrap :: ConceptDataWrap(std::string theName)
00023         {
00024                 _minValue = -1;
00025                 _maxValue = -1;
00026                 _minShow = -1;
00027                 _maxShow = -1;
00028                 _actual = -1;
00029                 _name = theName;
00030         }
00031 
00032         ConceptDataWrap :: ~ConceptDataWrap()
00033         {
00034 
00035         }
00036         //------------------------------------------------------------------------------------------------------------
00037         //  Attributes getters and setters
00038         //------------------------------------------------------------------------------------------------------------
00039 
00049         void ConceptDataWrap :: fillData( std::string theName, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow )
00050         {
00051                 _name = theName;
00052                 _minValue = minRepresent;
00053                 _maxValue = maxRepresent;
00054                 _minShow = minShowed;
00055                 _maxShow = maxShowed;
00056                 _actual = actualShow;
00057         }
00058 
00059 
00060         std::string ConceptDataWrap :: getName()
00061         {
00062                 return _name;
00063         }
00064 
00065         int ConceptDataWrap :: getMinShowedValue()
00066         {
00067                 return _minShow;
00068         }
00069 
00070         int ConceptDataWrap :: getMaxShowedValue()
00071         {
00072                 return _maxShow;
00073         }
00074 
00075         void ConceptDataWrap :: setMinValue(int theMin)
00076         {
00077                 _minValue = theMin;
00078         }
00079 
00080         int  ConceptDataWrap :: getMinValue()
00081         {
00082                 return _minValue;
00083         }
00084 
00085         void ConceptDataWrap :: setMaxValue(int theMax)
00086         {
00087                 _maxValue = theMax;
00088         }
00089 
00090         int  ConceptDataWrap :: getMaxValue()
00091         {
00092                 return _maxValue;
00093         }
00094 
00095         void ConceptDataWrap :: setActualValue(int theActual)
00096         {
00097                 _actual = theActual;
00098         }
00099 
00100         int  ConceptDataWrap :: getActualValue()
00101         {
00102                 return _actual;
00103         }
00104 
00105         bool ConceptDataWrap :: isEmpty()
00106         {
00107                 return _actual == -1;
00108         }
00109         //------------------------------------------------------------------------------------------------------------
00110         //  Other functional methods
00111         //------------------------------------------------------------------------------------------------------------
00112 
00113         //------------------------------------------------------------------------------------------------------------
00114         //  Private methods
00115         //------------------------------------------------------------------------------------------------------------
00116 
00117         //------------------------------------------------------------------------------------------------------------
00118         // Creational and initialization methods
00119         //------------------------------------------------------------------------------------------------------------
00120 
00121                 
00122         //------------------------------------------------------------------------------------------------------------
00123         // Attributtes
00124         //------------------------------------------------------------------------------------------------------------
00125         
00126 

Generated on Wed Jun 27 23:28:32 2012 for creaContours_lib by  doxygen 1.5.7.1