next up previous contents
Next: miget_attr_values Up: ATTRIBUTE/GROUP FUNCTIONS (11) Previous: miget_attr_length   Contents

miget_attr_type

NAME 

miget_attr_type - get the data type of the attribute

SYNOPSIS

#include <minc2.h>

int miget_attr_type ( mihandle_t                volume,
                      const char                *path,
                      const char                *name,
                      mitype_t                  *attr_data_type) 
               
                                
DESCRIPTION

This method gets the data_type the given attribute name. For the
definition of mitype_t see miget_data_type().


RETURN VALUE
miget_attr_type returns MI_NOERROR if it successfully gets the
data type of a given attribute name or MI_ERROR otherwise

In the initial implementation, attributes are restricted to type of
either MI_TYPE_DOUBLE or MI_TYPE_CHAR.



Robert VINCENT 2005-03-09