![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Interface for all classes providing simply arithmetic functions on predefined data type. More...
#include <TIValueManip.h>
Inherits istd::IPolymorphic.
Public Member Functions | |
virtual ValueType | GetRounded (const ValueType &value) const =0 |
Get the nearest value rounded used this arithmetik. | |
virtual bool | IsEqual (const ValueType &value1, const ValueType &value2) const =0 |
Compare two values and check, if there are equal. | |
virtual bool | IsSmaller (const ValueType &value1, const ValueType &value2) const =0 |
Compare two values and check, if first one is smaller as the second. | |
virtual bool | IsSmallerEqual (const ValueType &value1, const ValueType &value2) const =0 |
Compare two values and check, if first one is smaller or equal as the second. | |
virtual QString | GetString (const ValueType &value) const =0 |
Get this value as string. | |
virtual bool | GetParsed (const QString &text, ValueType &result) const =0 |
Get value converted from string. | |
virtual ValueType | GetSmallerValue (const ValueType &value) const =0 |
Return biggest value smaller that specified one. | |
virtual ValueType | GetBiggerValue (const ValueType &value) const =0 |
Return smallest value bigger that specified one. | |
Interface for all classes providing simply arithmetic functions on predefined data type.
Definition at line 27 of file TIValueManip.h.
|
pure virtual |
Return smallest value bigger that specified one.
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
|
pure virtual |
Get value converted from string.
text | input string. |
result | result value. |
Implemented in imath::CComplexDoubleManip, imath::CDoubleManip, and imath::CFixedPointManip.
|
pure virtual |
Get the nearest value rounded used this arithmetik.
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
Referenced by icmm::TComposedColor< Size >::GetRounded().
|
pure virtual |
Return biggest value smaller that specified one.
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
|
pure virtual |
Get this value as string.
value | value will be converted. |
Implemented in imath::CComplexDoubleManip, imath::CDoubleManip, and imath::CFixedPointManip.
|
pure virtual |
Compare two values and check, if there are equal.
value1 | first value. |
value2 | second value. |
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
Referenced by icmm::TComposedColor< Size >::IsRoundedEqual().
|
pure virtual |
Compare two values and check, if first one is smaller as the second.
value1 | first value. |
value2 | second value. |
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
|
pure virtual |
Compare two values and check, if first one is smaller or equal as the second.
value1 | first value. |
value2 | second value. |
Implemented in imath::CDoubleManip, and imath::CFixedPointManip.
© Witold Gantzke and Kirill Lepskiy