C# Class SGScript.IObjectBase

Inheritance: ISGSBase
Afficher le fichier Open project: snake5/sgscript Class Usage Examples

Méthodes publiques

Свойство Type Description
_sgsNullObjectInterface System.IntPtr
_sgsObject System.IntPtr
backingStore Variable

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AllocClassObject ( ) : void
Résultat void

AllocInterface() public static méthode

public static AllocInterface ( NI iftemplate, string name ) : IntPtr
iftemplate NI
name string
Résultat System.IntPtr

CreateStaticDict() public static méthode

public static CreateStaticDict ( Context ctx, Type type ) : Variable
ctx Context
type System.Type
Résultat Variable

DisownClassObject() public méthode

public DisownClassObject ( ) : void
Résultat void

FindParserForType() public static méthode

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

FreeClassObject() public méthode

public FreeClassObject ( ) : void
Résultat void

GCMark() public méthode

public GCMark ( ) : void
Résultat void

GetClassInfo() public méthode

public GetClassInfo ( ) : SGSClassInfo
Résultat SGSClassInfo

GetClassInfo() public static méthode

public static GetClassInfo ( Context ctx, Type type ) : SGSClassInfo
ctx Context
type System.Type
Résultat SGSClassInfo

GetClassInterface() public méthode

public GetClassInterface ( ) : IntPtr
Résultat System.IntPtr

GetFromObjData() public static méthode

public static GetFromObjData ( IntPtr objdata ) : IObjectBase
objdata System.IntPtr
Résultat IObjectBase

GetFromVarObj() public static méthode

public static GetFromVarObj ( IntPtr varobj ) : IObjectBase
varobj System.IntPtr
Résultat IObjectBase

GetStaticClassInfo() public static méthode

public static GetStaticClassInfo ( Context ctx, Type type ) : SGSClassInfo
ctx Context
type System.Type
Résultat SGSClassInfo

GetVariable() public méthode

public GetVariable ( ) : Variable
Résultat Variable

IObjectBase() public méthode

public IObjectBase ( Context c, bool skipInit = false ) : System
c Context
skipInit bool
Résultat System

Release() public méthode

public Release ( ) : void
Résultat void

_IP2Obj() public static méthode

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

_InitMetaObject() public méthode

public _InitMetaObject ( ) : void
Résultat void

_intGetNext() public méthode

public _intGetNext ( Context ctx, int type ) : int
ctx Context
type int
Résultat int

_intOnConvert() public méthode

public _intOnConvert ( Context ctx, ConvOp type ) : int
ctx Context
type ConvOp
Résultat int

_intOnDestroy() public méthode

public _intOnDestroy ( ) : int
Résultat int

_intOnDump() public méthode

public _intOnDump ( Context ctx, int maxdepth ) : int
ctx Context
maxdepth int
Résultat int

_intOnExpr() public méthode

public _intOnExpr ( Context ctx, ExprOp op ) : int
ctx Context
op ExprOp
Résultat int

_intOnGCMark() public méthode

public _intOnGCMark ( ) : int
Résultat int

_intOnGetIndex() public méthode

public _intOnGetIndex ( Context ctx, bool isprop ) : int
ctx Context
isprop bool
Résultat int

_intOnSerialize() public méthode

public _intOnSerialize ( Context ctx ) : int
ctx Context
Résultat int

_intOnSetIndex() public méthode

public _intOnSetIndex ( Context ctx, bool isprop ) : int
ctx Context
isprop bool
Résultat int

_sgsCall() public static méthode

public static _sgsCall ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsConvert() public static méthode

public static _sgsConvert ( IntPtr ctx, IntPtr varobj, int type ) : int
ctx System.IntPtr
varobj System.IntPtr
type int
Résultat int

_sgsDestruct() public static méthode

public static _sgsDestruct ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsDump() public static méthode

public static _sgsDump ( IntPtr ctx, IntPtr varobj, int maxdepth ) : int
ctx System.IntPtr
varobj System.IntPtr
maxdepth int
Résultat int

_sgsExpr() public static méthode

public static _sgsExpr ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsGCMark() public static méthode

public static _sgsGCMark ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsGetIndex() public static méthode

public static _sgsGetIndex ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsGetNext() public static méthode

public static _sgsGetNext ( IntPtr ctx, IntPtr varobj, int type ) : int
ctx System.IntPtr
varobj System.IntPtr
type int
Résultat int

_sgsSerialize() public static méthode

public static _sgsSerialize ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

_sgsSetIndex() public static méthode

public static _sgsSetIndex ( IntPtr ctx, IntPtr varobj ) : int
ctx System.IntPtr
varobj System.IntPtr
Résultat int

sgsGetPropertyByName() public méthode

public sgsGetPropertyByName ( Variable key, bool isprop ) : Variable
key Variable
isprop bool
Résultat Variable

sgsSetPropertyByName() public méthode

public sgsSetPropertyByName ( Variable key, Context ctx, bool isprop, int valueOnStack ) : bool
key Variable
ctx Context
isprop bool
valueOnStack int
Résultat bool

sgsSetPropertyByName() public méthode

public sgsSetPropertyByName ( Variable key, Variable val, bool isprop ) : bool
key Variable
val Variable
isprop bool
Résultat bool

Property Details

_sgsNullObjectInterface public_oe static_oe property

public static IntPtr,System _sgsNullObjectInterface
Résultat System.IntPtr

_sgsObject public_oe property

public IntPtr,System _sgsObject
Résultat System.IntPtr

backingStore public_oe property

public Variable,SGScript backingStore
Résultat Variable