|
ACF $AcfVersion:0$
|
#include <CComplexDoubleManip.h>
Public Types | |
| typedef CFixedPointManip | BaseClass |
Public Types inherited from imath::CFixedPointManip | |
| enum | RoundingType { RT_NORMAL , RT_FLOOR , RT_CEIL , RT_LAST = RT_CEIL + 1 } |
| typedef CDoubleManip | BaseClass |
Public Member Functions | |
| CComplexDoubleManip (int precision=1, RoundingType roundingType=RT_NORMAL, double scaleFactor=1.0, double offset=0.0, const istd::CRange &range=istd::CRange(-std::numeric_limits< double >::max(), std::numeric_limits< double >::max())) | |
| const istd::CRange & | GetRange () const |
| void | SetRange (const istd::CRange &range) |
| double | GetScaleFactor () const |
| void | SetScaleFactor (double value) |
| double | GetOffset () const |
| void | SetOffset (double value) |
| void | SetPrecision (int precision) |
| virtual QString | GetString (const double &value) const override |
| Get this value as string. | |
| virtual bool | GetParsed (const QString &text, double &result) const override |
| Get value converted from string. | |
Public Member Functions inherited from imath::CFixedPointManip | |
| CFixedPointManip (int precision=1, RoundingType roundingType=RT_NORMAL) | |
| void | SetPrecision (int precision) |
| Set fixed point precision. | |
| RoundingType | GetRoundingType () const |
| Get type of rounding. | |
| void | SetRoundingType (RoundingType roundingType) |
| Set type of rounding. | |
| virtual int | GetPrecision () const override |
| Get number of digits after point. | |
| virtual double | GetRounded (const double &value) const override |
| Get the nearest value rounded used this arithmetik. | |
| virtual bool | AreValuesEqual (const double &value1, const double &value2) const override |
| Compare two values and check, if there are equal. | |
| virtual bool | IsSmaller (const double &value1, const double &value2) const override |
| Compare two values and check, if first one is smaller as the second. | |
| virtual bool | IsSmallerEqual (const double &value1, const double &value2) const override |
| Compare two values and check, if first one is smaller or equal as the second. | |
| virtual double | GetSmallerValue (const double &value) const override |
| Return biggest value smaller that specified one. | |
| virtual double | GetBiggerValue (const double &value) const override |
| Return smallest value bigger that specified one. | |
Public Member Functions inherited from imath::CDoubleManip | |
| CDoubleManip () | |
| char | GetPointChar () const |
| Get point character. | |
| void | SetPointChar (char pointChar) |
| Set point character. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Protected Member Functions | |
| virtual qint32 | GetInternalValue (double value) const override |
Protected Member Functions inherited from imath::CFixedPointManip | |
| virtual double | GetNormalValue (qint32 intValue) const |
| QString | GetString (const double &value, int precision) const |
Additional Inherited Members | |
Protected Types inherited from imath::CFixedPointManip | |
| typedef int(* | RoundingFuntionPtr) (qreal value) |
Protected Types inherited from imath::CDoubleManip | |
| enum | { PRECISION = 6 } |
Definition at line 18 of file CComplexDoubleManip.h.
Definition at line 21 of file CComplexDoubleManip.h.
| imath::CComplexDoubleManip::CComplexDoubleManip | ( | int | precision = 1, |
| RoundingType | roundingType = RT_NORMAL, |
||
| double | scaleFactor = 1.0, |
||
| double | offset = 0.0, |
||
| const istd::CRange & | range = istd::CRange(-std::numeric_limits< double >::max(), std::numeric_limits< double >::max()) |
||
| ) |
|
overrideprotectedvirtual |
Reimplemented from imath::CFixedPointManip.
|
inline |
Definition at line 87 of file CComplexDoubleManip.h.
|
overridevirtual |
Get value converted from string.
| text | input string. |
| result | result value. |
Reimplemented from imath::CFixedPointManip.
|
inline |
Definition at line 61 of file CComplexDoubleManip.h.
|
inline |
Definition at line 73 of file CComplexDoubleManip.h.
|
overridevirtual |
Get this value as string.
| value | value will be converted. |
Reimplemented from imath::CFixedPointManip.
|
inline |
Definition at line 93 of file CComplexDoubleManip.h.
|
inline |
Definition at line 101 of file CComplexDoubleManip.h.
References imath::CFixedPointManip::GetPrecision(), and imath::CFixedPointManip::SetPrecision().
|
inline |
Definition at line 67 of file CComplexDoubleManip.h.
|
inline |
Definition at line 79 of file CComplexDoubleManip.h.
References imath::CFixedPointManip::GetPrecision().