15 #ifndef __H5DataType_H
16 #define __H5DataType_H
31 DataType(
const H5T_class_t type_class,
size_t size);
47 void copy(
const DataType& like_type);
53 H5T_class_t getClass()
const;
57 void commit(
const H5Location& loc,
const char* name);
58 void commit(
const H5Location& loc,
const H5std_string& name);
67 bool committed()
const;
71 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata)
const;
80 bool operator==(
const DataType& compared_type)
const;
86 size_t getSize()
const;
93 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func)
const;
94 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func)
const;
97 void unregister(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func)
const;
98 void unregister(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func)
const;
101 void setTag(
const char* tag)
const;
102 void setTag(
const H5std_string& tag)
const;
105 H5std_string getTag()
const;
108 bool detectClass(H5T_class_t cls)
const;
111 bool isVariableStr()
const;
117 virtual H5std_string
fromClass ()
const {
return(
"DataType"); }
133 virtual hid_t getId()
const;
139 #ifndef DOXYGEN_SHOULD_SKIP_THIS
143 virtual void p_setId(
const hid_t new_id);
146 hid_t p_opentype(
const H5Location& loc,
const char* dtype_name)
const;
148 #endif // DOXYGEN_SHOULD_SKIP_THIS
152 friend void f_DataType_setId(
DataType* dtype, hid_t new_id);
154 void p_commit(hid_t loc_id,
const char* name);
159 #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:59
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataType.h:117
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:36
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:24
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:27