C# Class SGScript.Variable

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

Public Properties

Property Type Description
var NI.Variable

Public Methods

Method Description
Acquire ( ) : void
ArrayFind ( Variable val ) : Int32
ArrayPop ( Int32 count ) : void
ArrayPopRetrieve ( Int32 count ) : SGScript.Variable[]
ArrayPopToStack ( Context ctx, Int32 count ) : void
ArrayPush ( ) : void
ArrayPushFromStack ( Context ctx, Int32 count ) : void
ArrayRemove ( Variable val, bool all ) : Int32
ArraySize ( ) : Int32
Clone ( ) : Variable
ConvertToString ( ) : string
Dump ( int maxdepth = 5 ) : string
Equals ( object obj ) : bool
EventState ( EventStateType est ) : bool
GCMark ( ) : void
GetBool ( ) : bool
GetByteArray ( ) : byte[]
GetHashCode ( ) : int
GetIObjectBase ( ) : IObjectBase
GetIndex ( System.Int64 key ) : Variable
GetIndex ( Variable key ) : Variable
GetIndex ( string key ) : Variable
GetInt ( ) : System.Int64
GetIterator ( ) : Variable
GetMetaObj ( ) : Variable
GetProp ( Variable key ) : Variable
GetProp ( string key ) : Variable
GetReal ( ) : double
GetString ( ) : string
GetSubItem ( Variable key, bool isprop ) : Variable
GetSubItem ( string key, bool isprop ) : Variable
GetThread ( ) : Context
IsArray ( ) : bool
IsDict ( ) : bool
IsMap ( ) : bool
IterAdvance ( ) : bool
IterGetKey ( ) : Variable
IterGetKeyValue ( Variable &key, Variable &val ) : void
IterGetValue ( ) : Variable
Release ( ) : void
SetIndex ( System.Int64 key, Variable val ) : bool
SetIndex ( Variable key, Variable val ) : bool
SetIndex ( string key, Variable val ) : bool
SetProp ( Variable key, Variable val ) : bool
SetProp ( string key, Variable val ) : bool
SetSubItem ( Variable key, Variable val, bool isprop ) : bool
SetSubItem ( string key, Variable val, bool isprop ) : bool
ToString ( ) : string
TypeOf ( ) : string
Unset ( Variable key ) : bool
Variable ( Context c ) : System
Variable ( Context c, NI v, bool acquire = true ) : System
operator ( ) : bool

Method Details

Acquire() public method

public Acquire ( ) : void
return void

ArrayFind() public method

public ArrayFind ( Variable val ) : Int32
val Variable
return System.Int32

ArrayPop() public method

public ArrayPop ( Int32 count ) : void
count System.Int32
return void

ArrayPopRetrieve() public method

public ArrayPopRetrieve ( Int32 count ) : SGScript.Variable[]
count System.Int32
return SGScript.Variable[]

ArrayPopToStack() public method

public ArrayPopToStack ( Context ctx, Int32 count ) : void
ctx Context
count System.Int32
return void

ArrayPush() public method

public ArrayPush ( ) : void
return void

ArrayPushFromStack() public method

public ArrayPushFromStack ( Context ctx, Int32 count ) : void
ctx Context
count System.Int32
return void

ArrayRemove() public method

public ArrayRemove ( Variable val, bool all ) : Int32
val Variable
all bool
return System.Int32

ArraySize() public method

public ArraySize ( ) : Int32
return System.Int32

Clone() public method

public Clone ( ) : Variable
return Variable

ConvertToString() public method

public ConvertToString ( ) : string
return string

Dump() public method

public Dump ( int maxdepth = 5 ) : string
maxdepth int
return string

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

EventState() public method

public EventState ( EventStateType est ) : bool
est EventStateType
return bool

GCMark() public method

public GCMark ( ) : void
return void

GetBool() public method

public GetBool ( ) : bool
return bool

GetByteArray() public method

public GetByteArray ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetIObjectBase() public method

public GetIObjectBase ( ) : IObjectBase
return IObjectBase

GetIndex() public method

public GetIndex ( System.Int64 key ) : Variable
key System.Int64
return Variable

GetIndex() public method

public GetIndex ( Variable key ) : Variable
key Variable
return Variable

GetIndex() public method

public GetIndex ( string key ) : Variable
key string
return Variable

GetInt() public method

public GetInt ( ) : System.Int64
return System.Int64

GetIterator() public method

public GetIterator ( ) : Variable
return Variable

GetMetaObj() public method

public GetMetaObj ( ) : Variable
return Variable

GetProp() public method

public GetProp ( Variable key ) : Variable
key Variable
return Variable

GetProp() public method

public GetProp ( string key ) : Variable
key string
return Variable

GetReal() public method

public GetReal ( ) : double
return double

GetString() public method

public GetString ( ) : string
return string

GetSubItem() public method

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

GetSubItem() public method

public GetSubItem ( string key, bool isprop ) : Variable
key string
isprop bool
return Variable

GetThread() public method

public GetThread ( ) : Context
return Context

IsArray() public method

public IsArray ( ) : bool
return bool

IsDict() public method

public IsDict ( ) : bool
return bool

IsMap() public method

public IsMap ( ) : bool
return bool

IterAdvance() public method

public IterAdvance ( ) : bool
return bool

IterGetKey() public method

public IterGetKey ( ) : Variable
return Variable

IterGetKeyValue() public method

public IterGetKeyValue ( Variable &key, Variable &val ) : void
key Variable
val Variable
return void

IterGetValue() public method

public IterGetValue ( ) : Variable
return Variable

Release() public method

public Release ( ) : void
return void

SetIndex() public method

public SetIndex ( System.Int64 key, Variable val ) : bool
key System.Int64
val Variable
return bool

SetIndex() public method

public SetIndex ( Variable key, Variable val ) : bool
key Variable
val Variable
return bool

SetIndex() public method

public SetIndex ( string key, Variable val ) : bool
key string
val Variable
return bool

SetProp() public method

public SetProp ( Variable key, Variable val ) : bool
key Variable
val Variable
return bool

SetProp() public method

public SetProp ( string key, Variable val ) : bool
key string
val Variable
return bool

SetSubItem() public method

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

SetSubItem() public method

public SetSubItem ( string key, Variable val, bool isprop ) : bool
key string
val Variable
isprop bool
return bool

ToString() public method

public ToString ( ) : string
return string

TypeOf() public method

public TypeOf ( ) : string
return string

Unset() public method

public Unset ( Variable key ) : bool
key Variable
return bool

Variable() public method

public Variable ( Context c ) : System
c Context
return System

Variable() public method

public Variable ( Context c, NI v, bool acquire = true ) : System
c Context
v NI
acquire bool
return System

operator() public static method

public static operator ( ) : bool
return bool

Property Details

var public property

public NI.Variable var
return NI.Variable