Public Attributes

EPR_Field Struct Reference

#include <epr_api.h>

Collaboration diagram for EPR_Field:
Collaboration graph
[legend]

List of all members.

Public Attributes

EPR_Magic magic
EPR_SFieldInfoinfo
void * elems

Detailed Description

Represents a field within a record. A field is composed of one or more data elements of one of the types defined in the in field_info.

See also:
EPR_Record

Member Data Documentation

The elements of this field.

In order to use the data, this member must be casted to one of the following array data types:

  1. unsigned char* - array of unsigned 8-bit integer elements
  2. char* - array of signed 8-bit integer fields
  3. unsigned short* - array of unsigned 16-bit integer elements
  4. short* - array of signed 16-bit integer elements
  5. unsigned long* - array of unsigned 32-bit integer elements
  6. long* - array of signed 32-bit floating point elements
  7. float* - array of signed 32-bit floating point elements
  8. double* - array of signed 64-bit floating point elements
  9. EPR_STime* - array of MJD elements

Dedicated access routine are available The element type is given by info->data_type_id and the array length by info->num_elems.

Referenced by MerisFileData::epr_get_field_elem_as_str().

The corresponding field info for this field. 1

Referenced by MerisFileData::epr_get_field_elem_as_str().

EPR_Magic EPR_Field::magic

The magic number for this structure. IMPORTANT: This must always be the first member of this structure.


The documentation for this struct was generated from the following file: