28POLAR_FUNCTION_INTERNAL BOOL
31 assert( out_next_element != NULL );
32 assert( POLAR_IS_PAGED_ARRAY(self->array_target) );
34 if( self->idx_current <= self->array_target->idx_logical_max )
36 *out_next_element = polar_paged_array_get_element(self->array_target, self->idx_current);
45POLAR_FUNCTION_INTERNAL
void
57 .name_type =
"polar_paged_array_iterator",
60 .type_class_init = (polar_func_runtime_object_class_lifecycle)_polar_paged_array_iterator_class_init
65POLAR_FUNCTION_INTERNAL OBJC_FUNCTION_CONSTANT polar_internal_type
66polar_paged_array_iterator_get_type(
void )
68 static polar_internal_type pt_polar_paged_array_iterator = POLAR_INTERNAL_TYPE_INVALID;
70 if( pt_polar_paged_array_iterator != POLAR_INTERNAL_TYPE_INVALID )
71 return pt_polar_paged_array_iterator;
73 pt_polar_paged_array_iterator = polar_internal_type_init( POLAR_TYPE_ITERATOR, &class_polar_paged_array_iterator,
74 &pti_polar_paged_array_iterator );
76 return pt_polar_paged_array_iterator;
Definition polar-internal-type.h:34
Definition polar-iterator.h:30
Definition polar-paged-array-iterator.h:32
Definition polar-paged-array-iterator.h:25