asIObjectType Class Reference
[Interfaces]
The interface for an object type.
List of all members.
|
Public Member Functions |
| virtual asIScriptEngine * | GetEngine () const =0 |
| | Returns a pointer to the script engine.
|
| virtual const char * | GetName () const =0 |
| | Returns a temporary pointer to the name of the datatype.
|
| virtual const asIObjectType * | GetSubType () const =0 |
| | Returns a temporary pointer to the type associated with this descriptor.
|
| virtual int | GetInterfaceCount () const =0 |
| | Returns the number of interfaces implemented.
|
| virtual const asIObjectType * | GetInterface (asUINT index) const =0 |
| | Returns a temporary pointer to the specified interface or null if none are found.
|
| virtual bool | IsInterface () const =0 |
| | Returns true if the type is an interface.
|
Member Function Documentation
- Returns:
- A pointer to the engine.
| virtual const char* asIObjectType::GetName |
( |
|
) |
const [pure virtual] |
- Returns:
- A null terminated string with the name of the object type.
| virtual const asIObjectType* asIObjectType::GetSubType |
( |
|
) |
const [pure virtual] |
- Returns:
- A pointer to the sub type.
| virtual int asIObjectType::GetInterfaceCount |
( |
|
) |
const [pure virtual] |
- Returns:
- The number of interfaces implemented by this type.
- Parameters:
-
| [in] | index | The interface index. |
- Returns:
- A pointer to the interface type.
| virtual bool asIObjectType::IsInterface |
( |
|
) |
const [pure virtual] |
- Returns:
- True if the type is an interface.