#include <unumber.hpp>
Inheritance diagram for UFloatBase:
Public Member Functions | |
UFloatBase (float v=0.0) | |
UFloatBase (const UFloatBase &v) | |
UFloatBase (const UIntgBase &v) | |
UFloatBase (const UStr &v) | |
float | getValue () const |
virtual void | changed (bool update_now) |
called when object's content is changed. | |
void | set (float) |
void | set (const UIntgBase &) |
void | set (const UFloatBase &) |
void | set (const UStr &) |
UFloatBase & | operator= (float v) |
UFloatBase & | operator= (const UFloatBase &v) |
UFloatBase & | operator= (const UIntgBase &v) |
UFloatBase & | operator= (const UStr &v) |
converts and sets value | |
void | incr (float) |
void | incr (const UFloatBase &) |
void | decr (float) |
void | decr (const UFloatBase &) |
UFloatBase & | operator++ () |
UFloatBase & | operator++ (int) |
UFloatBase & | operator-- () |
UFloatBase & | operator-- (int) |
bool | equals (float v) const |
bool | equals (const UIntgBase &v) const |
bool | equals (const UFloatBase &v) const |
Friends | |
bool | operator== (const UFloatBase &v1, float v2) |
bool | operator== (float v1, const UFloatBase &v2) |
bool | operator== (const UFloatBase &v1, const UFloatBase &v2) |
|
converts and sets value the string is supposed to contain a valid float Reimplemented in UFloat. |