Blender V5.0
ArrayIterator Struct Reference

#include <RNA_types.hh>

Public Attributes

char * ptr
char * endptr
void * free_ptr
int itemsize
int length
IteratorSkipFunc skip

Detailed Description

Definition at line 571 of file RNA_types.hh.

Member Data Documentation

◆ endptr

char* ArrayIterator::endptr

Past the last valid pointer, only for comparisons, ignores skipped values.

Definition at line 574 of file RNA_types.hh.

Referenced by rna_iterator_array_begin(), rna_iterator_array_next(), RNA_property_collection_raw_array(), and RNA_property_collection_skip().

◆ free_ptr

void* ArrayIterator::free_ptr

Will be freed if set.

Definition at line 576 of file RNA_types.hh.

Referenced by rna_iterator_array_begin(), and rna_iterator_array_end().

◆ itemsize

◆ length

int ArrayIterator::length

Array length with no skip functions applied, take care not to compare against index from animsys or Python indices.

Definition at line 583 of file RNA_types.hh.

Referenced by rna_iterator_array_begin().

◆ ptr

◆ skip

IteratorSkipFunc ArrayIterator::skip

Optional skip function, when set the array as viewed by rna can contain only a subset of the members. this changes indices so quick array index lookups are not possible when skip function is used.

Definition at line 590 of file RNA_types.hh.

Referenced by rna_iterator_array_begin(), rna_iterator_array_next(), RNA_property_collection_raw_array(), and RNA_property_collection_skip().


The documentation for this struct was generated from the following file: