High-Level Data Reduction Library: Hdrl_multiiter

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
Hdrl_multiiter

## Data Structures
struct | hdrl_multiiter_state

## Macros
#define | MAX_ITERS 32

## Functions
hdrl_iter * | hdrl_multiiter_new (intptr_t niters, hdrl_iter *iters[], hdrl_iter_flags flags)
| iterate over multiple iterators

## Detailed Description

## Macro Definition Documentation

## ◆ MAX_ITERS

#define MAX_ITERS 32

## Function Documentation

## ◆ hdrl_multiiter_new()

hdrl_iter * hdrl_multiiter_new | ( | intptr_t | niters,
|  | hdrl_iter * | iters[],
|  | hdrl_iter_flags | flags
| ) |  |

iterate over multiple iterators

Parameters

  niters | number of iterators
  iters | array of iterators
  flags | flags of iterator

Iterates over multiple iterators returning their results as an array of pointers of the same length as number of iterators. The length of all iterators must currently be equal unless the HDRL_ITER_ALLOW_EMPTY flag is set iterators. Then the iterator will return NULL for the exhausted iterator entries. The multiiter may have HDRL_ITER_OWNS_DATA set in which case it will delete the result values itself. To take ownership set the pointer in the multiiter result to NULL.