ALBA
|
#include <albaObject.h>
Public Member Functions | |
albaObject () | |
virtual | ~albaObject () |
virtual void | Delete () |
virtual const char * | GetTypeName () const |
virtual bool | IsA (const char *type_name) const |
virtual bool | IsA (const albaTypeID &type_id) const |
virtual albaObject * | NewObjectInstance () const =0 |
virtual const albaTypeID & | GetTypeId () const |
virtual void | Print (std::ostream &os, const int indent=0) const |
albaObject (const albaObject &c) | |
Static Public Member Functions | |
static const char * | GetStaticTypeName () |
static bool | IsStaticType (const char *type_name) |
static bool | IsStaticType (const albaTypeID &type_id) |
static const albaTypeID & | GetStaticTypeId () |
static albaObject * | SafeDownCast (albaObject *o) |
Protected Attributes | |
bool | m_HeapFlag |
Abstract superclass for all ALBA classes implementing RTTI APIs.
albaObject is a superclass implementing some useful features like RTTI APIs. ALBA objects can be created either on the stack or dynamically in the heap. The the latter you can use both "new" or "::New()" for instantiacion and "delete" or "Delete()" for deletion. There's no difference between the two. For reference counted objects these two methods behave differently.
Definition at line 37 of file albaObject.h.
albaObject::albaObject | ( | ) |
|
virtual |
|
inline |
Definition at line 79 of file albaObject.h.
|
inlinevirtual |
the same as delete obj, implemented for syntax compatibility
Reimplemented in albaReferenceCounted.
Definition at line 44 of file albaObject.h.
|
static |
Return the name of this type (static function)
|
virtual |
Return the class name of this instance.
|
static |
This is used by IsA to check the class name.
|
static |
This is used by IsA to check the class type id.
|
virtual |
Check the class name of this instance.
|
virtual |
Check the type id of this instance.
|
pure virtual |
Return a new instance of the same type.
Implemented in albaAttribute, and albaVME.
Referenced by albaAttribute::NewInstance().
|
static |
Return TypeId for this type (static function, i.e.
the pointer type)
|
virtual |
Return TypeId for this object instance (the real type)
|
static |
Cast with dynamic type checking.
This is used for casting from (albaObject *)
Referenced by albaAttribute::NewInstance().
|
virtual |
print debug information for this object
Reimplemented in albaMatrix, albaMatrix3x3, albaObjectFactory, albaTransformBase, albaAttribute, albaDataPipe, albaTagArray, albaTimeMapScalar< T >, albaTimeMapScalar< T >, albaTimeMap< T >, albaTimeMap< T >, mmaMaterial, and mmaVolumeMaterial.
|
protected |
Internally used to mark objects created on the Heap with New()
Definition at line 90 of file albaObject.h.