| ENVISAT Product Reader API for C |
|
Functions | |
| const EPR_SField * | epr_get_field (const EPR_SRecord *record, const char *field_name) |
| Gets a field from the given record. | |
| uint | epr_get_num_fields (const EPR_SRecord *record) |
| Gets the number of fields contained in the given record. | |
| const EPR_SField * | epr_get_field_at (const EPR_SRecord *record, uint field_index) |
| Gets a field at the specified position within the record. | |
| const char * | epr_get_field_unit (const EPR_SField *field) |
| Gets the unit of the field. | |
| const char * | epr_get_field_description (const EPR_SField *field) |
| Gets the description of the field. | |
| uint | epr_get_field_num_elems (const EPR_SField *field) |
| Gets the number of elements of the field. | |
| const char * | epr_get_field_name (const EPR_SField *field) |
| Gets the name of the field. | |
| EPR_EDataTypeId | epr_get_field_type (const EPR_SField *field) |
| Gets the type of the field. | |
| const EPR_SField* epr_get_field | ( | const EPR_SRecord * | record, | |
| const char * | field_name | |||
| ) |
Gets a field from the given record.
The field is here identified through the given name.
It contains the field info and all corresponding values.
| record | the record identifier, must not be NULL | |
| field_name | the the name of required field, must not be NULL. |
NULL if an error occured. | uint epr_get_num_fields | ( | const EPR_SRecord * | record | ) |
Gets the number of fields contained in the given record.
| record | the record to be analysed, must not be NULL |
0 if an error occured. | const EPR_SField* epr_get_field_at | ( | const EPR_SRecord * | record, | |
| uint | field_index | |||
| ) |
Gets a field at the specified position within the record.
| record | the record from the field shall be returned, must not be NULL | |
| field_index | the zero-based index (position within record) of the field |
NULL if an error occured. | const char* epr_get_field_unit | ( | const EPR_SField * | field | ) |
Gets the unit of the field.
| field | the field from which the unit shall be returned, must not be NULL |
NULL if an error occured. | const char* epr_get_field_description | ( | const EPR_SField * | field | ) |
Gets the description of the field.
| field | field from which the description shall be returned, must not be NULL |
NULL if an error occured. | uint epr_get_field_num_elems | ( | const EPR_SField * | field | ) |
Gets the number of elements of the field.
| field | field to be analysed, must not be NULL |
0 if an error occured. | const char* epr_get_field_name | ( | const EPR_SField * | field | ) |
Gets the name of the field.
| field | field to be analysed, must not be NULL |
NULL if an error occured. | EPR_EDataTypeId epr_get_field_type | ( | const EPR_SField * | field | ) |
Gets the type of the field.
| field | field to be analysed, must not be NULL |
0 if an error occured. Generated on Mon Aug 2 15:24:00 2010
ENVISAT Product Reader C API
Written by
Brockmann Consult,
© 2002