Public Member Functions | |
Memory management | |
virtual int | AddRef ()=0 |
Increase reference counter. | |
virtual int | Release ()=0 |
Decrease reference counter. | |
Type info | |
virtual int | GetTypeId () const =0 |
Returns the type id of the object. | |
virtual asIObjectType * | GetObjectType () const =0 |
Returns the object type interface for the object. | |
Properties | |
virtual int | GetPropertyCount () const =0 |
Returns the number of properties that the object contains. | |
virtual int | GetPropertyTypeId (asUINT prop) const =0 |
Returns the type id of the property referenced by prop. | |
virtual const char * | GetPropertyName (asUINT prop) const =0 |
Returns the name of the property referenced by prop. | |
virtual void * | GetPropertyPointer (asUINT prop)=0 |
Returns a pointer to the property referenced by prop. | |
Miscellaneous | |
virtual asIScriptEngine * | GetEngine () const =0 |
Return the script engine. | |
virtual int | CopyFrom (asIScriptObject *other)=0 |
Copies the content from another object of the same type. | |
Deprecated | |
virtual int | GetStructTypeId () const =0 |
virtual int asIScriptObject::AddRef | ( | ) | [pure virtual] |
virtual int asIScriptObject::CopyFrom | ( | asIScriptObject * | other | ) | [pure virtual] |
[in] | other | A pointer to the source object. |
asINVALID_ARG | The argument is null. | |
asINVALID_TYPE | The other object is of different type. |
virtual asIScriptEngine* asIScriptObject::GetEngine | ( | ) | const [pure virtual] |
virtual asIObjectType* asIScriptObject::GetObjectType | ( | ) | const [pure virtual] |
virtual int asIScriptObject::GetPropertyCount | ( | ) | const [pure virtual] |
virtual const char* asIScriptObject::GetPropertyName | ( | asUINT | prop | ) | const [pure virtual] |
[in] | prop | The property index. |
virtual void* asIScriptObject::GetPropertyPointer | ( | asUINT | prop | ) | [pure virtual] |
[in] | prop | The property index. |
virtual int asIScriptObject::GetPropertyTypeId | ( | asUINT | prop | ) | const [pure virtual] |
[in] | prop | The property index. |
asINVALID_ARG | prop is too large |
virtual int asIScriptObject::GetStructTypeId | ( | ) | const [pure virtual] |
virtual int asIScriptObject::GetTypeId | ( | ) | const [pure virtual] |
virtual int asIScriptObject::Release | ( | ) | [pure virtual] |