20 #ifndef __H5DataType_H
21 #define __H5DataType_H
23 #ifndef H5_NO_NAMESPACE
37 DataType(
const H5T_class_t type_class,
size_t size );
44 DataType(
const Attribute& attr,
const void* ref, H5R_type_t ref_type = H5R_OBJECT);
50 void copy(
const DataType& like_type);
56 H5T_class_t getClass()
const;
60 void commit(
H5Location& loc,
const char* name);
65 bool committed()
const;
69 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata )
const;
78 bool operator==(
const DataType& compared_type )
const;
84 size_t getSize()
const;
91 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
92 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
95 void unregister( H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
96 void unregister( H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
99 void setTag(
const char* tag )
const;
106 bool detectClass(H5T_class_t cls)
const;
109 bool isVariableStr()
const;
121 virtual hid_t getId()
const;
127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
131 virtual void p_setId(
const hid_t new_id);
132 #endif // DOXYGEN_SHOULD_SKIP_THIS
135 void p_commit(hid_t loc_id,
const char* name);
137 #ifndef H5_NO_NAMESPACE
140 #endif // __H5DataType_H
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:32
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:25
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:49
Class DataSet operates on HDF5 datasets.
Definition: H5DataSet.h:31
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataType.h:112
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:47
hid_t id
Definition: H5DataType.h:128
#define H5std_string
Definition: H5Exception.h:29
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34
static const PropList DEFAULT
Constant for default property.
Definition: H5PropList.h:28