Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

Object Class Reference

Class diagram for Object:

SuifObject ObjectFactory MetaClass TestX SuifBrick EcrSetObject EcrAlphaSetObject CppVTableEntry CppObject AnnotableObject SuifEnvObjectFactory StringMetaClass PointerMetaClass ListMetaClass LStringMetaClass IntegerMetaClass IIntegerMetaClass AggregateMetaClass

List of all members.


Public Members

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 Members

const LString& get_class_name ()
This returns the instance name of this Class - "Object".


Protected Members

Object ()
const AggregateMetaClass* _meta_class

Static Protected Members

void constructor_function ( void *instance )

Friends

class ObjectFactory

Member Function Documentation

virtual const MetaClass * Object::get_meta_class () const [virtual]

Get the meta class object of this object.

For internal use only.

virtual const AggregateMetaClass * Object::get_aggregate_meta_class () const [virtual]

Get the aggregate meta class object of this object.

For internal use only.

virtual const LString & Object::getClassName () const [virtual]

Get the name of the class of which this object is an instance of.

This returns the instance name of the actual dynamic instance.

virtual bool Object::isA (const LString & className) const [virtual]

Return true if this object is an instance of the class named by className.

Parameters:
className - name of a class.
Returns:
true iff this object is an instance of the class className.

virtual bool Object::isKindOf (const LString & className) const [virtual]

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.

Parameters:
className - name of a class.
Returns:
true iff this object is a_kind_of the class className.

virtual void Object::set_meta_class (const MetaClass * metaClass) [virtual]

For internal use only.

virtual FieldWrapper Object::get_member (const LString & name) const [virtual]

one input name => returns the address of the object and its meta_class.

Parameters:
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.

virtual Object::~Object () [virtual]

Destructor.

const LString & Object::get_class_name () [static]

This returns the instance name of this Class - "Object".

Reimplemented in WhileStatement, VtblSlotNumberAnnote, VtblSlotCountAnnote, VtblSlotAnnote, VtblAnnote, VoidType, VaStartStatement, VaStartOldStatement, VariableSymbol, VariableDefinition, ValueBlock, VaEndStatement, VaArgExpression, UnionType, UnionMetaClass, UndefinedValueBlock, UnaryExpression, TypeListRefAnnote, Type, TryStatement, ThrowStatement, ThrowsAnnote, ThrowExpression, TestY, TestX, TargetInformationBlock, SymbolXrefAnnote, SymbolTableObject, SymbolTable, SymbolListAnnote, SymbolAddressExpression, Symbol, SuifObjectBrick, SuifObject, SuifBrick, StructType, StringMetaClass, StringBrick, StoreVariableStatement, StoreStatement, STLMetaClass, StaticMethodType, StaticMethodSymbol, StaticMethodCallStatement, StaticMethodCallExpression, StaticFieldSymbol, StatementList, Statement, SingleInheritanceClassType, SelectExpression, ScSelectExpression, ScOrExpression, ScopeStatement, ScopedObject, ScAndExpression, ReturnStatement, RepeatValueBlock, ReferenceType, QualifiedType, ProcedureType, ProcedureSymbol, ProcedureDefinition, PointerType, PointerMetaClass, PerClassSymbolTable, ParameterSymbol, OwnedSuifObjectBrick, ObjectAggregateMetaClass, NumericType, NoVtblAnnote, NestingVariableSymbol, MultiWayBranchStatement, MultiValueBlock, MultiDimArrayType, MultiDimArrayExpression, MethodType, MetaClass, MarkStatement, MainProcAnnote, LStringMetaClass, LoadVariableExpression, LoadValueBlockExpression, LoadExpression, ListMetaClass, LabelType, LabelLocationStatement, JumpStatement, JumpIndirectStatement, JavaStaticMethodSymbol, JavaStaticFieldSymbol, JavaInterface, JavaInstanceMethodSymbol, JavaInstanceFieldSymbol, JavaInformationBlock, JavaClassAllocStatement, JavaClass, JavaCheckStatement, JavaArrayAllocStatement, JavaArray, JavaAllocStatement, JavaAbstractClassType, J2sInformationBlock, IntegerType, IntegerMetaClass, IntegerBrick, IntConstant, InstanceMethodType, InstanceMethodSymbolTable, InstanceMethodSymbol, InstanceMethodCallStatement, InstanceMethodCallExpression, InstanceFieldSymbolTable, InstanceFieldSymbol, InstanceFieldOffsetAnnote, InstanceFieldLayoutCompleteAnnote, InheritanceLink, IIntegerMetaClass, IfStatement, GroupType, GroupSymbolTable, GlobalInformationBlock, GeneralAnnote, ForStatement, FloatingPointType, FloatConstant, FileSetBlock, FileBlock, FieldSymbol, FieldAccessExpression, ExpressionValueBlock, Expression, ExecutionObject, EvalStatement, EnumeratedType, EcrSetTauObject, EcrSetObject, EcrSetLambdaObject, EcrRefAnnote, EcrManagerAnnote, EcrAlphaSetObject, DoWhileStatement, DefinitionBlock, DataType, CStringConstant, CProcedureType, CppVTableType, CppVTableEntry, CppVariableDefinitionLocationStatement, CppVariableDefinition, CppUnionType, CppStructType, CppStaticMethodSymbol, CppObject, CppInstanceMethodSymbol, CppInheritanceLink, CppDerivedClassConvert, CppConstructorValueBlock, CppConstructorInitialization, CppConstructorDefinition, CppClassType, CppClassConvert, CppBaseClassConvert, Constant, CodeLabelSymbol, ClassType, CInformationBlock, CIAnnote, CheckStatement, CForStatement, CExpression, CatchStatement, CallTargetAnnote, CallStatement, CallExpression, ByteSizeOfExpression, ByteOffsetOfExpression, BytecodeIndexStatement, BytecodeIndexAnnote, ByteAlignmentOfExpression, BrickAnnote, BranchStatement, BooleanType, BitSizeOfExpression, BitOffsetOfExpression, BitAlignmentOfExpression, BinaryExpression, BasicSymbolTable, ArrayType, ArrayReferenceExpression, Annote, AnnotableObject, and AggregateMetaClass.

Object::Object () [protected]

void Object::constructor_function (void * instance) [static, protected]

Reimplemented in STLMetaClass, PointerMetaClass, ObjectFactory, and ListMetaClass.


Friends And Related Function Documentation

friend class ObjectFactory [friend]

Reimplemented in UnionMetaClass, StringMetaClass, STLMetaClass, PointerMetaClass, ObjectAggregateMetaClass, MetaClass, LStringMetaClass, ListMetaClass, IntegerMetaClass, IIntegerMetaClass, and AggregateMetaClass.


Member Data Documentation

const AggregateMetaClass* Object::_meta_class [protected]


The documentation for this class was generated from the following files:
Generated at Wed Apr 25 17:35:01 2001 for NCI SUIF by doxygen  written by Dimitri van Heesch, © 1997-1999