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

#include <bobject.h>

+ Inheritance diagram for Pol::Bscript::Double:

Public Member Functions

 Double (double dval=0.0)
 
 Double (const Double &dbl)
 
virtual BObjectImpcopy () const POL_OVERRIDE
 
void copyvalue (const Double &dbl)
 
virtual std::string getStringRep () const POL_OVERRIDE
 
double increment ()
 
virtual BObjectImpinverse () const POL_OVERRIDE
 
virtual bool isTrue () const POL_OVERRIDE
 
void operator delete (void *)
 
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 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 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
 
double 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 BObjectImpbitnot () const
 
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 BLong &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 (BLong &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 BObjectImpselfBitAndObjImp (const BObjectImp &objimp) const
 
virtual void selfBitAndObjImp (BObjectImp &objimp, BObject &obj)
 
virtual BObjectImpselfBitOrObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitOrObj (const BLong &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 (BLong &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 BObjectImpselfBitOrObjImp (const BObjectImp &objimp) const
 
virtual void selfBitOrObjImp (BObjectImp &objimp, BObject &obj)
 
virtual BObjectImpselfBitShiftLeftObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitShiftLeftObj (const BLong &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 (BLong &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 BObjectImpselfBitShiftLeftObjImp (const BObjectImp &objimp) const
 
virtual void selfBitShiftLeftObjImp (BObjectImp &objimp, BObject &obj)
 
virtual BObjectImpselfBitShiftRightObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitShiftRightObj (const BLong &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 (BLong &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 BObjectImpselfBitShiftRightObjImp (const BObjectImp &objimp) const
 
virtual void selfBitShiftRightObjImp (BObjectImp &objimp, BObject &obj)
 
virtual BObjectImpselfBitXorObj (const BObjectImp &objimp) const
 
virtual BObjectImpselfBitXorObj (const BLong &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 (BLong &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 BObjectImpselfBitXorObjImp (const BObjectImp &objimp) const
 
virtual void selfBitXorObjImp (BObjectImp &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 BLong &objimp) const
 
virtual BObjectImpselfModulusObj (const Double &objimp) const
 
virtual BObjectImpselfModulusObj (const String &objimp) const
 
virtual BObjectImpselfModulusObj (const ObjArray &objimp) const
 
virtual void selfModulusObj (BObjectImp &objimp, BObject &obj)
 
virtual void selfModulusObj (BLong &objimp, BObject &obj)
 
virtual void selfModulusObj (Double &objimp, BObject &obj)
 
virtual void selfModulusObj (String &objimp, BObject &obj)
 
virtual void selfModulusObj (ObjArray &objimp, BObject &obj)
 
virtual BObjectImpselfModulusObjImp (const BObjectImp &objimp) const
 
virtual void selfModulusObjImp (BObjectImp &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 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 Member Functions

 ~Double ()
 
- Protected Member Functions inherited from ref_counted
 ref_counted ()
 

Private Types

typedef BObjectImp base
 

Private Attributes

double dval_
 

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 Attributes inherited from ref_counted
std::atomic< unsigned int > _count
 

Detailed Description

Definition at line 692 of file bobject.h.

Member Typedef Documentation

Definition at line 694 of file bobject.h.

Constructor & Destructor Documentation

Pol::Bscript::Double::Double ( double  dval = 0.0)
inlineexplicit
Pol::Bscript::Double::Double ( const Double dbl)
inline

Definition at line 698 of file bobject.h.

Member Function Documentation

void Pol::Bscript::Double::copyvalue ( const Double dbl)
inline

Definition at line 714 of file bobject.h.

References dval_.

std::string Pol::Bscript::Double::getStringRep ( ) const
virtual
double Pol::Bscript::Double::increment ( )
inline

Definition at line 715 of file bobject.h.

Referenced by Pol::Bscript::Executor::ins_nextfor().

virtual BObjectImp* Pol::Bscript::Double::inverse ( ) const
inlinevirtual
virtual bool Pol::Bscript::Double::isTrue ( void  ) const
inlinevirtual

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 718 of file bobject.h.

Referenced by operator==().

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

Definition at line 770 of file bobject.h.

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

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

Definition at line 764 of file bobject.h.

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

bool Pol::Bscript::Double::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 87 of file dbl.cpp.

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

bool Pol::Bscript::Double::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 65 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 20 of file dbl.cpp.

References dval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 27 of file dbl.cpp.

References dval_.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 78 of file objstrm.cpp.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 207 of file dbl.cpp.

References Double(), dval_, and Pol::Bscript::BLong::value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 215 of file dbl.cpp.

References Double(), dval_, and value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 227 of file dbl.cpp.

References dval_, Pol::Bscript::BObject::setimp(), and Pol::Bscript::BLong::value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 234 of file dbl.cpp.

References dval_, Pol::Bscript::BObject::setimp(), and value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 203 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 223 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 147 of file dbl.cpp.

References Double(), dval_, and Pol::Bscript::BLong::value().

Referenced by selfMinusObj().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 151 of file dbl.cpp.

References Double(), and dval_.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 155 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 164 of file dbl.cpp.

References dval_, and Pol::Bscript::BLong::value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 168 of file dbl.cpp.

References dval_, and value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 172 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 143 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 160 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 114 of file dbl.cpp.

References Double(), dval_, and Pol::Bscript::BLong::value().

Referenced by selfPlusObj().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 118 of file dbl.cpp.

References Double(), and dval_.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 122 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 130 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 134 of file dbl.cpp.

References dval_.

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 138 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 109 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 126 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 181 of file dbl.cpp.

References Double(), dval_, and Pol::Bscript::BLong::value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 185 of file dbl.cpp.

References Double(), dval_, and value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 193 of file dbl.cpp.

References dval_, and Pol::Bscript::BLong::value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 197 of file dbl.cpp.

References dval_, and value().

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 177 of file dbl.cpp.

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

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

Reimplemented from Pol::Bscript::BObjectImp.

Definition at line 189 of file dbl.cpp.

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

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

Implements Pol::Bscript::BObjectImp.

Definition at line 59 of file dbl.cpp.

References Double().

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

Definition at line 32 of file dbl.cpp.

References Double(), and ISTRINGSTREAM.

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

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

Definition at line 46 of file dbl.cpp.

References Double().

Member Data Documentation

double Pol::Bscript::Double::dval_
private

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