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(
const H5Location& loc,
const char* name);
61 void commit(
const H5Location& loc,
const H5std_string& name);
64 void commit(
H5Location& loc,
const char* name);
65 void commit(
H5Location& loc,
const H5std_string& name);
69 bool committed()
const;
73 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata )
const;
82 bool operator==(
const DataType& compared_type )
const;
88 size_t getSize()
const;
95 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
96 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
99 void unregister( H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
100 void unregister( H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
103 void setTag(
const char* tag )
const;
104 void setTag(
const H5std_string& tag )
const;
107 H5std_string getTag()
const;
110 bool detectClass(H5T_class_t cls)
const;
113 bool isVariableStr()
const;
116 virtual H5std_string
fromClass ()
const {
return(
"DataType"); }
125 virtual hid_t getId()
const;
131 #ifndef DOXYGEN_SHOULD_SKIP_THIS
135 virtual void p_setId(
const hid_t new_id);
136 #endif // DOXYGEN_SHOULD_SKIP_THIS
139 void p_commit(hid_t loc_id,
const char* name);
141 #ifndef H5_NO_NAMESPACE
144 #endif // __H5DataType_H
Definition: H5AbstractDs.cpp:29
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:32
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:47
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataType.h:116
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
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:25
static const PropList DEFAULT
Constant for default property.
Definition: H5PropList.h:28