15 #ifndef __H5DataType_H
16 #define __H5DataType_H
31 DataType(
const H5T_class_t type_class,
size_t size);
51 void copy(
const DataType& like_type);
64 H5T_class_t getClass()
const;
68 void commit(
const H5Location& loc,
const char* name);
69 void commit(
const H5Location& loc,
const H5std_string& name);
78 bool committed()
const;
82 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata)
const;
91 bool operator==(
const DataType& compared_type)
const;
94 bool operator!=(
const DataType& compared_type)
const;
100 size_t getSize()
const;
107 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func)
const;
108 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func)
const;
111 void unregister(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func)
const;
112 void unregister(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func)
const;
115 void setTag(
const char* tag)
const;
116 void setTag(
const H5std_string& tag)
const;
119 H5std_string getTag()
const;
122 bool detectClass(H5T_class_t cls)
const;
123 static bool detectClass(
const PredType& pred_type, H5T_class_t cls);
126 bool isVariableStr()
const;
132 virtual H5std_string
fromClass ()
const {
return(
"DataType"); }
141 bool hasBinaryDesc()
const;
144 virtual hid_t getId()
const;
150 #ifndef DOXYGEN_SHOULD_SKIP_THIS
155 hid_t p_decode()
const;
158 virtual void p_setId(
const hid_t new_id);
161 hid_t p_opentype(
const H5Location& loc,
const char* dtype_name)
const;
163 #endif // DOXYGEN_SHOULD_SKIP_THIS
168 unsigned char *encoded_buf;
172 friend void f_DataType_setId(
DataType* dtype, hid_t new_id);
174 void p_commit(hid_t loc_id,
const char* name);
179 #endif // __H5DataType_H
Class PredType holds the definition of all the HDF5 predefined datatypes.
Definition: H5PredType.h:28
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:28
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:69
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataType.h:132
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:31
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:28
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list...
Definition: H5PropList.h:25
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:28