#include <object.h>
Inheritance diagram for Object:
Public Methods | |
virtual const MetaClass* | get_meta_class () const |
Get the meta class object of this object. More... | |
virtual const AggregateMetaClass* | get_aggregate_meta_class () const |
Get the aggregate meta class object of this object. More... | |
virtual const LString& | getClassName () const |
Get the name of the class of which this object is an instance of. More... | |
virtual bool | isA ( const LString& className ) const |
Return true if this object is an instance of the class named by className. More... | |
virtual bool | isKindOf ( const LString& className ) const |
Return true if this object is a_kind_of the class named by className. More... | |
virtual void | set_meta_class ( const MetaClass* metaClass ) |
virtual FieldWrapper | get_member ( const LString &name) const |
one input name => returns the address of the object and its meta_class. More... | |
virtual | ~Object () |
Destructor. | |
Static Public Methods | |
const LString& | get_class_name () |
This returns the instance name of this Class - "Object". | |
Protected Methods | |
Object () | |
Protected Attributes | |
const AggregateMetaClass* | _meta_class |
Static Protected Methods | |
void | constructor_function ( void *instance ) |
Friends | |
class | ObjectFactory |
|
Destructor.
|
|
Reimplemented in ListMetaClass, ObjectFactory, PointerMetaClass, and STLMetaClass.
|
Get the name of the class of which this object is an instance of.
This returns the instance name of the actual dynamic instance.
|
Get the aggregate meta class object of this object.
For internal use only.
|
This returns the instance name of this Class - "Object".
Reimplemented in AggregateMetaClass, IIntegerMetaClass, IntegerMetaClass, LStringMetaClass, ListMetaClass, MetaClass, ObjectAggregateMetaClass, PointerMetaClass, STLMetaClass, StringMetaClass, SuifObject, TestX, TestY, and UnionMetaClass.
|
one input name => returns the address of the object and its meta_class.
name | name of a field. |
address | location to store the field value. |
meta_class |
location to store the type of the field.
For internal use only. |
|
Get the meta class object of this object.
For internal use only.
|
Return true if this object is an instance of the class named by className.
className | name of a class. |
|
Return true if this object is a_kind_of the class named by className.
Object o is a_kind_of class c iff o is an instance of c or a subclass of c.
className | name of a class. |
|
For internal use only.
|
Reimplemented in AggregateMetaClass, IIntegerMetaClass, IntegerMetaClass, LStringMetaClass, ListMetaClass, MetaClass, ObjectAggregateMetaClass, PointerMetaClass, STLMetaClass, StringMetaClass, and UnionMetaClass.
|