cohtml.Net.Property
Represents a property of a type exposed to the scripting.
Inherits from SystemIDisposable
Inherited by cohtml.Net.UnityProperty
Public Functions
Name | |
---|---|
virtual void | Dispose() |
Property(string name, bool isByRef) | |
Property(string name) | |
string | GetName() Get the name of the property. |
bool | IsByRef() Can this property be exported By-Ref. Temporaries can not be exported by reference. |
virtual global.System.IntPtr | Bind(System.IntPtr binder, global.System.IntPtr arg1) Expose the property’s name and value to a binder. |
virtual global.System.IntPtr | BindValue(System.IntPtr binder, global.System.IntPtr arg1) Expose only the value of the property to a binder. |
virtual global.System.IntPtr | Read(System.IntPtr binder, global.System.IntPtr arg1) Read the value from a binder. |
virtual global.System.IntPtr | ReadValue(System.IntPtr binder, global.System.IntPtr arg1) Read only the value of the property from a binder. |
virtual Property | Clone() Clone the property. |
virtual bool | ToBoolean(global.System.IntPtr arg0, System.IntPtr boolean) Convert the property value to a boolean. |
virtual bool | ToNumber(global.System.IntPtr arg0, System.IntPtr number) Convert the property value to a number. |
virtual bool | ToDouble(global.System.IntPtr arg0, System.IntPtr number) |
virtual bool | ToString(global.System.IntPtr arg0, System.IntPtr buffer, System.IntPtr length) Convert the property value to a string value. |
virtual bool | ToColor(global.System.IntPtr arg0, System.IntPtr color) Convert the property value to a color value. |
virtual bool | ToTransformMatrix2D(global.System.IntPtr arg0, float [] matrix) Convert the property value to a matrix. |
virtual bool | ToArray(System.IntPtr binder, global.System.IntPtr arg1, ArrayInfo arrayInfo) Convert the property value to a array type information. |
virtual bool | ToPair(System.IntPtr binder, global.System.IntPtr arg1, PairInfo pairInfo) Convert the property value to a pair type information. |
virtual bool | ToMap(System.IntPtr binder, global.System.IntPtr arg1, MapInfo mapInfo) Convert the property value to a map type information. |
virtual bool | ToObject(System.IntPtr binder, global.System.IntPtr arg1, ObjectInfo typeInfo) Convert the property value to a object type information. |
delegate global.System.IntPtr | SwigDelegateProperty_0(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr swigId) |
delegate global.System.IntPtr | SwigDelegateProperty_1(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr swigId) |
delegate global.System.IntPtr | SwigDelegateProperty_2(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr swigId) |
delegate global.System.IntPtr | SwigDelegateProperty_3(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr swigId) |
delegate global.System.IntPtr | SwigDelegateProperty_4(global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_5(global.System.IntPtr arg0, System.IntPtr boolean, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_6(global.System.IntPtr arg0, System.IntPtr number, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_7(global.System.IntPtr arg0, System.IntPtr number, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_8(global.System.IntPtr arg0, System.IntPtr buffer, System.IntPtr length, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_9(global.System.IntPtr arg0, System.IntPtr color, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_10(global.System.IntPtr arg0, float [] matrix, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_11(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr arrayInfo, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_12(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr pairInfo, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_13(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr mapInfo, global.System.IntPtr swigId) |
delegate bool | SwigDelegateProperty_14(System.IntPtr binder, global.System.IntPtr arg1, global.System.IntPtr typeInfo, global.System.IntPtr swigId) |
Protected Attributes
Name | |
---|---|
bool | swigCMemOwn |
Public Functions Documentation
function Dispose
virtual void Dispose()
Reimplemented by: cohtml.Net.UnityProperty.Dispose
function Property
Property(
string name,
bool isByRef
)
function Property
Property(
string name
)
function GetName
string GetName()
Get the name of the property.
Return: the name of the property
function IsByRef
bool IsByRef()
Can this property be exported By-Ref. Temporaries can not be exported by reference.
Return: true if the property can be exported safely by reference.
function Bind
virtual global.System.IntPtr Bind(
System.IntPtr binder,
global.System.IntPtr arg1
)
Expose the property’s name and value to a binder.
Parameters:
- binder - the binder to use
Return: - adjusted object pointer if necessary
function BindValue
virtual global.System.IntPtr BindValue(
System.IntPtr binder,
global.System.IntPtr arg1
)
Expose only the value of the property to a binder.
Parameters:
- binder - the binder to use
Return: - adjusted object pointer if necessary
function Read
virtual global.System.IntPtr Read(
System.IntPtr binder,
global.System.IntPtr arg1
)
Read the value from a binder.
Parameters:
- binder - the binder to use
Return: - adjusted object pointer if necessary
function ReadValue
virtual global.System.IntPtr ReadValue(
System.IntPtr binder,
global.System.IntPtr arg1
)
Read only the value of the property from a binder.
Parameters:
- binder - the binder to use
Return: - adjusted object pointer if necessary
function Clone
virtual Property Clone()
Clone the property.
Return: a heap allocated copy of the property
function ToBoolean
virtual bool ToBoolean(
global.System.IntPtr arg0,
System.IntPtr boolean
)
Convert the property value to a boolean.
Parameters:
- boolean - where to store the property value
Return: true if conversion is possible and successful
function ToNumber
virtual bool ToNumber(
global.System.IntPtr arg0,
System.IntPtr number
)
Convert the property value to a number.
Parameters:
- number - where to store the property value
Return: true if conversion is possible and successful
function ToDouble
virtual bool ToDouble(
global.System.IntPtr arg0,
System.IntPtr number
)
function ToString
virtual bool ToString(
global.System.IntPtr arg0,
System.IntPtr buffer,
System.IntPtr length
)
Convert the property value to a string value.
Parameters:
- buffer - char buffer for the value
- length - where to store the length of the converted value
Return: true if conversion is possible and successful
function ToColor
virtual bool ToColor(
global.System.IntPtr arg0,
System.IntPtr color
)
Convert the property value to a color value.
Parameters:
- color - where to store the property value
Return: true if conversion is possible and successful
function ToTransformMatrix2D
virtual bool ToTransformMatrix2D(
global.System.IntPtr arg0,
float [] matrix
)
Convert the property value to a matrix.
Parameters:
- matrix - where to store the property value
Return: true if conversion is possible and successful
function ToArray
virtual bool ToArray(
System.IntPtr binder,
global.System.IntPtr arg1,
ArrayInfo arrayInfo
)
Convert the property value to a array type information.
Parameters:
- binder - the binder to use
- arrayInfo - information about array type - callbacks, properties, methods
Return: true if conversion is possible and successful
function ToPair
virtual bool ToPair(
System.IntPtr binder,
global.System.IntPtr arg1,
PairInfo pairInfo
)
Convert the property value to a pair type information.
Parameters:
- binder - the binder to use
- pairInfo - information about pair type - callbacks, properties, methods
Return: true if conversion is possible and successful
function ToMap
virtual bool ToMap(
System.IntPtr binder,
global.System.IntPtr arg1,
MapInfo mapInfo
)
Convert the property value to a map type information.
Parameters:
- binder - the binder to use
- mapInfo - information about map type - callbacks, properties, methods
Return: true if conversion is possible and successful
function ToObject
virtual bool ToObject(
System.IntPtr binder,
global.System.IntPtr arg1,
ObjectInfo typeInfo
)
Convert the property value to a object type information.
Parameters:
- binder - the binder to use
- typeInfo - information about object type - properties and methods if it’s user defined type
Return: true if conversion is possible and successful
function SwigDelegateProperty_0
delegate global.System.IntPtr SwigDelegateProperty_0(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr swigId
)
function SwigDelegateProperty_1
delegate global.System.IntPtr SwigDelegateProperty_1(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr swigId
)
function SwigDelegateProperty_2
delegate global.System.IntPtr SwigDelegateProperty_2(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr swigId
)
function SwigDelegateProperty_3
delegate global.System.IntPtr SwigDelegateProperty_3(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr swigId
)
function SwigDelegateProperty_4
delegate global.System.IntPtr SwigDelegateProperty_4(
global.System.IntPtr swigId
)
function SwigDelegateProperty_5
delegate bool SwigDelegateProperty_5(
global.System.IntPtr arg0,
System.IntPtr boolean,
global.System.IntPtr swigId
)
function SwigDelegateProperty_6
delegate bool SwigDelegateProperty_6(
global.System.IntPtr arg0,
System.IntPtr number,
global.System.IntPtr swigId
)
function SwigDelegateProperty_7
delegate bool SwigDelegateProperty_7(
global.System.IntPtr arg0,
System.IntPtr number,
global.System.IntPtr swigId
)
function SwigDelegateProperty_8
delegate bool SwigDelegateProperty_8(
global.System.IntPtr arg0,
System.IntPtr buffer,
System.IntPtr length,
global.System.IntPtr swigId
)
function SwigDelegateProperty_9
delegate bool SwigDelegateProperty_9(
global.System.IntPtr arg0,
System.IntPtr color,
global.System.IntPtr swigId
)
function SwigDelegateProperty_10
delegate bool SwigDelegateProperty_10(
global.System.IntPtr arg0,
float [] matrix,
global.System.IntPtr swigId
)
function SwigDelegateProperty_11
delegate bool SwigDelegateProperty_11(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr arrayInfo,
global.System.IntPtr swigId
)
function SwigDelegateProperty_12
delegate bool SwigDelegateProperty_12(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr pairInfo,
global.System.IntPtr swigId
)
function SwigDelegateProperty_13
delegate bool SwigDelegateProperty_13(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr mapInfo,
global.System.IntPtr swigId
)
function SwigDelegateProperty_14
delegate bool SwigDelegateProperty_14(
System.IntPtr binder,
global.System.IntPtr arg1,
global.System.IntPtr typeInfo,
global.System.IntPtr swigId
)
Protected Attributes Documentation
variable swigCMemOwn
bool swigCMemOwn;