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