ENVISAT Product Reader API for C

Functions
Field Single Element Access

This group of functions is for getting the elements of a field as a typed value. More...

Functions

char epr_get_field_elem_as_char (const EPR_SField *field, uint elem_index)
 
uchar epr_get_field_elem_as_uchar (const EPR_SField *field, uint elem_index)
 
short epr_get_field_elem_as_short (const EPR_SField *field, uint elem_index)
 
ushort epr_get_field_elem_as_ushort (const EPR_SField *field, uint elem_index)
 
int epr_get_field_elem_as_int (const EPR_SField *field, uint elem_index)
 
uint epr_get_field_elem_as_uint (const EPR_SField *field, uint elem_index)
 
float epr_get_field_elem_as_float (const EPR_SField *field, uint elem_index)
 
double epr_get_field_elem_as_double (const EPR_SField *field, uint elem_index)
 
const EPR_STimeepr_get_field_elem_as_mjd (const EPR_SField *field)
 
const char * epr_get_field_elem_as_str (const EPR_SField *field)
 

Detailed Description

This group of functions is for getting the elements of a field as a typed value.


Typed value means that the returned variable is of a certain variable type, e.g. such as short or float.
The type is located in the field info. See epr_get_field_type.
One field must have one type only.

Parameters
fieldthe field, must not be NULL
elem_indexthe zero-based index of element to be returned, must not be negative.
Returns
the typed value from given field

Function Documentation

◆ epr_get_field_elem_as_char()

char epr_get_field_elem_as_char ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_uchar()

uchar epr_get_field_elem_as_uchar ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_short()

short epr_get_field_elem_as_short ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_ushort()

ushort epr_get_field_elem_as_ushort ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_int()

int epr_get_field_elem_as_int ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_uint()

uint epr_get_field_elem_as_uint ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_float()

float epr_get_field_elem_as_float ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_double()

double epr_get_field_elem_as_double ( const EPR_SField field,
uint  elem_index 
)

◆ epr_get_field_elem_as_mjd()

const EPR_STime* epr_get_field_elem_as_mjd ( const EPR_SField field)

◆ epr_get_field_elem_as_str()

const char* epr_get_field_elem_as_str ( const EPR_SField field)

Generated on Sun Mar 4 2018 08:13:41

ENVISAT Product Reader C API

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