44 virtual void Delete() {
delete this;};
59 virtual bool IsA(
const char *type_name)
const;
77 virtual void Print(std::ostream &os,
const int indent=0)
const;
84 void*
operator new(
size_t tSize );
85 void operator delete(
void* p );
std::type_info albaTypeID
type for albaObject's class type IDs
Abstract superclass for all ALBA classes implementing RTTI APIs.
virtual bool IsA(const char *type_name) const
Check the class name of this instance.
static const albaTypeID & GetStaticTypeId()
Return TypeId for this type (static function, i.e.
bool m_HeapFlag
Internally used to mark objects created on the Heap with New()
virtual void Print(std::ostream &os, const int indent=0) const
print debug information for this object
static albaObject * SafeDownCast(albaObject *o)
Cast with dynamic type checking.
albaObject(const albaObject &c)
static const char * GetStaticTypeName()
Return the name of this type (static function)
static bool IsStaticType(const albaTypeID &type_id)
This is used by IsA to check the class type id.
virtual albaObject * NewObjectInstance() const =0
Return a new instance of the same type.
virtual bool IsA(const albaTypeID &type_id) const
Check the type id of this instance.
static bool IsStaticType(const char *type_name)
This is used by IsA to check the class name.
virtual const char * GetTypeName() const
Return the class name of this instance.
virtual const albaTypeID & GetTypeId() const
Return TypeId for this object instance (the real type)
virtual void Delete()
the same as delete obj, implemented for syntax compatibility