C# Class SGScript.IObjectBase

Inheritance: ISGSBase
Mostra file Open project: snake5/sgscript Class Usage Examples

Public Properties

Property Type Description
_sgsNullObjectInterface System.IntPtr
_sgsObject System.IntPtr
backingStore Variable

Public Methods

Method Description
AllocClassObject ( ) : void
AllocInterface ( NI iftemplate, string name ) : IntPtr
CreateStaticDict ( Context ctx, Type type ) : Variable
DisownClassObject ( ) : void
FindParserForType ( Type type, string typeType = null, string methodName = null ) : MethodInfo
FreeClassObject ( ) : void
GCMark ( ) : void
GetClassInfo ( ) : SGSClassInfo
GetClassInfo ( Context ctx, Type type ) : SGSClassInfo
GetClassInterface ( ) : IntPtr
GetFromObjData ( IntPtr objdata ) : IObjectBase
GetFromVarObj ( IntPtr varobj ) : IObjectBase
GetStaticClassInfo ( Context ctx, Type type ) : SGSClassInfo
GetVariable ( ) : Variable
IObjectBase ( Context c, bool skipInit = false ) : System
Release ( ) : void
_IP2Obj ( IntPtr varobj, bool freehandle = false ) : IObjectBase
_InitMetaObject ( ) : void
_intGetNext ( Context ctx, int type ) : int
_intOnConvert ( Context ctx, ConvOp type ) : int
_intOnDestroy ( ) : int
_intOnDump ( Context ctx, int maxdepth ) : int
_intOnExpr ( Context ctx, ExprOp op ) : int
_intOnGCMark ( ) : int
_intOnGetIndex ( Context ctx, bool isprop ) : int
_intOnSerialize ( Context ctx ) : int
_intOnSetIndex ( Context ctx, bool isprop ) : int
_sgsCall ( IntPtr ctx, IntPtr varobj ) : int
_sgsConvert ( IntPtr ctx, IntPtr varobj, int type ) : int
_sgsDestruct ( IntPtr ctx, IntPtr varobj ) : int
_sgsDump ( IntPtr ctx, IntPtr varobj, int maxdepth ) : int
_sgsExpr ( IntPtr ctx, IntPtr varobj ) : int
_sgsGCMark ( IntPtr ctx, IntPtr varobj ) : int
_sgsGetIndex ( IntPtr ctx, IntPtr varobj ) : int
_sgsGetNext ( IntPtr ctx, IntPtr varobj, int type ) : int
_sgsSerialize ( IntPtr ctx, IntPtr varobj ) : int
_sgsSetIndex ( IntPtr ctx, IntPtr varobj ) : int
sgsGetPropertyByName ( Variable key, bool isprop ) : Variable
sgsSetPropertyByName ( Variable key, Context ctx, bool isprop, int valueOnStack ) : bool
sgsSetPropertyByName ( Variable key, Variable val, bool isprop ) : bool

Private Methods

Method Description
ConvertToBool ( ) : bool
ConvertToString ( ) : string
OnAdd ( Variable a, Variable b ) : Variable
OnCall ( Context ctx ) : int
OnClone ( Context ctx ) : Variable
OnCompare ( Variable a, Variable b ) : Variable
OnDestroy ( ) : void
OnDiv ( Variable a, Variable b ) : Variable
OnDump ( Context ctx, int maxdepth ) : string
OnGCMark ( ) : void
OnGetIndex ( Context ctx, Variable key, bool isprop ) : Variable
OnGetIterator ( Context ctx ) : Variable
OnIterAdvance ( Context ctx ) : bool
OnIterGetValues ( Context ctx, int type ) : bool
OnMod ( Variable a, Variable b ) : Variable
OnMul ( Variable a, Variable b ) : Variable
OnNegate ( ) : Variable
OnSerialize ( Context ctx ) : bool
OnSetIndex ( Context ctx, Variable key, Variable val, bool isprop ) : bool
OnSub ( Variable a, Variable b ) : Variable
_GetPropFieldInfo ( MemberInfo minfo, Type type ) : SGSPropInfo
_ReadClassProps ( Context ctx, Type type, bool needStatic ) : SGSPropInfo>.Dictionary

Method Details

AllocClassObject() public method

public AllocClassObject ( ) : void
return void

AllocInterface() public static method

public static AllocInterface ( NI iftemplate, string name ) : IntPtr
iftemplate NI
name string
return System.IntPtr

CreateStaticDict() public static method

public static CreateStaticDict ( Context ctx, Type type ) : Variable
ctx Context
type System.Type
return Variable

DisownClassObject() public method

public DisownClassObject ( ) : void
return void

FindParserForType() public static method

public static FindParserForType ( Type type, string typeType = null, string methodName = null ) : MethodInfo
type System.Type
typeType string
methodName string
return System.Reflection.MethodInfo

FreeClassObject() public method

public FreeClassObject ( ) : void
return void

GCMark() public method

public GCMark ( ) : void
return void

GetClassInfo() public method

public GetClassInfo ( ) : SGSClassInfo
return SGSClassInfo

GetClassInfo() public static method

public static GetClassInfo ( Context ctx, Type type ) : SGSClassInfo
ctx Context
type System.Type
return SGSClassInfo

GetClassInterface() public method

public GetClassInterface ( ) : IntPtr
return System.IntPtr

GetFromObjData() public static method

public static GetFromObjData ( IntPtr objdata ) : IObjectBase
objdata System.IntPtr
return IObjectBase

GetFromVarObj() public static method

public static GetFromVarObj ( IntPtr varobj ) : IObjectBase
varobj System.IntPtr
return IObjectBase

GetStaticClassInfo() public static method

public static GetStaticClassInfo ( Context ctx, Type type ) : SGSClassInfo
ctx Context
type System.Type
return SGSClassInfo

GetVariable() public method

public GetVariable ( ) : Variable
return Variable

IObjectBase() public method

public IObjectBase ( Context c, bool skipInit = false ) : System
c Context
skipInit bool
return System

Release() public method

public Release ( ) : void
return void

_IP2Obj() public static method

public static _IP2Obj ( IntPtr varobj, bool freehandle = false ) : IObjectBase
varobj System.IntPtr
freehandle bool
return IObjectBase

_InitMetaObject() public method

public _InitMetaObject ( ) : void
return void

_intGetNext() public method

public _intGetNext ( Context ctx, int type ) : int
ctx Context
type int
return int

_intOnConvert() public method

public _intOnConvert ( Context ctx, ConvOp type ) : int
ctx Context
type ConvOp
return int

_intOnDestroy() public method

public _intOnDestroy ( ) : int
return int

_intOnDump() public method

public _intOnDump ( Context ctx, int maxdepth ) : int
ctx Context
maxdepth int
return int

_intOnExpr() public method

public _intOnExpr ( Context ctx, ExprOp op ) : int
ctx Context
op ExprOp
return int

_intOnGCMark() public method

public _intOnGCMark ( ) : int
return int

_intOnGetIndex() public method

public _intOnGetIndex ( Context ctx, bool isprop ) : int
ctx Context
isprop bool
return int

_intOnSerialize() public method

public _intOnSerialize ( Context ctx ) : int
ctx Context
return int

_intOnSetIndex() public method

public _intOnSetIndex ( Context ctx, bool isprop ) : int
ctx Context
isprop bool
return int

_sgsCall() public static method

public static _sgsCall ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsConvert() public static method

public static _sgsConvert ( IntPtr ctx, IntPtr varobj, int type ) : int
ctx System.IntPtr
varobj System.IntPtr
type int
return int

_sgsDestruct() public static method

public static _sgsDestruct ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsDump() public static method

public static _sgsDump ( IntPtr ctx, IntPtr varobj, int maxdepth ) : int
ctx System.IntPtr
varobj System.IntPtr
maxdepth int
return int

_sgsExpr() public static method

public static _sgsExpr ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsGCMark() public static method

public static _sgsGCMark ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsGetIndex() public static method

public static _sgsGetIndex ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsGetNext() public static method

public static _sgsGetNext ( IntPtr ctx, IntPtr varobj, int type ) : int
ctx System.IntPtr
varobj System.IntPtr
type int
return int

_sgsSerialize() public static method

public static _sgsSerialize ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

_sgsSetIndex() public static method

public static _sgsSetIndex ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
return int

sgsGetPropertyByName() public method

public sgsGetPropertyByName ( Variable key, bool isprop ) : Variable
key Variable
isprop bool
return Variable

sgsSetPropertyByName() public method

public sgsSetPropertyByName ( Variable key, Context ctx, bool isprop, int valueOnStack ) : bool
key Variable
ctx Context
isprop bool
valueOnStack int
return bool

sgsSetPropertyByName() public method

public sgsSetPropertyByName ( Variable key, Variable val, bool isprop ) : bool
key Variable
val Variable
isprop bool
return bool

Property Details

_sgsNullObjectInterface public_oe static_oe property

public static IntPtr,System _sgsNullObjectInterface
return System.IntPtr

_sgsObject public_oe property

public IntPtr,System _sgsObject
return System.IntPtr

backingStore public_oe property

public Variable,SGScript backingStore
return Variable