20 #ifndef __H5DataType_H
21 #define __H5DataType_H
35 DataType(
const H5T_class_t type_class,
size_t size );
45 DataType(
const Attribute& attr,
const void* ref, H5R_type_t ref_type = H5R_OBJECT);
51 void copy(
const DataType& like_type);
57 H5T_class_t getClass()
const;
61 void commit(
const H5Location& loc,
const char* name);
62 void commit(
const H5Location& loc,
const H5std_string& name);
70 bool committed()
const;
74 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata )
const;
83 bool operator==(
const DataType& compared_type )
const;
89 size_t getSize()
const;
96 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
97 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
100 void unregister( H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
101 void unregister( H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
104 void setTag(
const char* tag )
const;
105 void setTag(
const H5std_string& tag )
const;
108 H5std_string getTag()
const;
111 bool detectClass(H5T_class_t cls)
const;
114 bool isVariableStr()
const;
117 virtual H5std_string
fromClass ()
const {
return(
"DataType"); }
126 virtual hid_t getId()
const;
132 #ifndef DOXYGEN_SHOULD_SKIP_THIS
136 virtual void p_setId(
const hid_t new_id);
137 #endif // DOXYGEN_SHOULD_SKIP_THIS
141 friend void f_DataType_setId(
DataType* dtype, hid_t new_id);
143 void p_commit(hid_t loc_id,
const char* name);
146 #endif // __H5DataType_H
Class PredType holds the definition of all the HDF5 predefined datatypes.
Definition: H5PredType.h:29
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:30
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:32
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:45
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:47
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:29
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:23
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:26