ConceptDataWrap Class Reference

#include <ConceptDataWrap.h>

List of all members.

Public Member Functions

 ConceptDataWrap (std::string theName="")
 ~ConceptDataWrap ()
void fillData (std::string theName, int minRepresent, int maxRepresent, int minShowed, int maxShowed, int actualShow)
std::string getName ()
int getMinShowedValue ()
int getMaxShowedValue ()
void setMinValue (int theMin)
int getMinValue ()
void setMaxValue (int theMax)
int getMaxValue ()
void setActualValue (int theActual)
int getActualValue ()
bool isEmpty ()

Private Attributes

int _minValue
int _maxValue
int _minShow
int _maxShow
int _actual
std::string _name


Detailed Description

file ConceptDataWrap.h

Definition at line 17 of file ConceptDataWrap.h.


Constructor & Destructor Documentation

ConceptDataWrap::ConceptDataWrap ( std::string  theName = ""  ) 

Definition at line 22 of file ConceptDataWrap.cxx.

References _actual, _maxShow, _maxValue, _minShow, _minValue, and _name.

00023         {
00024                 _minValue = -1;
00025                 _maxValue = -1;
00026                 _minShow = -1;
00027                 _maxShow = -1;
00028                 _actual = -1;
00029                 _name = theName;
00030         }

ConceptDataWrap::~ConceptDataWrap (  ) 

Definition at line 32 of file ConceptDataWrap.cxx.

00033         {
00034 
00035         }


Member Function Documentation

void ConceptDataWrap::fillData ( std::string  theName,
int  minRepresent,
int  maxRepresent,
int  minShowed,
int  maxShowed,
int  actualShow 
)

Sets the data concept values and name

Parameters:
theName The name of the concept
minRepresent The minRepresent value of the concept
maxRepresent The maxRepresent value of the concept
minShowed The minShowed value of the concept
maxShowed The maxShowed value of the concept
actualShow The actualShow value of the concept

Definition at line 49 of file ConceptDataWrap.cxx.

References _actual, _maxShow, _maxValue, _minShow, _minValue, and _name.

00050         {
00051                 _name = theName;
00052                 _minValue = minRepresent;
00053                 _maxValue = maxRepresent;
00054                 _minShow = minShowed;
00055                 _maxShow = maxShowed;
00056                 _actual = actualShow;
00057         }

int ConceptDataWrap::getActualValue (  ) 

Definition at line 100 of file ConceptDataWrap.cxx.

References _actual.

Referenced by wxContourViewPanel::onChangeInstant(), wxInstantChooserPanel::onConceptRelease(), wxContourMainFrame::setVectImages(), and wxContourMainFrame::updateInstantImageData().

00101         {
00102                 return _actual;
00103         }

Here is the caller graph for this function:

int ConceptDataWrap::getMaxShowedValue (  ) 

Definition at line 70 of file ConceptDataWrap.cxx.

References _maxShow.

Referenced by wxContourViewPanel::onChangeInstant(), wxInstantChooserPanel::onConceptRelease(), and wxContourMainFrame::setVectImages().

00071         {
00072                 return _maxShow;
00073         }

Here is the caller graph for this function:

int ConceptDataWrap::getMaxValue (  ) 

Definition at line 90 of file ConceptDataWrap.cxx.

References _maxValue.

Referenced by wxContourMainFrame::setVectImages().

00091         {
00092                 return _maxValue;
00093         }

Here is the caller graph for this function:

int ConceptDataWrap::getMinShowedValue (  ) 

Definition at line 65 of file ConceptDataWrap.cxx.

References _minShow.

Referenced by wxContourViewPanel::onChangeInstant(), wxInstantChooserPanel::onConceptRelease(), and wxContourMainFrame::setVectImages().

00066         {
00067                 return _minShow;
00068         }

Here is the caller graph for this function:

int ConceptDataWrap::getMinValue (  ) 

Definition at line 80 of file ConceptDataWrap.cxx.

References _minValue.

Referenced by wxContourMainFrame::setVectImages().

00081         {
00082                 return _minValue;
00083         }

Here is the caller graph for this function:

std::string ConceptDataWrap::getName (  ) 

Definition at line 60 of file ConceptDataWrap.cxx.

References _name.

Referenced by wxContourViewPanel::onChangeInstant(), and wxInstantChooserPanel::onConceptRelease().

00061         {
00062                 return _name;
00063         }

Here is the caller graph for this function:

bool ConceptDataWrap::isEmpty (  ) 

Definition at line 105 of file ConceptDataWrap.cxx.

References _actual.

00106         {
00107                 return _actual == -1;
00108         }

void ConceptDataWrap::setActualValue ( int  theActual  ) 

Definition at line 95 of file ConceptDataWrap.cxx.

References _actual.

00096         {
00097                 _actual = theActual;
00098         }

void ConceptDataWrap::setMaxValue ( int  theMax  ) 

Definition at line 85 of file ConceptDataWrap.cxx.

References _maxValue.

00086         {
00087                 _maxValue = theMax;
00088         }

void ConceptDataWrap::setMinValue ( int  theMin  ) 

Definition at line 75 of file ConceptDataWrap.cxx.

References _minValue.

00076         {
00077                 _minValue = theMin;
00078         }


Member Data Documentation

int ConceptDataWrap::_actual [private]

Definition at line 89 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), getActualValue(), isEmpty(), and setActualValue().

Definition at line 87 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), and getMaxShowedValue().

Definition at line 83 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), getMaxValue(), and setMaxValue().

Definition at line 85 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), and getMinShowedValue().

Definition at line 81 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), getMinValue(), and setMinValue().

std::string ConceptDataWrap::_name [private]

Definition at line 91 of file ConceptDataWrap.h.

Referenced by ConceptDataWrap(), fillData(), and getName().


The documentation for this class was generated from the following files:

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