11 #ifndef BSCRIPT_BOBJECT_H 19 #include "../clib/compilerspecifics.h" 20 #include "../clib/rawtypes.h" 43 void addMember(
const char* name,
BObjectImp* imp );
45 size_t mapcount()
const;
47 typedef std::map<BObject, BObjectRef>
Contents;
48 const Contents& contents()
const;
56 virtual
size_t sizeEstimate() const POL_OVERRIDE;
57 virtual
void packonto(
std::ostream& os ) const POL_OVERRIDE;
58 virtual const
char* typeOf() const POL_OVERRIDE;
59 virtual
u8 typeOfInt() const POL_OVERRIDE;
63 virtual
char packtype() const;
64 virtual const
char* typetag() const;
65 virtual
void FormatForStringRep(
std::ostream& os, const
BObject& bkeyobj,
71 bool forcebuiltin = false ) POL_OVERRIDE;
73 bool copy ) POL_OVERRIDE;
74 virtual
BObjectRef get_member( const
char* membername ) POL_OVERRIDE;
75 virtual
BObjectRef operDotPlus( const
char* name ) POL_OVERRIDE;
std::map< BObject, BObjectRef > Contents