next up previous contents
Next: getTypeNameString Up: General functions Previous: getFixedType

translateCharToDatatype

hid_t translateCharToDatatype (const char* dataType)

Creates an HDF5 datatype hid_t from the string representation dataType. dataType can be one of: char, schar, uchar, short, ushort, int, uint, long, ulong, llong, ullong, float, double, hsize, hssize, herr or hbool. Returns a value less than 0 upon failure, otherwise a hid_t reference to the new type.




2000-08-08