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

#include <bobject.h>

+ Inheritance diagram for Pol::Bscript::BObject:

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
 
- Public Member Functions inherited from ref_counted
unsigned int add_ref ()
 
unsigned int count () const
 
unsigned int release ()
 

Private Member Functions

BObjectoperator= (const BObject &obj)
 

Private Attributes

ref_ptr< BObjectImpobjimp
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from ref_counted
 ref_counted ()
 
- Protected Attributes inherited from ref_counted
std::atomic< unsigned int > _count
 

Detailed Description

Definition at line 363 of file bobject.h.

Constructor & Destructor Documentation

Pol::Bscript::BObject::BObject ( BObjectImp objimp)
inlineexplicit

Definition at line 366 of file bobject.h.

References passert.

Pol::Bscript::BObject::~BObject ( )

Definition at line 126 of file object.cpp.

Member Function Documentation

void Pol::Bscript::BObject::assign ( const BObjectImp objimp)
BObject * Pol::Bscript::BObject::clone ( ) const
const BObjectImp * Pol::Bscript::BObject::impptr ( ) const
inline

Definition at line 433 of file bobject.h.

BObjectImp & Pol::Bscript::BObject::impref ( )
inline

Definition at line 438 of file bobject.h.

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

const BObjectImp & Pol::Bscript::BObject::impref ( ) const
inline

Definition at line 442 of file bobject.h.

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

Definition at line 418 of file bobject.h.

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

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

Definition at line 413 of file bobject.h.

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

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

Definition at line 134 of file object.cpp.

References objimp.

BObjectImp* Pol::Bscript::BObject::operator-> ( ) const
inline

Definition at line 383 of file bobject.h.

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

Definition at line 142 of file object.cpp.

References objimp.

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

Definition at line 146 of file object.cpp.

References objimp.

BObject& Pol::Bscript::BObject::operator= ( const BObject obj)
private
bool Pol::Bscript::BObject::operator== ( const BObject obj) const

Definition at line 138 of file object.cpp.

References objimp.

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

Definition at line 150 of file object.cpp.

References objimp.

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

Definition at line 154 of file object.cpp.

References objimp.

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

Definition at line 43 of file objstrm.cpp.

References objimp, and Pol::Bscript::BObjectImp::typestr().

size_t Pol::Bscript::BObject::sizeEstimate ( ) const

Definition at line 54 of file object.cpp.

Referenced by Pol::Bscript::BDictionary::sizeEstimate().

Friends And Related Function Documentation

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

Definition at line 17 of file objstrm.cpp.

fmt::Writer& operator<< ( fmt::Writer &  w,
const BObject obj 
)
friend

Definition at line 22 of file objstrm.cpp.

Member Data Documentation

ref_ptr<BObjectImp> Pol::Bscript::BObject::objimp
private

Definition at line 404 of file bobject.h.

Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and printOn().


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