Provides script language access to C++ objects of this type.
Class Hierarchy | No registered superclass. |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
<TypeInfoArray> | TypeInfoArray | This object's constructor. |
int32 | Add | Adds a <TypeInformation> pointer to the end of the array. |
int32 | AddTypeSequence | Populates the array with a user-defined number of <TypeInformation> object pointers. |
int32 | AddUnique | Adds a <TypeInformation> pointer if the type is not already resident in the array. |
int32 | Any | Returns true if the submitted <TypeInformation> object matches any types in the array, including subclasses. |
int32 | Ascending | Insertion sorts values added to this array. |
int32 | Clear | Clears the array and frees the underlying memory. |
int32 | Combine | Given ArrayA ( this array ) and ArrayB ( not this array ), combines ArrayB with ArrayA at the specified index in ArrayA. |
int32 | ConsumeList | Populates a <TypeInfoArray> with the types of all the members of the <List>. |
int32 | ConsumeNodeBuffer | Populates a <TypeInfoArray> with the types of all the members of the <NodeBuffer>. |
int32 | ConsumeTypeBuffer | Populates a <TypeInfoArray> with the types of all the members of the <TypeBuffer>. |
int32 | Del | Removes an item from the array at the specified index. |
int32 | DerivedMatchCount | Returns true if the specified number of types in this <TypeInfoArray> have exact or derived matches in the <TypeInfoArray> submitted to this function. Otherwise returns false. |
int32 | DerivedMatches | Returns the number of derived matches in this <TypeInfoArray> and the <TypeInfoArray> submitted to this function. |
int32 | Descending | Insertion sorts values added to this array. |
int32 | ExactMatches | Returns the number of exact matches in this <TypeInfoArray> and the <TypeInfoArray> submitted to this function. |
int32 | Fill | Sets all the items in the <TypeInfoArray> to this value. |
int32 | Find | Returns the index of a value in the <TypeInfoArray> or -1 if the value is not in the array. |
TypeInformation | Get | Returns a pointer to the object at the specified index. |
int32 | GetCount | Returns the count of the underlying array object. |
TypeInformation | GetFirst | Returns a pointer to the first item in the array, or nullptr if the array is empty. |
TypeInformation | GetLast | Returns a pointer to the last item in the array, or nullptr if the array is empty. |
int32 | In | Returns true if the <TypeInformation> pointer submitted to this function is in the array. |
int32 | Insert | Inserts a value into the array. May incur re-allocation costs depending on the size of any allocated reserve. |
int32 | IsDerived | Returns true if the type of the <Node> pointer submitted to this function matches any of the <TypeInformation> pointers in this array. |
int32 | IsEmpty | Returns true if the array is empty. |
int32 | IsEquivalent | Returns true if the <TypeInformation> pointers in this <TypeInfoArray> are exact matches to all the <TypeInformation> pointers in the <TypeInfoArray> submitted to this function. Otherwise returns false. |
int32 | Merge | Adds a <TypeInformation> pointer to the end if the value is not already in the <TypeInfoArray>. |
int32 | Move | Relocates a chunk of the array to a new index. |
TypeInformation | Next | Returns a pointer to the next item in the array, or nullptr if the specified index is the last item in the array. |
int32 | Pop | Pops the first item off the top of the stack. |
TypeInformation | Previous | Returns a pointer to the previous item in the array, or nullptr if the specified index is the last item in the array. |
int32 | Push | Pushes an item onto the stack ( at the end ). |
TypeInformation | Remove | Removes a <TypeInformation> pointer from the array, but does not destroy it. Returns a pointer to the <TypeInformation> object that was removed from the array. |
TypeInformation | RemoveType | Removes all instances of the specified <TypeInformation> from the array. |
int32 | Reverse | Reverse the array. |
int32 | SetCount | Sets the count of the array. |
int32 | Shrink | Shrinks the array to a sub-range. |
int32 | Sort | Sorts the <TypeInformation> objects by alphabetical order. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
TypeInformation[] | 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. |
int32 | Count | Gets or sets the number of <TypeInformation> pointers in the <TypeInfoArray>. Setting the count to zero frees all the memory owned by the <TypeInfoArray>, but does not destroy the <TypeInfoArray> object. |
int32 | Reserve | Gets or sets the reserve allocation. Note: this does not change the array count, it merely changes the size of the underlying buffer. |