Pol  Rev 533
BLong Class Reference

#include <bobject.h>

+ Inheritance diagram for BLong:
+ Collaboration diagram for BLong:

List of all members.

Public Member Functions

 BLong (int lval=0L)
 BLong (const BLong &L)
virtual BObjectImpbitnot () const
virtual BObjectImpcopy () const
void copyvalue (const BLong &ni)
virtual std::string getStringRep () const
int increment ()
virtual BObjectImpinverse () const
virtual bool isEqual (const BObjectImp &objimp) const
virtual bool isGE (int val) const
virtual bool isGT (int val) const
virtual bool isLE (const BObjectImp &objimp) const
virtual bool isLessThan (const BObjectImp &objimp) const
virtual bool isLT (const BObjectImp &objimp) const
virtual bool isTrue () const
void operator delete (void *)
void operator delete (void *, size_t)
void * operator new (std::size_t len)
virtual std::string pack () const
virtual void packonto (std::ostream &os) const
virtual void printOn (std::ostream &) const
virtual BObjectImpselfBitAndObj (const BLong &objimp) const
virtual void selfBitAndObj (BLong &objimp, BObject &obj)
virtual BObjectImpselfBitAndObjImp (const BObjectImp &objimp) const
virtual void selfBitAndObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfBitOrObj (const BLong &objimp) const
virtual void selfBitOrObj (BLong &objimp, BObject &obj)
virtual BObjectImpselfBitOrObjImp (const BObjectImp &objimp) const
virtual void selfBitOrObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfBitShiftLeftObj (const BLong &objimp) const
virtual void selfBitShiftLeftObj (BLong &objimp, BObject &obj)
virtual BObjectImpselfBitShiftLeftObjImp (const BObjectImp &objimp) const
virtual void selfBitShiftLeftObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfBitShiftRightObj (const BLong &objimp) const
virtual void selfBitShiftRightObj (BLong &objimp, BObject &obj)
virtual BObjectImpselfBitShiftRightObjImp (const BObjectImp &objimp) const
virtual void selfBitShiftRightObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfBitXorObj (const BLong &objimp) const
virtual void selfBitXorObj (BLong &objimp, BObject &obj)
virtual BObjectImpselfBitXorObjImp (const BObjectImp &objimp) const
virtual void selfBitXorObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfDividedByObj (const BLong &objimp) const
virtual BObjectImpselfDividedByObj (const Double &objimp) const
virtual void selfDividedByObj (BLong &objimp, BObject &obj)
virtual void selfDividedByObj (Double &objimp, BObject &obj)
virtual BObjectImpselfDividedByObjImp (const BObjectImp &objimp) const
virtual void selfDividedByObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfMinusObj (const BLong &objimp) const
virtual BObjectImpselfMinusObj (const Double &objimp) const
virtual BObjectImpselfMinusObj (const String &objimp) const
virtual void selfMinusObj (BLong &objimp, BObject &obj)
virtual void selfMinusObj (Double &objimp, BObject &obj)
virtual void selfMinusObj (String &objimp, BObject &obj)
virtual BObjectImpselfMinusObjImp (const BObjectImp &objimp) const
virtual void selfMinusObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfModulusObj (const BLong &objimp) const
virtual BObjectImpselfModulusObj (const Double &objimp) const
virtual void selfModulusObj (BLong &objimp, BObject &obj)
virtual void selfModulusObj (Double &objimp, BObject &obj)
virtual BObjectImpselfModulusObjImp (const BObjectImp &objimp) const
virtual void selfModulusObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfPlusObj (const BLong &objimp) const
virtual BObjectImpselfPlusObj (const Double &objimp) const
virtual BObjectImpselfPlusObj (const String &objimp) const
virtual void selfPlusObj (BLong &objimp, BObject &obj)
virtual void selfPlusObj (Double &objimp, BObject &obj)
virtual void selfPlusObj (String &objimp, BObject &obj)
virtual BObjectImpselfPlusObjImp (const BObjectImp &objimp) const
virtual void selfPlusObjImp (BObjectImp &objimp, BObject &obj)
virtual BObjectImpselfTimesObj (const BLong &objimp) const
virtual BObjectImpselfTimesObj (const Double &objimp) const
virtual void selfTimesObj (BLong &objimp, BObject &obj)
virtual void selfTimesObj (Double &objimp, BObject &obj)
virtual BObjectImpselfTimesObjImp (const BObjectImp &objimp) const
virtual void selfTimesObjImp (BObjectImp &objimp, BObject &obj)
virtual size_t sizeEstimate () const
int value () const

Static Public Member Functions

static std::string pack (int val)
static BObjectImpunpack (const char *pstr)
static BObjectImpunpack (std::istream &is)

Protected Attributes

int lval_

Private Member Functions

 ~BLong ()

Friends

class GCCHelper

Detailed Description

Definition at line 546 of file bobject.h.


Constructor & Destructor Documentation

BLong::BLong ( int  lval = 0L) [explicit]
BLong::BLong ( const BLong L)

Definition at line 27 of file blong.cpp.

BLong::~BLong ( ) [inline, private]

Definition at line 560 of file bobject.h.


Member Function Documentation

BObjectImp * BLong::bitnot ( ) const [virtual]

Reimplemented from BObjectImp.

Definition at line 405 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

BObjectImp * BLong::copy ( void  ) const [virtual]

Implements BObjectImp.

Definition at line 81 of file blong.cpp.

References BLong().

Referenced by ObjArray::selfPlusObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BLong::copyvalue ( const BLong ni) [inline]

Definition at line 581 of file bobject.h.

References lval_.

string BLong::getStringRep ( ) const [virtual]

Implements BObjectImp.

Definition at line 145 of file blong.cpp.

References lval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.

Referenced by String::selfMinusObj(), selfMinusObj(), String::selfPlusObj(), and selfPlusObj().

+ Here is the caller graph for this function:

int BLong::increment ( ) [inline]

Definition at line 576 of file bobject.h.

References lval_.

Referenced by Executor::ins_nextfor(), Executor::ins_stepforeach(), BXMLNodeIterator::step(), BXMLAttributeIterator::step(), and ArrayIterator::step().

+ Here is the caller graph for this function:

virtual BObjectImp* BLong::inverse ( ) const [inline, virtual]

Reimplemented from BObjectImp.

Definition at line 580 of file bobject.h.

References BLong(), and lval_.

+ Here is the call graph for this function:

bool BLong::isEqual ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 96 of file blong.cpp.

References BObjectImp::isa(), lval_, BObjectImp::OTDouble, and BObjectImp::OTLong.

+ Here is the call graph for this function:

bool BLong::isGE ( int  val) const [virtual]

Reimplemented from BObjectImp.

Definition at line 140 of file blong.cpp.

References lval_.

bool BLong::isGT ( int  val) const [virtual]

Reimplemented from BObjectImp.

Definition at line 136 of file blong.cpp.

References lval_.

bool BLong::isLE ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 128 of file blong.cpp.

References BObjectImp::isGE(), and lval_.

+ Here is the call graph for this function:

bool BLong::isLessThan ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 112 of file blong.cpp.

References BObjectImp::isa(), lval_, BObjectImp::OTDouble, and BObjectImp::OTLong.

+ Here is the call graph for this function:

bool BLong::isLT ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 132 of file blong.cpp.

References BObjectImp::isGT(), and lval_.

+ Here is the call graph for this function:

bool BLong::isTrue ( void  ) const [virtual]

Reimplemented from BObjectImp.

Definition at line 91 of file blong.cpp.

References lval_.

void BLong::operator delete ( void *  p) [inline]

Definition at line 672 of file bobject.h.

References fixed_allocator< N, B >::deallocate().

+ Here is the call graph for this function:

void BLong::operator delete ( void *  p,
size_t  len 
) [inline]

Definition at line 676 of file bobject.h.

References fixed_allocator< N, B >::deallocate().

+ Here is the call graph for this function:

void * BLong::operator new ( std::size_t  len) [inline]

Definition at line 667 of file bobject.h.

References fixed_allocator< N, B >::allocate(), and passert_paranoid.

+ Here is the call graph for this function:

string BLong::pack ( ) const [virtual]

Reimplemented from BObjectImp.

Definition at line 34 of file blong.cpp.

References lval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.

Referenced by ItemGivenEvent::ItemGivenEvent().

+ Here is the caller graph for this function:

string BLong::pack ( int  val) [static]

Definition at line 41 of file blong.cpp.

References OSTRINGSTREAM, and OSTRINGSTREAM_STR.

void BLong::packonto ( std::ostream &  os) const [virtual]

Reimplemented from BObjectImp.

Definition at line 49 of file blong.cpp.

References lval_.

void BLong::printOn ( std::ostream &  os) const [virtual]

Reimplemented from BObjectImp.

Definition at line 69 of file objstrm.cpp.

References lval_.

BObjectImp * BLong::selfBitAndObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 358 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

void BLong::selfBitAndObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 366 of file blong.cpp.

References lval_.

BObjectImp * BLong::selfBitAndObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 354 of file blong.cpp.

References BObjectImp::selfBitAndObj().

+ Here is the call graph for this function:

void BLong::selfBitAndObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 362 of file blong.cpp.

References BObjectImp::selfBitAndObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfBitOrObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 375 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

void BLong::selfBitOrObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 383 of file blong.cpp.

References lval_.

BObjectImp * BLong::selfBitOrObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 371 of file blong.cpp.

References BObjectImp::selfBitOrObj().

+ Here is the call graph for this function:

void BLong::selfBitOrObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 379 of file blong.cpp.

References BObjectImp::selfBitOrObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfBitShiftLeftObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 341 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

void BLong::selfBitShiftLeftObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 349 of file blong.cpp.

References lval_.

BObjectImp * BLong::selfBitShiftLeftObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 337 of file blong.cpp.

References BObjectImp::selfBitShiftLeftObj().

+ Here is the call graph for this function:

void BLong::selfBitShiftLeftObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 345 of file blong.cpp.

References BObjectImp::selfBitShiftLeftObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfBitShiftRightObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 324 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

void BLong::selfBitShiftRightObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 332 of file blong.cpp.

References lval_.

BObjectImp * BLong::selfBitShiftRightObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 320 of file blong.cpp.

References BObjectImp::selfBitShiftRightObj().

+ Here is the call graph for this function:

void BLong::selfBitShiftRightObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 328 of file blong.cpp.

References BObjectImp::selfBitShiftRightObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfBitXorObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 392 of file blong.cpp.

References BLong(), and lval_.

+ Here is the call graph for this function:

void BLong::selfBitXorObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 400 of file blong.cpp.

References lval_.

BObjectImp * BLong::selfBitXorObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 388 of file blong.cpp.

References BObjectImp::selfBitXorObj().

+ Here is the call graph for this function:

void BLong::selfBitXorObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 396 of file blong.cpp.

References BObjectImp::selfBitXorObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfDividedByObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 251 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfDividedByObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * BLong::selfDividedByObj ( const Double objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 259 of file blong.cpp.

References lval_, and Double::value().

+ Here is the call graph for this function:

void BLong::selfDividedByObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 271 of file blong.cpp.

References lval_, and BObject::setimp().

+ Here is the call graph for this function:

void BLong::selfDividedByObj ( Double objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 278 of file blong.cpp.

References selfDividedByObj(), and BObject::setimp().

+ Here is the call graph for this function:

BObjectImp * BLong::selfDividedByObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 247 of file blong.cpp.

References BObjectImp::selfDividedByObj().

+ Here is the call graph for this function:

void BLong::selfDividedByObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 267 of file blong.cpp.

References BObjectImp::selfDividedByObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfMinusObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 192 of file blong.cpp.

References BLong(), lval_, and value().

Referenced by selfMinusObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * BLong::selfMinusObj ( const Double objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 196 of file blong.cpp.

References lval_, and Double::value().

+ Here is the call graph for this function:

BObjectImp * BLong::selfMinusObj ( const String objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 200 of file blong.cpp.

References getStringRep(), and String::selfMinusObj().

+ Here is the call graph for this function:

void BLong::selfMinusObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 209 of file blong.cpp.

References lval_, and value().

+ Here is the call graph for this function:

void BLong::selfMinusObj ( Double objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 213 of file blong.cpp.

References selfMinusObj(), and BObject::setimp().

+ Here is the call graph for this function:

void BLong::selfMinusObj ( String objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 217 of file blong.cpp.

References selfMinusObj(), and BObject::setimp().

+ Here is the call graph for this function:

BObjectImp * BLong::selfMinusObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 188 of file blong.cpp.

References BObjectImp::selfMinusObj().

+ Here is the call graph for this function:

void BLong::selfMinusObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 205 of file blong.cpp.

References BObjectImp::selfMinusObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfModulusObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 287 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfModulusObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * BLong::selfModulusObj ( const Double objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 295 of file blong.cpp.

References lval_, and Double::value().

+ Here is the call graph for this function:

void BLong::selfModulusObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 307 of file blong.cpp.

References lval_, and BObject::setimp().

+ Here is the call graph for this function:

void BLong::selfModulusObj ( Double objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 314 of file blong.cpp.

References selfModulusObj(), and BObject::setimp().

+ Here is the call graph for this function:

BObjectImp * BLong::selfModulusObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 283 of file blong.cpp.

References BObjectImp::selfModulusObj().

+ Here is the call graph for this function:

void BLong::selfModulusObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 303 of file blong.cpp.

References BObjectImp::selfModulusObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfPlusObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 158 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfPlusObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * BLong::selfPlusObj ( const Double objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 162 of file blong.cpp.

References lval_, and Double::value().

+ Here is the call graph for this function:

BObjectImp * BLong::selfPlusObj ( const String objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 166 of file blong.cpp.

References String::data(), and getStringRep().

+ Here is the call graph for this function:

void BLong::selfPlusObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 175 of file blong.cpp.

References lval_, and value().

+ Here is the call graph for this function:

void BLong::selfPlusObj ( Double objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 179 of file blong.cpp.

References selfPlusObj(), and BObject::setimp().

+ Here is the call graph for this function:

void BLong::selfPlusObj ( String objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 183 of file blong.cpp.

References selfPlusObj(), and BObject::setimp().

+ Here is the call graph for this function:

BObjectImp * BLong::selfPlusObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 154 of file blong.cpp.

References BObjectImp::selfPlusObj().

+ Here is the call graph for this function:

void BLong::selfPlusObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 171 of file blong.cpp.

References BObjectImp::selfPlusObj().

+ Here is the call graph for this function:

BObjectImp * BLong::selfTimesObj ( const BLong objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 226 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfTimesObj().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BObjectImp * BLong::selfTimesObj ( const Double objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 230 of file blong.cpp.

References lval_, and Double::value().

+ Here is the call graph for this function:

void BLong::selfTimesObj ( BLong objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 238 of file blong.cpp.

References lval_.

void BLong::selfTimesObj ( Double objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 242 of file blong.cpp.

References selfTimesObj(), and BObject::setimp().

+ Here is the call graph for this function:

BObjectImp * BLong::selfTimesObjImp ( const BObjectImp objimp) const [virtual]

Reimplemented from BObjectImp.

Definition at line 222 of file blong.cpp.

References BObjectImp::selfTimesObj().

+ Here is the call graph for this function:

void BLong::selfTimesObjImp ( BObjectImp objimp,
BObject obj 
) [virtual]

Reimplemented from BObjectImp.

Definition at line 234 of file blong.cpp.

References BObjectImp::selfTimesObj().

+ Here is the call graph for this function:

size_t BLong::sizeEstimate ( ) const [virtual]

Implements BObjectImp.

Definition at line 86 of file blong.cpp.

References BLong().

+ Here is the call graph for this function:

BObjectImp * BLong::unpack ( const char *  pstr) [static]

Reimplemented from BObjectImp.

Definition at line 54 of file blong.cpp.

References BLong(), and ISTRINGSTREAM.

+ Here is the call graph for this function:

BObjectImp * BLong::unpack ( std::istream &  is) [static]

Reimplemented from BObjectImp.

Definition at line 68 of file blong.cpp.

References BLong().

+ Here is the call graph for this function:

int BLong::value ( ) const [inline]

Friends And Related Function Documentation

friend class GCCHelper [friend]

Definition at line 557 of file bobject.h.


Member Data Documentation


The documentation for this class was generated from the following files: