| EPR-C-API |
#include <epr_api.h>
Data Fields | |
| EPR_Magic | magic |
| The magic number for this structure. | |
| EPR_SFieldInfo * | info |
| The corresponding field info for this field. | |
| void * | elems |
| The elements of this field. | |
A field is composed of one or more data elements of one of the types defined in the in field_info.
The magic number for this structure.
IMPORTANT: This must always be the first member of this structure.
The corresponding field info for this field.
1
| void* EPR_Field::elems |
The elements of this field.
In order to use the data, this member must be casted to one of the following array data types:
unsigned char* - array of unsigned 8-bit integer elements char* - array of signed 8-bit integer fields unsigned short* - array of unsigned 16-bit integer elements short* - array of signed 16-bit integer elements unsigned long* - array of unsigned 32-bit integer elements long* - array of signed 32-bit floating point elements float* - array of signed 32-bit floating point elements double* - array of signed 64-bit floating point elements EPR_STime* - array of MJD elements info->data_type_id and the array length by info->num_elems.