Inheritance diagram for Exponent::Basics::CFloat:

Basic wrapper around a built in float type giving it CCountedObject functionality
Definition at line 37 of file CFloat.hpp.
| Exponent::Basics::CFloat::CFloat | ( | const float | value = 0.f |
) |
Construction
| value | The value to store |
| virtual Exponent::Basics::CFloat::~CFloat | ( | ) | [virtual] |
Destruction
| virtual void Exponent::Basics::CFloat::getObjectDescription | ( | char * | string, | |
| const long | size | |||
| ) | const [virtual] |
Get a description of the object
| string | On return is filled with the description | |
| size | The size of the stirng |
Reimplemented from Exponent::Basics::CCountedObject.
| float Exponent::Basics::CFloat::getValue | ( | ) | const |
Get the value
| double | The value |
| CString Exponent::Basics::CFloat::getValueAsString | ( | const long | decimalPlaces = 2 |
) | const |
Get as a string
| decimalPlaces | The number of decimal places precision required |
| CString* | The double as a string (up to you to delete the CString returned) |
| CFloat& Exponent::Basics::CFloat::operator * | ( | const float | value | ) |
Multiplication operator
| value | The value to multiply with this |
| CFloat& | A reference to this |
Multiplication operator
| value | The value to multiply with this |
| CFloat& | A reference to this |
| bool Exponent::Basics::CFloat::operator! | ( | ) |
! operator
| bool | True if value == 0, false otherwise |
| bool Exponent::Basics::CFloat::operator!= | ( | const float | value | ) |
InEquality operator
| value | The value to compare to |
| bool | True if values are inequal, false otherwise |
| bool Exponent::Basics::CFloat::operator!= | ( | const CFloat & | value | ) |
InEquality operator
| value | The value to compare to |
| bool | True if values are inequal, false otherwise |
| CFloat& Exponent::Basics::CFloat::operator+ | ( | const float | value | ) |
Addition operator
| value | The value to add to this |
| CFloat& | A reference to this |
Addition operator
| value | The value to add to this |
| CFloat& | A reference to this |
| CFloat& Exponent::Basics::CFloat::operator+= | ( | const float | value | ) |
Plus equals operator
| value | The value to add to this |
| CFloat& | A reference to this |
Plus equals operator
| value | The value to add to this |
| CFloat& | A reference to this |
| CFloat& Exponent::Basics::CFloat::operator- | ( | const float | value | ) |
Subtraction operator
| value | The value to subtract from this |
| CFloat& | A reference to this |
Subtraction operator
| value | The value to subtract from this |
| CFloat& | A reference to this |
| CFloat& Exponent::Basics::CFloat::operator-= | ( | const float | value | ) |
Neg equals operator
| value | The value to subtract from this |
| CFloat& | A reference to this |
Neg equals operator
| value | The value to subtract from this |
| CFloat& | A reference to this |
| CFloat& Exponent::Basics::CFloat::operator/ | ( | const float | value | ) |
Division operator
| value | The value to divide with this |
| CFloat& | A reference to this |
Division operator
| value | The value to divide with this |
| CFloat& | A reference to this |
| CFloat& Exponent::Basics::CFloat::operator= | ( | const float | value | ) |
Assignment operator
| value | The value to store |
| CFloat& | A reference to this |
Assignment operator
| value | The value to store |
| CFloat& | A reference to this |
| bool Exponent::Basics::CFloat::operator== | ( | const float | value | ) |
Equality operator
| value | The value to compare to |
| bool | True if values are equal, false otherwise |
| bool Exponent::Basics::CFloat::operator== | ( | const CFloat & | value | ) |
Equality operator
| value | The value to compare to |
| bool | True if values are equal, false otherwise |
| void Exponent::Basics::CFloat::setValue | ( | const float | value | ) |
Set the value
| value | The value to store |
| void Exponent::Basics::CFloat::setValue | ( | const CFloat & | value | ) |
Set the value
| value | The value to store |
float Exponent::Basics::CFloat::m_value [protected] |
The value stored
Definition at line 236 of file CFloat.hpp.