NAME
miget_data_class - get the class type of data
SYNOPSIS
#include <minc2.h>
int miget_data_class ( mihandle_t volume,
miclass_t *volume_class)
DESCRIPTION
volume_class is the interpretation of the numerical values of the volume
independent of the numerical type used to represent the data. The
class type is defined as follows.
tyepdef enum {
MI_CLASS_REAL = 0,
MI_CLASS_INT = 1,
MI_CLASS_LABEL = 2,
MI_CLASS_COMPLEX = 3,
MI_CLASS_UNIFORM_RECORD = 4,
MI_CLASS_NON_UNIFORM_RECORD = 5
} miclass_t;
where MI_CLASS_LABEL is used for enumerated data in which a
description is associated with each value and MI_CLASS_RECORD is used
for aggregate datatypes consisting of multiple values.
RETURN VALUE
miget_data_class returns the data class of the volume or MI_ERROR if an
error occurs.