Pol  Rev 533
BObject Class Reference

#include <bobject.h>

+ Inheritance diagram for BObject:
+ Collaboration diagram for BObject:

List of all members.

Public Member Functions

 BObject (BObjectImp *objimp)
 BObject (const BObject &obj)
 ~BObject ()
void assign (const BObjectImp &objimp)
BObjectclone () const
BObjectImpimpptr ()
const BObjectImpimpptr () const
BObjectImpimpref ()
const BObjectImpimpref () const
bool isa (BObjectImp::BObjectType type) const
bool isTrue () const
void operator delete (void *)
void * operator new (std::size_t len)
bool operator!= (const BObject &obj) const
BObjectImpoperator-> () const
bool operator< (const BObject &obj) const
bool operator<= (const BObject &obj) const
bool operator== (const BObject &obj) const
bool operator> (const BObject &obj) const
bool operator>= (const BObject &obj) const
void printOn (std::ostream &) const
void setimp (BObjectImp *imp)
size_t sizeEstimate () const

Private Member Functions

BObjectoperator= (const BObject &obj)

Private Attributes

ref_ptr< BObjectImpobjimp

Friends

std::ostream & operator<< (std::ostream &, const BObject &)

Detailed Description

Definition at line 340 of file bobject.h.


Constructor & Destructor Documentation

BObject::BObject ( BObjectImp objimp) [inline, explicit]

Definition at line 343 of file bobject.h.

References passert.

Referenced by clone(), and sizeEstimate().

+ Here is the caller graph for this function:

BObject::BObject ( const BObject obj) [inline]

Definition at line 344 of file bobject.h.

Definition at line 103 of file object.cpp.


Member Function Documentation

void BObject::assign ( const BObjectImp objimp)
BObject * BObject::clone ( ) const

Definition at line 109 of file object.cpp.

References BObject(), BObjectImp::copy(), and objimp.

Referenced by Executor::addmember(), Executor::checkmember(), and Executor::removemember().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const BObjectImp * BObject::impptr ( ) const [inline]

Definition at line 410 of file bobject.h.

References ref_ptr< T >::get(), and objimp.

+ Here is the call graph for this function:

BObjectImp & BObject::impref ( ) [inline]

Definition at line 415 of file bobject.h.

References objimp.

Referenced by Executor::addmember(), BDictionary::call_method_id(), Executor::checkmember(), BDictionary::FormatForStringRep(), Executor::innerExec(), Executor::ins_add(), Executor::ins_addmember2(), Executor::ins_addmember_assign(), Executor::ins_assign(), Executor::ins_assign_consume(), Executor::ins_assign_globalvar(), Executor::ins_assign_localvar(), Executor::ins_bitshift_left(), Executor::ins_bitshift_right(), Executor::ins_bitwise_and(), Executor::ins_bitwise_or(), Executor::ins_bitwise_xor(), Executor::ins_div(), Executor::ins_divideequal(), Executor::ins_equal(), Executor::ins_greaterequal(), Executor::ins_greaterthan(), Executor::ins_in(), Executor::ins_insert_into(), Executor::ins_lessequal(), Executor::ins_lessthan(), Executor::ins_minusequal(), Executor::ins_modulus(), Executor::ins_modulusequal(), Executor::ins_mult(), Executor::ins_notequal(), Executor::ins_plusequal(), Executor::ins_set_member(), Executor::ins_set_member_consume(), Executor::ins_set_member_id(), Executor::ins_set_member_id_consume(), Executor::ins_set_member_id_consume_divideequal(), Executor::ins_set_member_id_consume_minusequal(), Executor::ins_set_member_id_consume_modulusequal(), Executor::ins_set_member_id_consume_plusequal(), Executor::ins_set_member_id_consume_timesequal(), Executor::ins_subtract(), Executor::ins_timesequal(), operator!=(), operator==(), String::OperMultiSubscript(), ObjArray::OperMultiSubscript(), String::OperMultiSubscriptAssign(), BSQLRow::OperSubscript(), BXMLfile::OperSubscript(), EConfigFileRefObjImp::OperSubscript(), String::OperSubscript(), BXmlNode::OperSubscript(), StorageAreasImp::OperSubscript(), ObjArray::OperSubscript(), BIntHash::OperSubscript(), BDictionary::packonto(), and Executor::removemember().

const BObjectImp & BObject::impref ( ) const [inline]

Definition at line 419 of file bobject.h.

References objimp.

bool BObject::isTrue ( void  ) const [inline]

Definition at line 362 of file bobject.h.

References BObjectImp::isTrue(), and objimp.

Referenced by call_script(), Item::check_equip_script(), ExportScript::Initialize(), Executor::innerExec(), Executor::ins_logical_and(), and Executor::ins_logical_or().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 395 of file bobject.h.

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

+ Here is the call graph for this function:

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

Definition at line 390 of file bobject.h.

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

+ Here is the call graph for this function:

bool BObject::operator!= ( const BObject obj) const

Definition at line 114 of file object.cpp.

References impref(), BObjectImp::isEqual(), and objimp.

+ Here is the call graph for this function:

BObjectImp* BObject::operator-> ( ) const [inline]

Definition at line 360 of file bobject.h.

References ref_ptr< T >::get(), and objimp.

+ Here is the call graph for this function:

bool BObject::operator< ( const BObject obj) const

Definition at line 122 of file object.cpp.

References BObjectImp::isLessThan(), and objimp.

+ Here is the call graph for this function:

bool BObject::operator<= ( const BObject obj) const

Definition at line 126 of file object.cpp.

References BObjectImp::isEqual(), BObjectImp::isLessThan(), and objimp.

+ Here is the call graph for this function:

BObject& BObject::operator= ( const BObject obj) [private]
bool BObject::operator== ( const BObject obj) const

Definition at line 118 of file object.cpp.

References impref(), BObjectImp::isEqual(), and objimp.

+ Here is the call graph for this function:

bool BObject::operator> ( const BObject obj) const

Definition at line 131 of file object.cpp.

References BObjectImp::isEqual(), BObjectImp::isLessThan(), and objimp.

+ Here is the call graph for this function:

bool BObject::operator>= ( const BObject obj) const

Definition at line 136 of file object.cpp.

References BObjectImp::isLessThan(), and objimp.

+ Here is the call graph for this function:

void BObject::printOn ( std::ostream &  os) const

Definition at line 28 of file objstrm.cpp.

References objimp, BObjectImp::type(), and BObjectImp::typestr().

+ Here is the call graph for this function:

size_t BObject::sizeEstimate ( ) const

Definition at line 42 of file object.cpp.

References BObject(), ref_ptr< T >::get(), objimp, and BObjectImp::sizeEstimate().

Referenced by BDictionary::sizeEstimate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const BObject obj 
) [friend]

Definition at line 17 of file objstrm.cpp.


Member Data Documentation


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