FLDFget_node_data_type
FLDFset_node_data_type
Synopsis
get the primitive data type of the data within a Node_Data Data_Array
INTEGER FLDFget_node_data_type (field, comp,type)
INTEGER field(OIDSIZ)
INTEGER comp
INTEGER type
INTEGER FLDFset_node_data_type (ield, comp,type)
INTEGER field(OIDSIZ)
INTEGER comp
INTEGER type
Description
These routines get and set the primitive data type of the data held by a Data_Array. You use them to set or discover what kind of data (integer, double, float, etc.) you are dealing with. This data type will be valid for the values array, the null value (if present), and the min/max and min_vec/max_vec.
Parameters
field
The integer id of a field that contains a Node_Data Data_Array subobject.
comp
comp is an integer that specifies which component [0-n] of the Node_Data you want to query. Each component can be of a different type.
type
An integer representing a specific primitive data type. The choices are (defined in avs/dtype.h):
DTYPE_CHAR
DTYPE_BYTE
DTYPE_SHORT
DTYPE_INTEGER
DTYPE_FLOAT
DTYPE_DOUBLE