Pol  Revision:3cfda13
Pol::Bscript::BLong Class Reference

#include <bobject.h>

+ Inheritance diagram for Pol::Bscript::BLong:

Public Member Functions

 BLong (int lval=0L)
 
 BLong (const BLong &L)
 
virtual BObjectImpbitnot () const POL_OVERRIDE
 
virtual BObjectImpcopy () const POL_OVERRIDE
 
void copyvalue (const BLong &ni)
 
virtual std::string getStringRep () const POL_OVERRIDE
 
int increment ()
 
virtual BObjectImpinverse () const POL_OVERRIDE
 
virtual bool isTrue () const POL_OVERRIDE
 
void operator delete (void *)
 
void operator delete (void *, size_t)
 
void * operator new (std::size_t len)
 
virtual bool operator< (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual bool operator== (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual std::string pack () const POL_OVERRIDE
 
virtual void packonto (std::ostream &os) const POL_OVERRIDE
 
virtual void printOn (std::ostream &) const POL_OVERRIDE
 
virtual BObjectImpselfBitAndObj (const BLong &objimp) const POL_OVERRIDE
 
virtual void selfBitAndObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitAndObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfBitAndObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitOrObj (const BLong &objimp) const POL_OVERRIDE
 
virtual void selfBitOrObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitOrObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfBitOrObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitShiftLeftObj (const BLong &objimp) const POL_OVERRIDE
 
virtual void selfBitShiftLeftObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitShiftLeftObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfBitShiftLeftObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitShiftRightObj (const BLong &objimp) const POL_OVERRIDE
 
virtual void selfBitShiftRightObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitShiftRightObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfBitShiftRightObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitXorObj (const BLong &objimp) const POL_OVERRIDE
 
virtual void selfBitXorObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfBitXorObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfBitXorObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfDividedByObj (const BLong &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfDividedByObj (const Double &objimp) const POL_OVERRIDE
 
virtual void selfDividedByObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfDividedByObj (Double &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfDividedByObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfDividedByObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfMinusObj (const BLong &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfMinusObj (const Double &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfMinusObj (const String &objimp) const POL_OVERRIDE
 
virtual void selfMinusObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfMinusObj (Double &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfMinusObj (String &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfMinusObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfMinusObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfModulusObj (const BLong &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfModulusObj (const Double &objimp) const POL_OVERRIDE
 
virtual void selfModulusObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfModulusObj (Double &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfModulusObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfModulusObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfPlusObj (const BLong &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfPlusObj (const Double &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfPlusObj (const String &objimp) const POL_OVERRIDE
 
virtual void selfPlusObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfPlusObj (Double &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfPlusObj (String &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfPlusObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfPlusObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfTimesObj (const BLong &objimp) const POL_OVERRIDE
 
virtual BObjectImpselfTimesObj (const Double &objimp) const POL_OVERRIDE
 
virtual void selfTimesObj (BLong &objimp, BObject &obj) POL_OVERRIDE
 
virtual void selfTimesObj (Double &objimp, BObject &obj) POL_OVERRIDE
 
virtual BObjectImpselfTimesObjImp (const BObjectImp &objimp) const POL_OVERRIDE
 
virtual void selfTimesObjImp (BObjectImp &objimp, BObject &obj) POL_OVERRIDE
 
virtual size_t sizeEstimate () const POL_OVERRIDE
 
int value () const
 
- Public Member Functions inherited from Pol::Bscript::BObjectImp
 BObjectImp (BObjectType type)
 
virtual ~BObjectImp ()
 
virtual BObjectImparray_assign (BObjectImp *idx, BObjectImp *target, bool copy)
 
virtual BObjectImpcall_method (const char *methodname, Executor &ex)
 
virtual BObjectImpcall_method_id (const int id, Executor &ex, bool forcebuiltin=false)
 
virtual long contains (const BObjectImp &objimp) const
 
virtual ContIteratorcreateIterator (BObject *pIterVal)
 
virtual BObjectRef get_member (const char *membername)
 
virtual BObjectRef get_member_id (const int id)
 
virtual std::string getFormattedStringRep () const
 
unsigned int instance () const
 
bool isa (BObjectType type) const
 
virtual char member (const BObject &obj) const
 
virtual bool operator!= (const BObjectImp &objimp) const
 
virtual BObject operator- () const
 
virtual bool operator<= (const BObjectImp &objimp) const
 
virtual bool operator> (const BObjectImp &objimp) const
 
virtual bool operator>= (const BObjectImp &objimp) const
 
virtual void operDivideEqual (BObject &obj, BObjectImp &objimp)
 
virtual BObjectRef operDotMinus (const char *name)
 
virtual BObjectRef operDotPlus (const char *name)
 
virtual BObjectRef operDotQMark (const char *name)
 
virtual void operInsertInto (BObject &obj, const BObjectImp &objimp)
 
virtual void operMinusEqual (BObject &obj, BObjectImp &objimp)
 
virtual void operModulusEqual (BObject &obj, BObjectImp &objimp)
 
virtual BObjectRef OperMultiSubscript (std::stack< BObjectRef > &indices)
 
virtual BObjectRef OperMultiSubscriptAssign (std::stack< BObjectRef > &indices, BObjectImp *target)
 
virtual void operPlusEqual (BObject &obj, BObjectImp &objimp)
 
virtual BObjectRef OperSubscript (const BObject &obj)
 
virtual void operTimesEqual (BObject &obj, BObjectImp &objimp)
 
virtual BObjectImpselfBitAndObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitAndObj (const Double &objimp) const
 
virtual BObjectImpselfBitAndObj (const String &objimp) const
 
virtual BObjectImpselfBitAndObj (const ObjArray &objimp) const
 
virtual void selfBitAndObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfBitAndObj (Double &objimp, BObject &obj)
 
virtual void selfBitAndObj (String &objimp, BObject &obj)
 
virtual void selfBitAndObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfBitOrObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitOrObj (const Double &objimp) const
 
virtual BObjectImpselfBitOrObj (const String &objimp) const
 
virtual BObjectImpselfBitOrObj (const ObjArray &objimp) const
 
virtual void selfBitOrObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfBitOrObj (Double &objimp, BObject &obj)
 
virtual void selfBitOrObj (String &objimp, BObject &obj)
 
virtual void selfBitOrObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfBitShiftLeftObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitShiftLeftObj (const Double &objimp) const
 
virtual BObjectImpselfBitShiftLeftObj (const String &objimp) const
 
virtual BObjectImpselfBitShiftLeftObj (const ObjArray &objimp) const
 
virtual void selfBitShiftLeftObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfBitShiftLeftObj (Double &objimp, BObject &obj)
 
virtual void selfBitShiftLeftObj (String &objimp, BObject &obj)
 
virtual void selfBitShiftLeftObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfBitShiftRightObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitShiftRightObj (const Double &objimp) const
 
virtual BObjectImpselfBitShiftRightObj (const String &objimp) const
 
virtual BObjectImpselfBitShiftRightObj (const ObjArray &objimp) const
 
virtual void selfBitShiftRightObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfBitShiftRightObj (Double &objimp, BObject &obj)
 
virtual void selfBitShiftRightObj (String &objimp, BObject &obj)
 
virtual void selfBitShiftRightObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfBitXorObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitXorObj (const Double &objimp) const
 
virtual BObjectImpselfBitXorObj (const String &objimp) const
 
virtual BObjectImpselfBitXorObj (const ObjArray &objimp) const
 
virtual void selfBitXorObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfBitXorObj (Double &objimp, BObject &obj)
 
virtual void selfBitXorObj (String &objimp, BObject &obj)
 
virtual void selfBitXorObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfDividedByObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfDividedByObj (const String &objimp) const
 
virtual BObjectImpselfDividedByObj (const ObjArray &objimp) const
 
virtual void selfDividedByObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfDividedByObj (String &objimp, BObject &obj)
 
virtual void selfDividedByObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfMinusObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfMinusObj (const ObjArray &objimp) const
 
virtual void selfMinusObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfMinusObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfModulusObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfModulusObj (const String &objimp) const
 
virtual BObjectImpselfModulusObj (const ObjArray &objimp) const
 
virtual void selfModulusObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfModulusObj (String &objimp, BObject &obj)
 
virtual void selfModulusObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfPlusObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfPlusObj (const ObjArray &objimp) const
 
virtual void selfPlusObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfPlusObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfTimesObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfTimesObj (const String &objimp) const
 
virtual BObjectImpselfTimesObj (const ObjArray &objimp) const
 
virtual void selfTimesObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfTimesObj (String &objimp, BObject &obj)
 
virtual void selfTimesObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectRef set_member (const char *membername, BObjectImp *valueimp, bool copy)
 
virtual BObjectRef set_member_id (const int id, BObjectImp *valueimp, bool copy)
 
virtual char str_member (const std::string &membername) const
 
BObjectType type () const
 
virtual const char * typeOf () const
 
virtual u8 typeOfInt () const
 
- Public Member Functions inherited from ref_counted
unsigned int add_ref ()
 
unsigned int count () const
 
unsigned int release ()
 

Static Public Member Functions

static std::string pack (int val)
 
static BObjectImpunpack (const char *pstr)
 
static BObjectImpunpack (std::istream &is)
 
- Static Public Member Functions inherited from Pol::Bscript::BObjectImp
static const char * typestr (BObjectType typ)
 
static BObjectImpunpack (const char *pstr)
 
static BObjectImpunpack (std::istream &is)
 

Protected Attributes

int lval_
 
- Protected Attributes inherited from ref_counted
std::atomic< unsigned int > _count
 

Private Types

typedef BObjectImp base
 

Private Member Functions

 ~BLong ()
 

Additional Inherited Members

- Public Types inherited from Pol::Bscript::BObjectImp
enum  BObjectType : u8 {
  OTUnknown = 0, OTUninit = 1, OTString = 2, OTLong = 3,
  OTDouble = 4, OTArray = 5, OTApplicPtr = 6, OTApplicObj = 7,
  OTError = 8, OTDictionary = 9, OTStruct = 10, OTPacket = 11,
  OTBinaryFile = 12, OTXMLFile = 13, OTXMLNode = 14, OTXMLAttributes = 15,
  OTPolCoreRef = 16, OTAccountRef = 17, OTConfigFileRef = 18, OTConfigElemRef = 19,
  OTDataFileRef = 20, OTDataElemRef = 21, OTGuildRef = 22, OTPartyRef = 23,
  OTBoundingBox = 24, OTDebugContext = 25, OTScriptExRef = 26, OTPackage = 27,
  OTMenuRef = 28, OTMobileRef = 29, OTOfflineMobileRef = 30, OTItemRef = 31,
  OTBoatRef = 32, OTMultiRef = 33, OTClientRef = 34, OTSQLConnection = 35,
  OTSQLResultSet = 36, OTSQLRow = 37, OTBoolean = 38, OTFuncRef = 39
}
 
- Protected Member Functions inherited from ref_counted
 ref_counted ()
 

Detailed Description

Definition at line 565 of file bobject.h.

Member Typedef Documentation

Definition at line 567 of file bobject.h.

Constructor & Destructor Documentation

Pol::Bscript::BLong::BLong ( const BLong L)

Definition at line 22 of file blong.cpp.

Member Function Documentation

BObjectImp * Pol::Bscript::BLong::bitnot ( ) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 382 of file blong.cpp.

References BLong(), and lval_.

BObjectImp * Pol::Bscript::BLong::copy ( void  ) const
virtual

Implements Pol::Bscript::BObjectImp.

Definition at line 73 of file blong.cpp.

References BLong().

Referenced by Pol::Bscript::ObjArray::selfPlusObj().

std::string Pol::Bscript::BLong::getStringRep ( ) const
virtual
virtual BObjectImp* Pol::Bscript::BLong::inverse ( ) const
inlinevirtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 597 of file bobject.h.

bool Pol::Bscript::BLong::isTrue ( void  ) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 83 of file blong.cpp.

References lval_.

Referenced by operator==().

void Pol::Bscript::BLong::operator delete ( void *  p)
inline

Definition at line 683 of file bobject.h.

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

void Pol::Bscript::BLong::operator delete ( void *  p,
size_t   
)
inline

Definition at line 687 of file bobject.h.

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

void * Pol::Bscript::BLong::operator new ( std::size_t  len)
inline

Definition at line 677 of file bobject.h.

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

bool Pol::Bscript::BLong::operator< ( const BObjectImp objimp) const
virtual

Should be overridden. By default objects are lesser or greater based on their type ID. Uninit and Error are always lesser than any other. Same type object should have a custom comparison.

Warning
: do not forget to call base class when overriding

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 108 of file blong.cpp.

References Pol::Bscript::BObjectImp::isa(), lval_, Pol::Bscript::BObjectImp::operator<(), Pol::Bscript::BObjectImp::OTDouble, and Pol::Bscript::BObjectImp::OTLong.

bool Pol::Bscript::BLong::operator== ( const BObjectImp objimp) const
virtual

Can be overridden. By default objects are considered equal only when having the same address in memory

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 88 of file blong.cpp.

References Pol::Bscript::BObjectImp::isa(), isTrue(), lval_, Pol::Bscript::BObjectImp::OTBoolean, Pol::Bscript::BObjectImp::OTDouble, and Pol::Bscript::BObjectImp::OTLong.

std::string Pol::Bscript::BLong::pack ( ) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 26 of file blong.cpp.

References lval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.

Referenced by Pol::Module::ItemGivenEvent::ItemGivenEvent().

std::string Pol::Bscript::BLong::pack ( int  val)
static

Definition at line 33 of file blong.cpp.

References OSTRINGSTREAM, and OSTRINGSTREAM_STR.

void Pol::Bscript::BLong::packonto ( std::ostream &  os) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 41 of file blong.cpp.

References lval_.

void Pol::Bscript::BLong::printOn ( std::ostream &  os) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 84 of file objstrm.cpp.

BObjectImp * Pol::Bscript::BLong::selfBitAndObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 335 of file blong.cpp.

References BLong(), and lval_.

void Pol::Bscript::BLong::selfBitAndObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 343 of file blong.cpp.

References lval_.

BObjectImp * Pol::Bscript::BLong::selfBitAndObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 331 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitAndObj().

void Pol::Bscript::BLong::selfBitAndObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 339 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitAndObj().

BObjectImp * Pol::Bscript::BLong::selfBitOrObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 352 of file blong.cpp.

References BLong(), and lval_.

void Pol::Bscript::BLong::selfBitOrObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 360 of file blong.cpp.

References lval_.

BObjectImp * Pol::Bscript::BLong::selfBitOrObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 348 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitOrObj().

void Pol::Bscript::BLong::selfBitOrObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 356 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitOrObj().

BObjectImp * Pol::Bscript::BLong::selfBitShiftLeftObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 318 of file blong.cpp.

References BLong(), and lval_.

void Pol::Bscript::BLong::selfBitShiftLeftObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 326 of file blong.cpp.

References lval_.

BObjectImp * Pol::Bscript::BLong::selfBitShiftLeftObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 314 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitShiftLeftObj().

void Pol::Bscript::BLong::selfBitShiftLeftObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 322 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitShiftLeftObj().

BObjectImp * Pol::Bscript::BLong::selfBitShiftRightObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 301 of file blong.cpp.

References BLong(), and lval_.

void Pol::Bscript::BLong::selfBitShiftRightObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 309 of file blong.cpp.

References lval_.

BObjectImp * Pol::Bscript::BLong::selfBitShiftRightObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 297 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitShiftRightObj().

void Pol::Bscript::BLong::selfBitShiftRightObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 305 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitShiftRightObj().

BObjectImp * Pol::Bscript::BLong::selfBitXorObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 369 of file blong.cpp.

References BLong(), and lval_.

void Pol::Bscript::BLong::selfBitXorObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 377 of file blong.cpp.

References lval_.

BObjectImp * Pol::Bscript::BLong::selfBitXorObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 365 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitXorObj().

void Pol::Bscript::BLong::selfBitXorObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 373 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfBitXorObj().

BObjectImp * Pol::Bscript::BLong::selfDividedByObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 228 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfDividedByObj().

BObjectImp * Pol::Bscript::BLong::selfDividedByObj ( const Double objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 236 of file blong.cpp.

References lval_, and Pol::Bscript::Double::value().

void Pol::Bscript::BLong::selfDividedByObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 248 of file blong.cpp.

References lval_, and Pol::Bscript::BObject::setimp().

void Pol::Bscript::BLong::selfDividedByObj ( Double objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 255 of file blong.cpp.

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

BObjectImp * Pol::Bscript::BLong::selfDividedByObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 224 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfDividedByObj().

void Pol::Bscript::BLong::selfDividedByObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 244 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfDividedByObj().

BObjectImp * Pol::Bscript::BLong::selfMinusObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 169 of file blong.cpp.

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

Referenced by selfMinusObj().

BObjectImp * Pol::Bscript::BLong::selfMinusObj ( const Double objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 173 of file blong.cpp.

References lval_, and Pol::Bscript::Double::value().

BObjectImp * Pol::Bscript::BLong::selfMinusObj ( const String objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 177 of file blong.cpp.

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

void Pol::Bscript::BLong::selfMinusObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 186 of file blong.cpp.

References lval_, and value().

void Pol::Bscript::BLong::selfMinusObj ( Double objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 190 of file blong.cpp.

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

void Pol::Bscript::BLong::selfMinusObj ( String objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 194 of file blong.cpp.

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

BObjectImp * Pol::Bscript::BLong::selfMinusObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 165 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfMinusObj().

void Pol::Bscript::BLong::selfMinusObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 182 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfMinusObj().

BObjectImp * Pol::Bscript::BLong::selfModulusObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 264 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfModulusObj().

BObjectImp * Pol::Bscript::BLong::selfModulusObj ( const Double objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 272 of file blong.cpp.

References lval_, and Pol::Bscript::Double::value().

void Pol::Bscript::BLong::selfModulusObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 284 of file blong.cpp.

References lval_, and Pol::Bscript::BObject::setimp().

void Pol::Bscript::BLong::selfModulusObj ( Double objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 291 of file blong.cpp.

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

BObjectImp * Pol::Bscript::BLong::selfModulusObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 260 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfModulusObj().

void Pol::Bscript::BLong::selfModulusObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 280 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfModulusObj().

BObjectImp * Pol::Bscript::BLong::selfPlusObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 135 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfPlusObj().

BObjectImp * Pol::Bscript::BLong::selfPlusObj ( const Double objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 139 of file blong.cpp.

References lval_, and Pol::Bscript::Double::value().

BObjectImp * Pol::Bscript::BLong::selfPlusObj ( const String objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 143 of file blong.cpp.

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

void Pol::Bscript::BLong::selfPlusObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 152 of file blong.cpp.

References lval_, and value().

void Pol::Bscript::BLong::selfPlusObj ( Double objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 156 of file blong.cpp.

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

void Pol::Bscript::BLong::selfPlusObj ( String objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 160 of file blong.cpp.

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

BObjectImp * Pol::Bscript::BLong::selfPlusObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 131 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfPlusObj().

void Pol::Bscript::BLong::selfPlusObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 148 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfPlusObj().

BObjectImp * Pol::Bscript::BLong::selfTimesObj ( const BLong objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 203 of file blong.cpp.

References BLong(), and lval_.

Referenced by selfTimesObj().

BObjectImp * Pol::Bscript::BLong::selfTimesObj ( const Double objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 207 of file blong.cpp.

References lval_, and Pol::Bscript::Double::value().

void Pol::Bscript::BLong::selfTimesObj ( BLong objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 215 of file blong.cpp.

References lval_.

void Pol::Bscript::BLong::selfTimesObj ( Double objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 219 of file blong.cpp.

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

BObjectImp * Pol::Bscript::BLong::selfTimesObjImp ( const BObjectImp objimp) const
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 199 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfTimesObj().

void Pol::Bscript::BLong::selfTimesObjImp ( BObjectImp objimp,
BObject obj 
)
virtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 211 of file blong.cpp.

References Pol::Bscript::BObjectImp::selfTimesObj().

size_t Pol::Bscript::BLong::sizeEstimate ( ) const
virtual

Implements Pol::Bscript::BObjectImp.

Definition at line 78 of file blong.cpp.

References BLong().

BObjectImp * Pol::Bscript::BLong::unpack ( const char *  pstr)
static

Definition at line 46 of file blong.cpp.

References BLong(), and ISTRINGSTREAM.

Referenced by Pol::Bscript::BObjectImp::unpack().

BObjectImp * Pol::Bscript::BLong::unpack ( std::istream &  is)
static

Definition at line 60 of file blong.cpp.

References BLong().

int Pol::Bscript::BLong::value ( ) const
inline

Definition at line 592 of file bobject.h.

Referenced by Pol::Bscript::String::array_assign(), Pol::Bscript::ObjArray::array_assign(), Pol::Core::ExportScript::call_long(), Pol::Core::BXMLfile::call_method_id(), Pol::Core::BXmlNode::call_method_id(), Pol::Module::NPCExecutorModule::CanMove(), Pol::Core::client_io_thread(), Pol::Core::convertArrayToUC(), Pol::Module::NPCExecutorModule::CreateItem(), Pol::Module::NPCExecutorModule::face(), Pol::Core::getCharacterOrClientParam(), Pol::Core::getCharacterParam(), Pol::Core::getItemParam(), Pol::Core::getMultiParam(), Pol::Core::getObjtypeParam(), Pol::Bscript::Executor::getParam(), Pol::Core::getUBoatParam(), Pol::Bscript::Executor::ins_casejmp_findlong(), Pol::Bscript::Executor::ins_stepforeach(), Pol::Module::UOExecutorModule::mf_ApplyConstraint(), Pol::Module::BasicExecutorModule::mf_Bin(), Pol::Module::BasicExecutorModule::mf_Boolean(), Pol::Module::BasicExecutorModule::mf_CChrZ(), Pol::Module::BasicExecutorModule::mf_CDbl(), Pol::Module::ConfigFileExecutorModule::mf_GetConfigReal(), Pol::Module::BasicExecutorModule::mf_Hex(), Pol::Module::UOExecutorModule::mf_SendOpenBook(), Pol::Module::UOExecutorModule::mf_SendPopUpMenu(), Pol::Module::UOExecutorModule::mf_SetScriptController(), Pol::Module::NPCExecutorModule::move(), Pol::Bscript::String::OperMultiSubscript(), Pol::Bscript::ObjArray::OperMultiSubscript(), Pol::Bscript::String::OperMultiSubscriptAssign(), Pol::Core::BSQLRow::OperSubscript(), Pol::Core::BXMLfile::OperSubscript(), Pol::Bscript::String::OperSubscript(), Pol::Core::BXmlNode::OperSubscript(), Pol::Bscript::ObjArray::OperSubscript(), Pol::Module::BIntHash::OperSubscript(), Pol::Module::read_book_page_handler(), Pol::Core::UObject::script_method_id(), Pol::Mobile::Character::script_method_id(), Pol::Bscript::Double::selfDividedByObj(), selfMinusObj(), Pol::Bscript::Double::selfMinusObj(), selfPlusObj(), Pol::Bscript::Double::selfPlusObj(), Pol::Bscript::Double::selfTimesObj(), Pol::Module::ECharacterRefObjImp::set_member_id(), Pol::Module::EItemRefObjImp::set_member_id(), Pol::Module::EUBoatRefObjImp::set_member_id(), Pol::Module::EMultiRefObjImp::set_member_id(), and Pol::Bscript::try_to_format().

Member Data Documentation


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