ScummVM API documentation
asIScriptContext Class Referenceabstract
Inheritance diagram for asIScriptContext:
asCContext

Public Member Functions

virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual asIScriptEngineGetEngine () const =0
 
virtual int Prepare (asIScriptFunction *func)=0
 
virtual int Unprepare ()=0
 
virtual int Execute ()=0
 
virtual int Abort ()=0
 
virtual int Suspend ()=0
 
virtual asEContextState GetState () const =0
 
virtual int PushState ()=0
 
virtual int PopState ()=0
 
virtual bool IsNested (asUINT *nestCount=0) const =0
 
virtual int SetObject (void *obj)=0
 
virtual int SetArgByte (asUINT arg, asBYTE value)=0
 
virtual int SetArgWord (asUINT arg, asWORD value)=0
 
virtual int SetArgDWord (asUINT arg, asDWORD value)=0
 
virtual int SetArgQWord (asUINT arg, asQWORD value)=0
 
virtual int SetArgFloat (asUINT arg, float value)=0
 
virtual int SetArgDouble (asUINT arg, double value)=0
 
virtual int SetArgAddress (asUINT arg, void *addr)=0
 
virtual int SetArgObject (asUINT arg, void *obj)=0
 
virtual int SetArgVarType (asUINT arg, void *ptr, int typeId)=0
 
virtual void * GetAddressOfArg (asUINT arg)=0
 
virtual asBYTE GetReturnByte ()=0
 
virtual asWORD GetReturnWord ()=0
 
virtual asDWORD GetReturnDWord ()=0
 
virtual asQWORD GetReturnQWord ()=0
 
virtual float GetReturnFloat ()=0
 
virtual double GetReturnDouble ()=0
 
virtual void * GetReturnAddress ()=0
 
virtual void * GetReturnObject ()=0
 
virtual void * GetAddressOfReturnValue ()=0
 
virtual int SetException (const char *info, bool allowCatch=true)=0
 
virtual int GetExceptionLineNumber (int *column=0, const char **sectionName=0)=0
 
virtual asIScriptFunctionGetExceptionFunction ()=0
 
virtual const char * GetExceptionString ()=0
 
virtual bool WillExceptionBeCaught ()=0
 
virtual int SetExceptionCallback (asSFuncPtr callback, void *obj, int callConv)=0
 
virtual void ClearExceptionCallback ()=0
 
virtual int SetLineCallback (asSFuncPtr callback, void *obj, int callConv)=0
 
virtual void ClearLineCallback ()=0
 
virtual asUINT GetCallstackSize () const =0
 
virtual asIScriptFunctionGetFunction (asUINT stackLevel=0)=0
 
virtual int GetLineNumber (asUINT stackLevel=0, int *column=0, const char **sectionName=0)=0
 
virtual int GetVarCount (asUINT stackLevel=0)=0
 
virtual const char * GetVarName (asUINT varIndex, asUINT stackLevel=0)=0
 
virtual const char * GetVarDeclaration (asUINT varIndex, asUINT stackLevel=0, bool includeNamespace=false)=0
 
virtual int GetVarTypeId (asUINT varIndex, asUINT stackLevel=0)=0
 
virtual void * GetAddressOfVar (asUINT varIndex, asUINT stackLevel=0)=0
 
virtual bool IsVarInScope (asUINT varIndex, asUINT stackLevel=0)=0
 
virtual int GetThisTypeId (asUINT stackLevel=0)=0
 
virtual void * GetThisPointer (asUINT stackLevel=0)=0
 
virtual asIScriptFunctionGetSystemFunction ()=0
 
virtual void * SetUserData (void *data, asPWORD type=0)=0
 
virtual void * GetUserData (asPWORD type=0) const =0
 

The documentation for this class was generated from the following file: