#include <exotkParameter_Integer.hxx>
Inheritance diagram for exotkParameter_Integer:


Public Methods | |
| Standard_EXPORT | exotkParameter_Integer (const Standard_Integer aValue) |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkParameter_Integer () |
| Destructor. More... | |
| virtual Standard_EXPORT void | DeepCopy (const Handle_exotkParameter_Root &aParameterToCopy) |
| copy all the fields of aParameterToCopy into this. More... | |
| Standard_EXPORT Standard_Boolean | SetValue (const Standard_Integer aValue) |
| Set the parameter value to aValue. More... | |
| Standard_EXPORT Standard_Integer | Value () const |
| Return the parameter value. More... | |
| Standard_EXPORT void | SetUpperIntegerLimit (const Standard_Integer aValue) |
| Set the upper limit for the parameter. More... | |
| Standard_EXPORT void | SetLowerIntegerLimit (const Standard_Integer aValue) |
| Set the lower limit for the parameter. More... | |
| Standard_EXPORT void | IntegerLimits (Standard_Integer &aLowerIntegerLimit, Standard_Integer &anUpperIntegerLimit) |
| Return the limits for the parameter. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetParameterAsString (const TCollection_AsciiString &aParameter) |
| Set the parameter with the contant of the string. this function uses atoi to convert the string into integer. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | ParameterAsString () const |
| Return the paramater as string. More... | |
Private Attributes | |
| Standard_Integer | myValue |
| Standard_Integer | myLowerIntegerLimit |
| Standard_Integer | myUpperIntegerLimit |
Definition at line 44 of file exotkParameter_Integer.hxx.
|
|
Constructor.
Definition at line 68 of file exotkParameter_Integer.cxx. References exotkParameter_Type_Integer, myLowerIntegerLimit, exotkParameter_Root::myLowerLimit, exotkParameter_Root::myType, myUpperIntegerLimit, and exotkParameter_Root::myUpperLimit. |
|
|
Destructor.
Definition at line 86 of file exotkParameter_Integer.cxx. |
|
|
copy all the fields of aParameterToCopy into this.
Reimplemented from exotkParameter_Root. Definition at line 90 of file exotkParameter_Integer.cxx. References exotkParameter_Root::DeepCopy(), myValue, and STANDARD_TYPE(). |
|
||||||||||||
|
Return the limits for the parameter.
Definition at line 204 of file exotkParameter_Integer.cxx. References myLowerIntegerLimit, and myUpperIntegerLimit. |
|
|
Return the paramater as string.
Reimplemented from exotkParameter_Root. Definition at line 162 of file exotkParameter_Integer.cxx. References myValue. |
|
|
Set the lower limit for the parameter.
Definition at line 189 of file exotkParameter_Integer.cxx. References myLowerIntegerLimit, and exotkParameter_Root::myLowerLimit. |
|
|
Set the parameter with the contant of the string. this function uses atoi to convert the string into integer.
Reimplemented from exotkParameter_Root. Definition at line 141 of file exotkParameter_Integer.cxx. References exotkUtils::AsciiStringToInteger(), and SetValue(). |
|
|
Set the upper limit for the parameter.
Definition at line 175 of file exotkParameter_Integer.cxx. References myUpperIntegerLimit, and exotkParameter_Root::myUpperLimit. |
|
|
Set the parameter value to aValue.
Definition at line 110 of file exotkParameter_Integer.cxx. References myLowerIntegerLimit, myUpperIntegerLimit, and myValue. Referenced by SetParameterAsString(). |
|
|
Return the parameter value.
Definition at line 128 of file exotkParameter_Integer.cxx. References myValue. |
|
|
the lower limit Definition at line 130 of file exotkParameter_Integer.hxx. Referenced by exotkParameter_Integer(), IntegerLimits(), SetLowerIntegerLimit(), and SetValue(). |
|
|
the upper limit Definition at line 132 of file exotkParameter_Integer.hxx. Referenced by exotkParameter_Integer(), IntegerLimits(), SetUpperIntegerLimit(), and SetValue(). |
|
|
the parameter value Definition at line 128 of file exotkParameter_Integer.hxx. Referenced by DeepCopy(), ParameterAsString(), SetValue(), and Value(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001