Blender V4.3
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 421 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 424 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 426 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 433 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 440 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: