20 #ifndef __H5DataType_H 21 #define __H5DataType_H 23 #ifndef H5_NO_NAMESPACE 37 DataType(
const H5T_class_t type_class,
size_t size );
47 DataType(
const Attribute& attr,
const void* ref, H5R_type_t ref_type = H5R_OBJECT);
53 void copy(
const DataType& like_type);
59 H5T_class_t getClass()
const;
63 void commit(
const H5Location& loc,
const char* name);
64 void commit(
const H5Location& loc,
const H5std_string& name);
67 void commit(
H5Location& loc,
const char* name);
68 void commit(
H5Location& loc,
const H5std_string& name);
72 bool committed()
const;
76 H5T_conv_t find(
const DataType& dest, H5T_cdata_t **pcdata )
const;
85 bool operator==(
const DataType& compared_type )
const;
91 size_t getSize()
const;
98 void registerFunc(H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
99 void registerFunc(H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
102 void unregister( H5T_pers_t pers,
const char* name,
const DataType& dest, H5T_conv_t func )
const;
103 void unregister( H5T_pers_t pers,
const H5std_string& name,
const DataType& dest, H5T_conv_t func )
const;
106 void setTag(
const char* tag )
const;
107 void setTag(
const H5std_string& tag )
const;
110 H5std_string getTag()
const;
113 bool detectClass(H5T_class_t cls)
const;
116 bool isVariableStr()
const;
119 virtual H5std_string
fromClass ()
const {
return(
"DataType"); }
128 virtual hid_t getId()
const;
134 #ifndef DOXYGEN_SHOULD_SKIP_THIS 138 virtual void p_setId(
const hid_t new_id);
139 #endif // DOXYGEN_SHOULD_SKIP_THIS 143 friend void f_DataType_setId(
DataType* dtype, hid_t new_id);
145 void p_commit(hid_t loc_id,
const char* name);
147 #ifndef H5_NO_NAMESPACE 150 #endif // __H5DataType_H Definition: H5AbstractDs.cpp:31
Class PredType holds the definition of all the HDF5 predefined datatypes.
Definition: H5PredType.h:31
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:119
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
Default property list.
Definition: H5PropList.h:28