das2C
das core C utilities (v3)
Loading...
Searching...
No Matches
Data Structures | Functions
iterator.h File Reference

Objects which automatically increment indexes. More...

#include <das3/dataset.h>
Include dependency graph for iterator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DasDsIter
 Dataset iterator structure. More...
 
struct  DasDsUniqIter
 A non-degenerate iterator. More...
 
struct  DasDsCubeIter
 Simple cubic iterator. More...
 
struct  DasAryIter
 Iterate over a sub-set of the index space of a DasAry. More...
 

Functions

DAS_API bool DasAryIter_next (DasAryIter *pThis)
 Increment an array iterated to the next expected index.
 

Detailed Description

Objects which automatically increment indexes.

Function Documentation

◆ DasAryIter_next()

DAS_API bool DasAryIter_next ( DasAryIter pThis)

Increment an array iterated to the next expected index.

Updates the .index member to the next value in range.

Parameters
pThis- The iterator in increment
Returns
true if the new index is in range, false otherwise and the .done member is set to true.