<TypeArray> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32AddAdds a pointer to a <Type> object to the end of the array. This does not transfer ownership of the underlying memory to the array.
int32AllocateAllocates objects as indicated by the count and <TypeInformation>. Adds pointers to these objects to the array.
int32ClearClears the array and frees the underlying memory, but does not destroy the <TypeArray> object.
int32CombineGiven ArrayA ( this array ) and ArrayB ( not this array ), combines ArrayB with ArrayA at the specified index in ArrayA.
int32DeallocateDeletes the objects managed by this array and releases the memory back to the operating system.
int32DeallocateRangeDelets the the specified number of objects at the specified start position.
int32DelRemoves an item from the array at the specified index.
int32FillSets all the items in the <TypeArray> to this value.
int32FindFinds a value in the <TypeArray> and returns its index, or -1 if the value is not found.
<Type>GetReturns a pointer to the <Type> object at the specified index.
int32GetCountReturns the count of the underlying array object.
int32InReturns true if the <Type> object pointer is resident in the array. Otherwise returns false.
int32InsertInserts a value into the array. May incur re-allocation costs depending on the size of any allocated reserve.
int32MergeAdds a value to the end if the value is not already in the <Uint8Array>.
int32PopPops the first item off the top of the stack.
int32PushPushes an item onto the stack ( at the end ).
int32RelocateRelocates a chunk of the array to a new index.
<Type>RemoveRemoves the object from the array and returns a pointer to the object. Does not destroy the object and the object's memory is not released.
int32ReserveGets or sets the reserve allocation. Note: this does not change the array count, it merely changes the size of the underlying buffer.
<Type>SetSets the value at the specified index.
int32SetCountSets the count of this array.
int32ShrinkShrinks the array to a subset of itself.
int32SizeInBytesReturns the size in bytes of the <TypeArray>, which is the total number of bytes currently being used by the <TypeArray>, and does not include any allocated reserve.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
Type[]Objects[ index ]Gets or sets the value of an element in the array at the specified index. The syntax is array.Objects[ n ], where n is a valid index into the array.
int32CountGets or sets the number of bytes in the <Uint8Array>. Setting the count to zero frees all the memory owned by the <Uint8Array, but does not destroy the <Uint8Array> object.