ENVISAT Product Reader API for C

Functions
Copy Field Elems This group of functions is for copying the data of the given field into the given

buffer of elements by selected type. More...

Functions

uint epr_copy_field_elems_as_ints (const EPR_SField *field, int *buffer, uint num_elems)
 
uint epr_copy_field_elems_as_uints (const EPR_SField *field, uint *buffer, uint num_elems)
 
uint epr_copy_field_elems_as_floats (const EPR_SField *field, float *buffer, uint num_elems)
 
uint epr_copy_field_elems_as_doubles (const EPR_SField *field, double *buffer, uint num_elems)
 

Detailed Description

buffer of elements by selected type.

The actual number of elements copied is the minimum of the given number of elements (the buffer's size) and the actual number of elements contained in the field.

If the actual field data type is not selected type, the function automatically performs the conversion.

Parameters
fieldthe field from which to copy the elements
bufferthe buffer in which to copy the data
num_elemsthe number of elements in the given buffer
Returns
the actual number of elements copied

Function Documentation

uint epr_copy_field_elems_as_ints ( const EPR_SField field,
int *  buffer,
uint  num_elems 
)
uint epr_copy_field_elems_as_uints ( const EPR_SField field,
uint buffer,
uint  num_elems 
)
uint epr_copy_field_elems_as_floats ( const EPR_SField field,
float *  buffer,
uint  num_elems 
)
uint epr_copy_field_elems_as_doubles ( const EPR_SField field,
double *  buffer,
uint  num_elems 
)

Generated on Wed Jul 8 2015 22:13:59

ENVISAT Product Reader C API

Written by Brockmann Consult, © 2002     Brockmann Consult      Eropean Space Agency