cohtml::ArrayInfo
Represents an array of a type exposed to the scripting.
#include <Property.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| ElementType | Type Type of the elements in the array. |
| LengthGetter | GetLength Callback that returns the number of elements in the array. |
| ElementGetter | GetElement Callback that returns the element at the specified index. |
| ArrayElementBinder | BindElement Callback that binds the element at the specified index. It’s the same bind callback passed to TryBindArrayByRef. Used in the data binding for resolving arrays of complex types, such as arrays of strings, polymorphic arrays, nested arrays and arrays of other containers. |
| TypeInfo * | ArrayTypeInfo Type information for elements when Type is ET_UserType; null otherwise. |
| void * | UserData Pointer to the underlying array or container. May represent the actual container or an abstraction defined by the property implementation. |
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable Type
Section titled “variable Type”ElementType Type;Type of the elements in the array.
variable GetLength
Section titled “variable GetLength”LengthGetter GetLength;Callback that returns the number of elements in the array.
variable GetElement
Section titled “variable GetElement”ElementGetter GetElement;Callback that returns the element at the specified index.
variable BindElement
Section titled “variable BindElement”ArrayElementBinder BindElement;Callback that binds the element at the specified index. It’s the same bind callback passed to TryBindArrayByRef. Used in the data binding for resolving arrays of complex types, such as arrays of strings, polymorphic arrays, nested arrays and arrays of other containers.
variable ArrayTypeInfo
Section titled “variable ArrayTypeInfo”TypeInfo * ArrayTypeInfo;Type information for elements when Type is ET_UserType; null otherwise.
variable UserData
Section titled “variable UserData”void * UserData;Pointer to the underlying array or container. May represent the actual container or an abstraction defined by the property implementation.
© 2026 Coherent Labs. All rights reserved.