|
Pol
Rev 533
|
#include <bobject.h>
Inheritance diagram for Double:
Collaboration diagram for Double:Public Member Functions | |
| Double (double dval=0.0) | |
| Double (const Double &dbl) | |
| virtual BObjectImp * | copy () const |
| void | copyvalue (const Double &dbl) |
| virtual std::string | getStringRep () const |
| double | increment () |
| virtual BObjectImp * | inverse () const |
| virtual bool | isEqual (const BObjectImp &objimp) const |
| virtual bool | isGE (int val) const |
| virtual bool | isGT (int val) const |
| virtual bool | isLessThan (const BObjectImp &objimp) const |
| virtual bool | isTrue () const |
| void | operator delete (void *) |
| 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 BObjectImp * | selfDividedByObj (const BLong &objimp) const |
| virtual BObjectImp * | selfDividedByObj (const Double &objimp) const |
| virtual void | selfDividedByObj (BLong &objimp, BObject &obj) |
| virtual void | selfDividedByObj (Double &objimp, BObject &obj) |
| virtual BObjectImp * | selfDividedByObjImp (const BObjectImp &objimp) const |
| virtual void | selfDividedByObjImp (BObjectImp &objimp, BObject &obj) |
| virtual BObjectImp * | selfMinusObj (const BLong &objimp) const |
| virtual BObjectImp * | selfMinusObj (const Double &objimp) const |
| virtual BObjectImp * | selfMinusObj (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 BObjectImp * | selfMinusObjImp (const BObjectImp &objimp) const |
| virtual void | selfMinusObjImp (BObjectImp &objimp, BObject &obj) |
| virtual BObjectImp * | selfPlusObj (const BLong &objimp) const |
| virtual BObjectImp * | selfPlusObj (const Double &objimp) const |
| virtual BObjectImp * | selfPlusObj (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 BObjectImp * | selfPlusObjImp (const BObjectImp &objimp) const |
| virtual void | selfPlusObjImp (BObjectImp &objimp, BObject &obj) |
| virtual BObjectImp * | selfTimesObj (const BLong &objimp) const |
| virtual BObjectImp * | selfTimesObj (const Double &objimp) const |
| virtual void | selfTimesObj (BLong &objimp, BObject &obj) |
| virtual void | selfTimesObj (Double &objimp, BObject &obj) |
| virtual BObjectImp * | selfTimesObjImp (const BObjectImp &objimp) const |
| virtual void | selfTimesObjImp (BObjectImp &objimp, BObject &obj) |
| virtual size_t | sizeEstimate () const |
| virtual void | unary_minus () |
| double | value () const |
Static Public Member Functions | |
| static BObjectImp * | unpack (const char *pstr) |
| static BObjectImp * | unpack (std::istream &is) |
Private Member Functions | |
| ~Double () | |
Private Attributes | |
| double | dval_ |
Friends | |
| class | GCCHelper |
| Double::Double | ( | double | dval = 0.0 | ) | [inline, explicit] |
Definition at line 684 of file bobject.h.
Referenced by copy(), inverse(), selfDividedByObj(), selfMinusObj(), selfPlusObj(), selfTimesObj(), sizeEstimate(), and unpack().
Here is the caller graph for this function:| Double::Double | ( | const Double & | dbl | ) | [inline] |
| Double::~Double | ( | ) | [inline, private] |
| virtual BObjectImp* Double::copy | ( | void | ) | const [inline, virtual] |
Implements BObjectImp.
Definition at line 715 of file bobject.h.
References Double().
Referenced by ObjArray::selfPlusObj().
Here is the call graph for this function:
Here is the caller graph for this function:| void Double::copyvalue | ( | const Double & | dbl | ) | [inline] |
| string Double::getStringRep | ( | ) | const [virtual] |
Implements BObjectImp.
Definition at line 110 of file dbl.cpp.
References dval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.
Referenced by String::selfMinusObj(), selfMinusObj(), String::selfPlusObj(), and selfPlusObj().
Here is the caller graph for this function:| double Double::increment | ( | ) | [inline] |
Definition at line 710 of file bobject.h.
References dval_.
Referenced by Executor::ins_nextfor().
Here is the caller graph for this function:| virtual BObjectImp* Double::inverse | ( | ) | const [inline, virtual] |
Reimplemented from BObjectImp.
Definition at line 757 of file bobject.h.
References Double(), and dval_.
Here is the call graph for this function:| bool Double::isEqual | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 67 of file dbl.cpp.
References dval_, BObjectImp::isa(), BObjectImp::OTDouble, and BObjectImp::OTLong.
Here is the call graph for this function:| bool Double::isGE | ( | int | val | ) | const [virtual] |
| bool Double::isGT | ( | int | val | ) | const [virtual] |
| bool Double::isLessThan | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 85 of file dbl.cpp.
References dval_, BObjectImp::isa(), BObjectImp::OTDouble, and BObjectImp::OTLong.
Here is the call graph for this function:| virtual bool Double::isTrue | ( | void | ) | const [inline, virtual] |
| void Double::operator delete | ( | void * | p | ) | [inline] |
Definition at line 771 of file bobject.h.
References fixed_allocator< N, B >::deallocate().
Here is the call graph for this function:| void * Double::operator new | ( | std::size_t | len | ) | [inline] |
Definition at line 766 of file bobject.h.
References fixed_allocator< N, B >::allocate(), and passert_paranoid.
Here is the call graph for this function:| string Double::pack | ( | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 22 of file dbl.cpp.
References dval_, OSTRINGSTREAM, and OSTRINGSTREAM_STR.
| void Double::packonto | ( | std::ostream & | os | ) | const [virtual] |
| void Double::printOn | ( | std::ostream & | os | ) | const [virtual] |
| BObjectImp * Double::selfDividedByObj | ( | const BLong & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 216 of file dbl.cpp.
References Double(), dval_, and BLong::value().
Here is the call graph for this function:| BObjectImp * Double::selfDividedByObj | ( | const Double & | objimp | ) | const [virtual] |
| void Double::selfDividedByObj | ( | BLong & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 236 of file dbl.cpp.
References dval_, BObject::setimp(), and BLong::value().
Here is the call graph for this function:| void Double::selfDividedByObj | ( | Double & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 243 of file dbl.cpp.
References dval_, BObject::setimp(), and value().
Here is the call graph for this function:| BObjectImp * Double::selfDividedByObjImp | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 212 of file dbl.cpp.
References BObjectImp::selfDividedByObj().
Here is the call graph for this function:| void Double::selfDividedByObjImp | ( | BObjectImp & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 232 of file dbl.cpp.
References BObjectImp::selfDividedByObj().
Here is the call graph for this function:| BObjectImp * Double::selfMinusObj | ( | const BLong & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 156 of file dbl.cpp.
References Double(), dval_, and BLong::value().
Referenced by selfMinusObj().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * Double::selfMinusObj | ( | const Double & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 160 of file dbl.cpp.
References Double(), and dval_.
Here is the call graph for this function:| BObjectImp * Double::selfMinusObj | ( | const String & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 164 of file dbl.cpp.
References getStringRep(), and String::selfMinusObj().
Here is the call graph for this function:| void Double::selfMinusObj | ( | BLong & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 173 of file dbl.cpp.
References dval_, and BLong::value().
Here is the call graph for this function:| void Double::selfMinusObj | ( | Double & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 177 of file dbl.cpp.
References dval_, and value().
Here is the call graph for this function:| void Double::selfMinusObj | ( | String & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 181 of file dbl.cpp.
References selfMinusObj(), and BObject::setimp().
Here is the call graph for this function:| BObjectImp * Double::selfMinusObjImp | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 152 of file dbl.cpp.
References BObjectImp::selfMinusObj().
Here is the call graph for this function:| void Double::selfMinusObjImp | ( | BObjectImp & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 169 of file dbl.cpp.
References BObjectImp::selfMinusObj().
Here is the call graph for this function:| BObjectImp * Double::selfPlusObj | ( | const BLong & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 123 of file dbl.cpp.
References Double(), dval_, and BLong::value().
Referenced by selfPlusObj().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * Double::selfPlusObj | ( | const Double & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 127 of file dbl.cpp.
References Double(), and dval_.
Here is the call graph for this function:| BObjectImp * Double::selfPlusObj | ( | const String & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 131 of file dbl.cpp.
References String::data(), and getStringRep().
Here is the call graph for this function:| void Double::selfPlusObj | ( | BLong & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 139 of file dbl.cpp.
References selfPlusObj(), and BObject::setimp().
Here is the call graph for this function:| void Double::selfPlusObj | ( | Double & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
| void Double::selfPlusObj | ( | String & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 147 of file dbl.cpp.
References selfPlusObj(), and BObject::setimp().
Here is the call graph for this function:| BObjectImp * Double::selfPlusObjImp | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 118 of file dbl.cpp.
References BObjectImp::selfPlusObj().
Here is the call graph for this function:| void Double::selfPlusObjImp | ( | BObjectImp & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 135 of file dbl.cpp.
References BObjectImp::selfPlusObj().
Here is the call graph for this function:| BObjectImp * Double::selfTimesObj | ( | const BLong & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 190 of file dbl.cpp.
References Double(), dval_, and BLong::value().
Here is the call graph for this function:| BObjectImp * Double::selfTimesObj | ( | const Double & | objimp | ) | const [virtual] |
| void Double::selfTimesObj | ( | BLong & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 202 of file dbl.cpp.
References dval_, and BLong::value().
Here is the call graph for this function:| void Double::selfTimesObj | ( | Double & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 206 of file dbl.cpp.
References dval_, and value().
Here is the call graph for this function:| BObjectImp * Double::selfTimesObjImp | ( | const BObjectImp & | objimp | ) | const [virtual] |
Reimplemented from BObjectImp.
Definition at line 186 of file dbl.cpp.
References BObjectImp::selfTimesObj().
Here is the call graph for this function:| void Double::selfTimesObjImp | ( | BObjectImp & | objimp, |
| BObject & | obj | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 198 of file dbl.cpp.
References BObjectImp::selfTimesObj().
Here is the call graph for this function:| size_t Double::sizeEstimate | ( | ) | const [virtual] |
Implements BObjectImp.
Definition at line 61 of file dbl.cpp.
References Double().
Here is the call graph for this function:| virtual void Double::unary_minus | ( | ) | [inline, virtual] |
| BObjectImp * Double::unpack | ( | const char * | pstr | ) | [static] |
Reimplemented from BObjectImp.
Definition at line 34 of file dbl.cpp.
References Double(), and ISTRINGSTREAM.
Here is the call graph for this function:| BObjectImp * Double::unpack | ( | std::istream & | is | ) | [static] |
Reimplemented from BObjectImp.
Definition at line 48 of file dbl.cpp.
References Double().
Here is the call graph for this function:| double Double::value | ( | ) | const [inline] |
Definition at line 708 of file bobject.h.
References dval_.
Referenced by String::array_assign(), BasicExecutorModule::mf_CInt(), ConfigFileExecutorModule::mf_GetConfigInt(), BasicExecutorModule::mf_Hex(), String::OperMultiSubscript(), String::OperMultiSubscriptAssign(), String::OperSubscript(), Executor::paramAsDouble(), UObject::script_method_id(), BLong::selfDividedByObj(), selfDividedByObj(), BLong::selfMinusObj(), selfMinusObj(), BLong::selfModulusObj(), BLong::selfPlusObj(), BLong::selfTimesObj(), selfTimesObj(), ECharacterRefObjImp::set_member_id(), EItemRefObjImp::set_member_id(), EUBoatRefObjImp::set_member_id(), and EMultiRefObjImp::set_member_id().
Here is the caller graph for this function:double Double::dval_ [private] |
Definition at line 762 of file bobject.h.
Referenced by copyvalue(), getStringRep(), increment(), inverse(), isEqual(), isGE(), isGT(), isLessThan(), isTrue(), pack(), packonto(), printOn(), selfDividedByObj(), selfMinusObj(), selfPlusObj(), selfTimesObj(), unary_minus(), and value().