#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 |
Definition at line 17 of file ConceptDataWrap.h.
ConceptDataWrap::ConceptDataWrap | ( | std::string | theName = "" |
) |
ConceptDataWrap::~ConceptDataWrap | ( | ) |
void ConceptDataWrap::fillData | ( | std::string | theName, | |
int | minRepresent, | |||
int | maxRepresent, | |||
int | minShowed, | |||
int | maxShowed, | |||
int | actualShow | |||
) |
Sets the data concept values and name
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 }
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 }
int ConceptDataWrap::getMaxValue | ( | ) |
Definition at line 90 of file ConceptDataWrap.cxx.
References _maxValue.
Referenced by wxContourMainFrame::setVectImages().
00091 { 00092 return _maxValue; 00093 }
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 }
int ConceptDataWrap::getMinValue | ( | ) |
Definition at line 80 of file ConceptDataWrap.cxx.
References _minValue.
Referenced by wxContourMainFrame::setVectImages().
00081 { 00082 return _minValue; 00083 }
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 }
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 }
int ConceptDataWrap::_actual [private] |
Definition at line 89 of file ConceptDataWrap.h.
Referenced by ConceptDataWrap(), fillData(), getActualValue(), isEmpty(), and setActualValue().
int ConceptDataWrap::_maxShow [private] |
Definition at line 87 of file ConceptDataWrap.h.
Referenced by ConceptDataWrap(), fillData(), and getMaxShowedValue().
int ConceptDataWrap::_maxValue [private] |
Definition at line 83 of file ConceptDataWrap.h.
Referenced by ConceptDataWrap(), fillData(), getMaxValue(), and setMaxValue().
int ConceptDataWrap::_minShow [private] |
Definition at line 85 of file ConceptDataWrap.h.
Referenced by ConceptDataWrap(), fillData(), and getMinShowedValue().
int ConceptDataWrap::_minValue [private] |
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().