Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UIntgBase Class Reference

Integer Base Class. More...

#include <unumber.hpp>

Inheritance diagram for UIntgBase:

UIntg UScale List of all members.

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 &)
UIntgBaseoperator= (int v)
UIntgBaseoperator= (const UIntgBase &v)
UIntgBaseoperator= (const UFloatBase &v)
UIntgBaseoperator= (const UStr &v)
 converts and sets value
void incr (int)
void incr (const UIntgBase &)
void decr (int)
void decr (const UIntgBase &)
UIntgBaseoperator++ ()
UIntgBaseoperator++ (int)
UIntgBaseoperator-- ()
UIntgBaseoperator-- (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)

Detailed Description

Integer Base Class.


Member Function Documentation

UIntgBase& UIntgBase::operator= const UStr v  ) 
 

converts and sets value

the string is supposed to contain a valid integer

Reimplemented in UIntg.


The documentation for this class was generated from the following files:
Generated on Thu May 19 12:40:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2