class Integer
|
Pool allocated 32 bit signed integers
More... |
|
|
Public Members
- Integer (long value = 0, PoolCell *home = NULL)
- Integer (const Slot &init)
- virtual ~Integer ()
- static Integer * getInteger (long value = 0)
- void operator delete (void* ptr)
- long operator = (long value)
- long value ()
- virtual Data * clone (void * = 0) const
- virtual void check (int=0) const
- virtual bool truth () const
- virtual Slot toconstruct () const
- virtual ostream & dump (ostream& out) const
- static Slot construct (Slot &arg)
- virtual int order (const Slot &arg) const
- virtual bool equal (const Slot &arg) const
- virtual Slot positive ()
- virtual Slot negative ()
- virtual Slot add (const Slot &arg)
- virtual Slot subtract (const Slot &arg)
- virtual Slot multiply (const Slot &arg)
- virtual Slot divide (const Slot &arg)
- virtual Slot modulo (const Slot &arg)
- virtual Slot invert ()
- virtual Slot and (const Slot &arg)
- virtual Slot xor (const Slot &arg)
- virtual Slot or (const Slot &arg)
- virtual Slot lshift (const Slot &arg)
- virtual Slot rshift (const Slot &arg)
- static Integer * abs (Integer*)
- static Integer * random ()
Protected Members
Detailed Description
Pool allocated 32 bit signed integers
[protected] the 32 bit signed integer value of this Integer
[protected] set of all iPool
[protected] _home - in which PoolCell were we allocated?
void operator delete (void* ptr)
|
C++ object Pool deletion
@arg ptr a pointer returned by @see operator new()
@arg extra extra allocation in bytes
@arg where neighborhood into which to allocate
Returns: storage allocated as requested
Generated by: colin@sharedtech.dhis.org on Sat Nov 6 11:59:24 199. |