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


Public Methods | |
| Standard_EXPORT | exotkParameter_Real (const Standard_Real aValue) |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkParameter_Real () |
| 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_Real aValue) |
| Set the parameter to aValue. More... | |
| Standard_EXPORT Standard_Real | Value () const |
| Return the parameter value. More... | |
| Standard_EXPORT void | SetUpperRealLimit (const Standard_Real aValue) |
| Set the upper limit to aValue. More... | |
| Standard_EXPORT void | SetLowerRealLimit (const Standard_Real aValue) |
| Set the lower limit to aValue. More... | |
| Standard_EXPORT void | RealLimits (Standard_Real &aLowerRealLimit, Standard_Real &anUpperRealLimit) |
| return the limits of the parameter. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetParameterAsString (const TCollection_AsciiString &aParameter) |
| Set the parameter as string the function uses atof to convert the string into double. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | ParameterAsString () const |
| Return the parameter as string. More... | |
Private Attributes | |
| Standard_Real | myValue |
| Standard_Real | myLowerRealLimit |
| Standard_Real | myUpperRealLimit |
Definition at line 44 of file exotkParameter_Real.hxx.
|
|
Constructor.
Definition at line 69 of file exotkParameter_Real.cxx. References exotkParameter_Type_Real, exotkParameter_Root::myLowerLimit, myLowerRealLimit, exotkParameter_Root::myType, exotkParameter_Root::myUpperLimit, and myUpperRealLimit. |
|
|
Destructor.
Definition at line 91 of file exotkParameter_Real.cxx. |
|
|
copy all the fields of aParameterToCopy into this.
Reimplemented from exotkParameter_Root. Definition at line 96 of file exotkParameter_Real.cxx. References exotkParameter_Root::DeepCopy(), myLowerRealLimit, myUpperRealLimit, myValue, and STANDARD_TYPE(). |
|
|
Return the parameter as string.
Reimplemented from exotkParameter_Root. Definition at line 171 of file exotkParameter_Real.cxx. References myValue. |
|
||||||||||||
|
return the limits of the parameter.
Definition at line 213 of file exotkParameter_Real.cxx. References myLowerRealLimit, and myUpperRealLimit. |
|
|
Set the lower limit to aValue.
Definition at line 198 of file exotkParameter_Real.cxx. References exotkParameter_Root::myLowerLimit, and myLowerRealLimit. |
|
|
Set the parameter as string the function uses atof to convert the string into double.
Reimplemented from exotkParameter_Root. Definition at line 146 of file exotkParameter_Real.cxx. References exotkUtils::AsciiStringToReal(), and SetValue(). |
|
|
Set the upper limit to aValue.
Definition at line 184 of file exotkParameter_Real.cxx. References exotkParameter_Root::myUpperLimit, and myUpperRealLimit. |
|
|
Set the parameter to aValue.
Definition at line 115 of file exotkParameter_Real.cxx. References myLowerRealLimit, myUpperRealLimit, and myValue. Referenced by SetParameterAsString(). |
|
|
Return the parameter value.
Definition at line 133 of file exotkParameter_Real.cxx. References myValue. |
|
|
the lower limit Definition at line 130 of file exotkParameter_Real.hxx. Referenced by DeepCopy(), exotkParameter_Real(), RealLimits(), SetLowerRealLimit(), and SetValue(). |
|
|
the upper limit Definition at line 132 of file exotkParameter_Real.hxx. Referenced by DeepCopy(), exotkParameter_Real(), RealLimits(), SetUpperRealLimit(), and SetValue(). |
|
|
the parameter value Definition at line 128 of file exotkParameter_Real.hxx. Referenced by DeepCopy(), ParameterAsString(), SetValue(), and Value(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001