The interface for a script function description.
|
|
virtual asIScriptEngine * | GetEngine () const =0 |
| Returns a pointer to the script engine. More...
|
|
virtual int | AddRef () const =0 |
| Increases the reference counter. More...
|
|
virtual int | Release () const =0 |
| Decrease reference counter. More...
|
|
virtual int | GetId () const =0 |
| Returns the id of the function. More...
|
|
virtual asEFuncType | GetFuncType () const =0 |
| Returns the type of the function. More...
|
|
virtual const char * | GetModuleName () const =0 |
| Returns the name of the module where the function was implemented. More...
|
|
virtual asIScriptModule * | GetModule () const =0 |
| Returns the module where the function is declared. More...
|
|
virtual const char * | GetScriptSectionName () const =0 |
| Returns the name of the script section where the function was implemented. More...
|
|
virtual const char * | GetConfigGroup () const =0 |
| Returns the name of the config group in which the function was registered. More...
|
|
virtual asDWORD | GetAccessMask () const =0 |
| Returns the access mast of the function. More...
|
|
virtual void * | GetAuxiliary () const =0 |
| Returns the auxiliary object registered with the function. More...
|
|
|
virtual asITypeInfo * | GetObjectType () const =0 |
| Returns the object type for class or interface method. More...
|
|
virtual const char * | GetObjectName () const =0 |
| Returns the name of the object for class or interface methods. More...
|
|
virtual const char * | GetName () const =0 |
| Returns the name of the function or method. More...
|
|
virtual const char * | GetNamespace () const =0 |
| Returns the namespace of the function. More...
|
|
virtual const char * | GetDeclaration (bool includeObjectName=true, bool includeNamespace=false, bool includeParamNames=false) const =0 |
| Returns the function declaration. More...
|
|
virtual bool | IsReadOnly () const =0 |
| Returns true if the class method is read-only. More...
|
|
virtual bool | IsPrivate () const =0 |
| Returns true if the class method is private. More...
|
|
virtual bool | IsProtected () const =0 |
| Returns true if the class method is protected. More...
|
|
virtual bool | IsFinal () const =0 |
| Returns true if the method is final. More...
|
|
virtual bool | IsOverride () const =0 |
| Returns true if the method is meant to override a method in the base class. More...
|
|
virtual bool | IsShared () const =0 |
| Returns true if the function is shared. More...
|
|
virtual bool | IsExplicit () const =0 |
| Returns true if the function is declared as 'explicit'. More...
|
|
virtual bool | IsProperty () const =0 |
| Returns true if the function is declared as 'property'. More...
|
|
virtual asUINT | GetParamCount () const =0 |
| Returns the number of parameters for this function. More...
|
|
virtual int | GetParam (asUINT index, int *typeId, asDWORD *flags=0, const char **name=0, const char **defaultArg=0) const =0 |
| Returns the type id of the specified parameter. More...
|
|
virtual int | GetReturnTypeId (asDWORD *flags=0) const =0 |
| Returns the type id of the return type. More...
|
|
|
virtual int | GetTypeId () const =0 |
| Returns the type id representing a function pointer for this function. More...
|
|
virtual bool | IsCompatibleWithTypeId (int typeId) const =0 |
| Checks if the given type id can represent this function. More...
|
|
|
virtual void * | GetDelegateObject () const =0 |
| Returns the object for the delegate. More...
|
|
virtual asITypeInfo * | GetDelegateObjectType () const =0 |
| Returns the type of the delegated object. More...
|
|
virtual asIScriptFunction * | GetDelegateFunction () const =0 |
| Returns the function for the delegate. More...
|
|
|
virtual asUINT | GetVarCount () const =0 |
| Returns the number of local variables in the function. More...
|
|
virtual int | GetVar (asUINT index, const char **name, int *typeId=0) const =0 |
| Returns information about a local variable. More...
|
|
virtual const char * | GetVarDecl (asUINT index, bool includeNamespace=false) const =0 |
| Returns the declaration of a local variable. More...
|
|
virtual int | FindNextLineWithCode (int line) const =0 |
| Returns the next line number with code. More...
|
|
|
virtual asDWORD * | GetByteCode (asUINT *length=0)=0 |
| Returns the byte code buffer and length. More...
|
|
|
virtual void * | SetUserData (void *userData, asPWORD type=0)=0 |
| Register the memory address of some user data. More...
|
|
virtual void * | GetUserData (asPWORD type=0) const =0 |
| Returns the address of the previously registered user data. More...
|
|