#include <ot_lib.h>

Public Member Functions | |
| ot_float (float val=0) | |
| ot_float (const ot_float &c) | |
| Copy constructor. | |
| ot_obj * | dup (void) const |
| ot_float | operator= (const ot_float &c) |
| Op. =. | |
| bool | operator== (const ot_float &c) const |
| Op. ==. | |
| bool | operator!= (const ot_float &c) |
| Op. !=. | |
| ot_float | operator+ (const ot_float &c) const |
| Operator +. | |
| ot_float | operator- (const ot_float &c) const |
| Operator -. | |
| ot_float | operator* (const ot_float &c) const |
| Operator *. | |
| ot_float | operator/ (const ot_float &c) const |
| Operator /. | |
| void | operator+= (const ot_float &c) |
| Operator +=. | |
| void | operator-= (const ot_float &c) |
| Operator -=. | |
| void | operator*= (const ot_float &c) |
| Operator *=. | |
| void | operator/= (const ot_float &c) |
| Operator /=. | |
| void | operator++ (void) |
| Operator ++. | |
| void | operator-- (void) |
| Operator --. | |
| operator float (void) const | |
| Cast operator. | |
Implementation of the base float object
| ot_lib::ot_float::ot_float | ( | float | val = 0 |
) | [inline] |
Constructor
| val | The value |
| ot_lib::ot_float::ot_float | ( | const ot_float & | c | ) | [inline] |
Copy constructor.
| ot_obj* ot_lib::ot_float::dup | ( | void | ) | const [inline, virtual] |
Clone the object and return the pointer of the new object
Implements ot_lib::ot_obj.
| bool ot_lib::ot_float::operator== | ( | const ot_float & | c | ) | const [inline] |
Op. ==.
| bool ot_lib::ot_float::operator!= | ( | const ot_float & | c | ) | [inline] |
Op. !=.
| void ot_lib::ot_float::operator+= | ( | const ot_float & | c | ) | [inline] |
Operator +=.
| void ot_lib::ot_float::operator-= | ( | const ot_float & | c | ) | [inline] |
Operator -=.
| void ot_lib::ot_float::operator*= | ( | const ot_float & | c | ) | [inline] |
Operator *=.
| void ot_lib::ot_float::operator/= | ( | const ot_float & | c | ) | [inline] |
Operator /=.
| void ot_lib::ot_float::operator++ | ( | void | ) | [inline] |
Operator ++.
| void ot_lib::ot_float::operator-- | ( | void | ) | [inline] |
Operator --.
| ot_lib::ot_float::operator float | ( | void | ) | const [inline] |
Cast operator.
1.5.5