Next: bpipe_extent_new, Previous: bpipe_datatype_name, Up: Utility Functions
Identify a datatype.
#include <bpipe/bpipe.h>BPDataType bpipe_datatype_resolve(char *datatype);
char *datatype
- a string with the name of a datatype
This routine will return a BPDataType
corresponding to the
passed string, which should contain the name of a datatype.
It returns BPDType_NOTYPE
upon failure, else the code for
the datatype.
Possible values for a
BPDataType
are as follows:
BPDType_char
,
BPDType_double
,
BPDType_int
,
BPDType_uint
,
BPDType_DVector2
,
BPDType_DVector3
,
BPDType_IVector2
,
BPDType_IVector3
,
BPDType_UIVector2
,
BPDType_UIVector3
,
BPDType_DComplex
,
BPDType_DCVector2
,
BPDType_DCVector3