<TypedIterator> Data Interface

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

Class HierarchyType » MemoryPointer » TypedIterator

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32ElementSizeReturns the size in byte of the underlying element. For example, if the <TypedIterator> object is really a <Float32Iterator> object, this function returns sizeof( float), which is 4 bytes. For an
int32GetCountReturns the total count of elements this iterator can traverse. This refers to the count of the underlying object to (such as an <Image> or array object such as a <Float32Array>) to which this iterator is bound. For example: for a <Float32VectorArrayNode>, this count refers to the array count × 4 (the total number of components in a vec4). For an <Image> object, the count is the number of pixels × the number of channels in the format.
int32GetObjectArrayCountReturns the count of the underlying collection. This refers to the count of the underlying object to (such as an <Image> or array object such as a <Float32Array>) to which this iterator is bound. This is different from the <TypedIterator> object's Position data member, which determines either the start or end point of the range begin/end represented by the iterator.
int32IsArrayTypeReturns true if the underlying object to which the iterator is bound is an array type such as <Float32Array> or <Float32MatrixArray>.
int32IsColorTypeReturns true if the underlying object to which the iterator is bound is any <Color> type.
int32IsFloat16TypeReturns true if the underlying object to which the iterator is bound is any <float16> type.
int32IsFloat32TypeReturns true if the underlying object to which the iterator is bound is any <float32> type.
int32IsFloat64TypeReturns true if the underlying object to which the iterator is bound is any <float64> type.
int32IsImageTypeReturns true if the underlying object to which the iterator is bound is an <Image> object.
int32IsInt16TypeReturns true if the underlying object to which the iterator is bound is any <int16> type.
int32IsInt32TypeReturns true if the underlying object to which the iterator is bound is any <int32> type.
int32IsInt64TypeReturns true if the underlying object to which the iterator is bound is any <int64> type.
int32IsInt8TypeReturns true if the underlying object to which the iterator is bound is any <int8> type.
int32IsMatrixTypeReturns true if the underlying object to which the iterator is bound is any matrix type.
int32IsScalarTypeReturns true if the underlying object to which the iterator is bound is any scalar type.
int32IsStrTypeReturns true if the underlying object to which the iterator is bound a <Str> object.
int32IsUint16TypeReturns true if the underlying object to which the iterator is bound is any <uint16> type.
int32IsUint32TypeReturns true if the underlying object to which the iterator is bound is any <uint32> type.
int32IsUint64TypeReturns true if the underlying object to which the iterator is bound is any <uint64> type.
int32IsUint8TypeReturns true if the underlying object to which the iterator is bound is any <uint8> type.
int32IsVectorTypeReturns true if the underlying object to which the iterator is bound is any vector type.
int32ValidateReturns true if the iterator has been successfully bound to an object.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
uint32ComponentsSets or gets the number of components. An iterator represents the start of a span of elements, such as floats, of a specific length. For example: an itertor may represent the start or end of a span of 32 floats. This value allows you to provide hints about the periodicity of the data, such as whether the span consists of groups of 1, 2, 3, 4 primtives.
uint32PositionSets or gets the position of the iterator in the collection. This can be a 'start' or 'end' position depending on whether the iterator is 'first' or 'last'. You can set this value to a range from 0 up to the count of the underlying object. For set operations, this value is guarded to make sure you cannot set a value that is outside the bounds of the allocation used by object to which the iterator is bound.