SF_INLINE void VisitElements(ArrayVisitor* visitor, unsigned idx, int count = -1) const; SF_INLINE void VisitElements(ArrayVisitor* visitor) const;
VisitElements visit the elements of an array. Only valid for Array types. If a managed value such as an Object is returned, then the Value holding the reference MUST be destroyed before the runtime dies since the Object’s memory will be invalid due to heap deallocation.
Parameters |
Description |
ArrayVisitor* visitor |
An instance of ArrayVisitor for visiting the array. |
unsigned idx |
The first index of the array to visit. |
int count = -1 |
The number of elements to visit including the first index. |