creaContours_lib
ConceptDataWrap Class Reference

#include <ConceptDataWrap.h>

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 42 of file ConceptDataWrap.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file ConceptDataWrap.cxx.

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

48  {
49  _minValue = -1;
50  _maxValue = -1;
51  _minShow = -1;
52  _maxShow = -1;
53  _actual = -1;
54  _name = theName;
55  }
ConceptDataWrap::~ConceptDataWrap ( )

Definition at line 57 of file ConceptDataWrap.cxx.

58  {
59 
60  }

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
theNameThe name of the concept
minRepresentThe minRepresent value of the concept
maxRepresentThe maxRepresent value of the concept
minShowedThe minShowed value of the concept
maxShowedThe maxShowed value of the concept
actualShowThe actualShow value of the concept

Definition at line 74 of file ConceptDataWrap.cxx.

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

75  {
76  _name = theName;
77  _minValue = minRepresent;
78  _maxValue = maxRepresent;
79  _minShow = minShowed;
80  _maxShow = maxShowed;
81  _actual = actualShow;
82  }
int ConceptDataWrap::getActualValue ( )

Definition at line 125 of file ConceptDataWrap.cxx.

References _actual.

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

126  {
127  return _actual;
128  }

Here is the caller graph for this function:

int ConceptDataWrap::getMaxShowedValue ( )

Definition at line 95 of file ConceptDataWrap.cxx.

References _maxShow.

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

96  {
97  return _maxShow;
98  }

Here is the caller graph for this function:

int ConceptDataWrap::getMaxValue ( )

Definition at line 115 of file ConceptDataWrap.cxx.

References _maxValue.

Referenced by wxContourMainFrame::setVectImages().

116  {
117  return _maxValue;
118  }

Here is the caller graph for this function:

int ConceptDataWrap::getMinShowedValue ( )

Definition at line 90 of file ConceptDataWrap.cxx.

References _minShow.

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

91  {
92  return _minShow;
93  }

Here is the caller graph for this function:

int ConceptDataWrap::getMinValue ( )

Definition at line 105 of file ConceptDataWrap.cxx.

References _minValue.

Referenced by wxContourMainFrame::setVectImages().

106  {
107  return _minValue;
108  }

Here is the caller graph for this function:

std::string ConceptDataWrap::getName ( )

Definition at line 85 of file ConceptDataWrap.cxx.

References _name.

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

86  {
87  return _name;
88  }

Here is the caller graph for this function:

bool ConceptDataWrap::isEmpty ( )

Definition at line 130 of file ConceptDataWrap.cxx.

References _actual.

131  {
132  return _actual == -1;
133  }
void ConceptDataWrap::setActualValue ( int  theActual)

Definition at line 120 of file ConceptDataWrap.cxx.

References _actual.

121  {
122  _actual = theActual;
123  }
void ConceptDataWrap::setMaxValue ( int  theMax)

Definition at line 110 of file ConceptDataWrap.cxx.

References _maxValue.

111  {
112  _maxValue = theMax;
113  }
void ConceptDataWrap::setMinValue ( int  theMin)

Definition at line 100 of file ConceptDataWrap.cxx.

References _minValue.

101  {
102  _minValue = theMin;
103  }

Member Data Documentation

int ConceptDataWrap::_actual
private

Definition at line 114 of file ConceptDataWrap.h.

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

int ConceptDataWrap::_maxShow
private

Definition at line 112 of file ConceptDataWrap.h.

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

int ConceptDataWrap::_maxValue
private

Definition at line 108 of file ConceptDataWrap.h.

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

int ConceptDataWrap::_minShow
private

Definition at line 110 of file ConceptDataWrap.h.

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

int ConceptDataWrap::_minValue
private

Definition at line 106 of file ConceptDataWrap.h.

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

std::string ConceptDataWrap::_name
private

Definition at line 116 of file ConceptDataWrap.h.

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


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