ICF 3.0.5.47
Technical documentation of ICF Libraries
imath::CComplexDoubleManip Class Reference

#include <CComplexDoubleManip.h>

Inheritance diagram for imath::CComplexDoubleManip:
Collaboration diagram for imath::CComplexDoubleManip:

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::CRangeGetRange () 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
 Get this value as string.
 
virtual bool GetParsed (const QString &text, double &result) const
 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
 Get number of digits after point.
 
virtual double GetRounded (const double &value) const
 Get the nearest value rounded used this arithmetik.
 
virtual bool IsEqual (const double &value1, const double &value2) const
 Compare two values and check, if there are equal.
 
virtual bool IsSmaller (const double &value1, const double &value2) const
 Compare two values and check, if first one is smaller as the second.
 
virtual bool IsSmallerEqual (const double &value1, const double &value2) const
 Compare two values and check, if first one is smaller or equal as the second.
 
virtual double GetSmallerValue (const double &value) const
 Return biggest value smaller that specified one.
 
virtual double GetBiggerValue (const double &value) const
 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 imath::IDoubleManip
- Public Member Functions inherited from imath::TIValueManip< double >

Protected Member Functions

virtual qint32 GetInternalValue (double value) const
 
- 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 }
 

Detailed Description

Definition at line 23 of file CComplexDoubleManip.h.

Member Typedef Documentation

◆ BaseClass

Constructor & Destructor Documentation

◆ CComplexDoubleManip()

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()) )

Member Function Documentation

◆ GetInternalValue()

virtual qint32 imath::CComplexDoubleManip::GetInternalValue ( double value) const
protectedvirtual

Reimplemented from imath::CFixedPointManip.

◆ GetOffset()

double imath::CComplexDoubleManip::GetOffset ( ) const
inline

Definition at line 92 of file CComplexDoubleManip.h.

◆ GetParsed()

virtual bool imath::CComplexDoubleManip::GetParsed ( const QString & text,
double & result ) const
virtual

Get value converted from string.

Parameters
textinput string.
resultresult value.
Returns
true if success.

Reimplemented from imath::CFixedPointManip.

◆ GetRange()

const istd::CRange & imath::CComplexDoubleManip::GetRange ( ) const
inline

Definition at line 66 of file CComplexDoubleManip.h.

◆ GetScaleFactor()

double imath::CComplexDoubleManip::GetScaleFactor ( ) const
inline

Definition at line 78 of file CComplexDoubleManip.h.

◆ GetString()

virtual QString imath::CComplexDoubleManip::GetString ( const double & value) const
virtual

Get this value as string.

Parameters
valuevalue will be converted.

Reimplemented from imath::CFixedPointManip.

◆ SetOffset()

void imath::CComplexDoubleManip::SetOffset ( double value)
inline

Definition at line 98 of file CComplexDoubleManip.h.

◆ SetPrecision()

void imath::CComplexDoubleManip::SetPrecision ( int precision)
inline

◆ SetRange()

void imath::CComplexDoubleManip::SetRange ( const istd::CRange & range)
inline

Definition at line 72 of file CComplexDoubleManip.h.

◆ SetScaleFactor()

void imath::CComplexDoubleManip::SetScaleFactor ( double value)
inline

Definition at line 84 of file CComplexDoubleManip.h.

References imath::CFixedPointManip::GetPrecision().


The documentation for this class was generated from the following file:

© Witold Gantzke and Kirill Lepskiy