15 #ifndef __H5Location_H
16 #define __H5Location_H
18 #include "H5Classes.h"
43 void flush(H5F_scope_t scope)
const;
46 H5std_string getFileName()
const;
48 #ifndef H5_NO_DEPRECATED_SYMBOLS
50 H5G_obj_t getObjType(
void *ref, H5R_type_t ref_type = H5R_OBJECT)
const;
54 H5O_type_t getRefObjType(
void *ref, H5R_type_t ref_type = H5R_OBJECT)
const;
59 void setComment(
const char* name,
const char* comment)
const;
60 void setComment(
const H5std_string& name,
const H5std_string& comment)
const;
61 void setComment(
const char* comment)
const;
62 void setComment(
const H5std_string& comment)
const;
65 ssize_t getComment(
const char* name,
size_t buf_size,
char* comment)
const;
66 H5std_string getComment(
const char* name,
size_t buf_size=0)
const;
67 H5std_string getComment(
const H5std_string& name,
size_t buf_size=0)
const;
70 void removeComment(
const char* name)
const;
71 void removeComment(
const H5std_string& name)
const;
75 void reference(
void* ref,
const char* name,
76 H5R_type_t ref_type = H5R_OBJECT)
const;
77 void reference(
void* ref,
const H5std_string& name,
78 H5R_type_t ref_type = H5R_OBJECT)
const;
79 void reference(
void* ref,
const char* name,
const DataSpace& dataspace,
80 H5R_type_t ref_type = H5R_DATASET_REGION)
const;
81 void reference(
void* ref,
const H5std_string& name,
const DataSpace& dataspace,
82 H5R_type_t ref_type = H5R_DATASET_REGION)
const;
91 DataSpace getRegion(
void *ref, H5R_type_t ref_type = H5R_DATASET_REGION)
const;
100 Group createGroup(
const char* name,
size_t size_hint = 0)
const;
101 Group createGroup(
const H5std_string& name,
size_t size_hint = 0)
const;
105 Group openGroup(
const char* name)
const;
106 Group openGroup(
const H5std_string& name)
const;
125 H5std_string getLinkval(
const char* link_name,
size_t size=0)
const;
126 H5std_string getLinkval(
const H5std_string& link_name,
size_t size=0)
const;
130 hsize_t getNumObjs()
const;
134 H5std_string getObjnameByIdx(hsize_t idx)
const;
135 ssize_t getObjnameByIdx(hsize_t idx,
char* name,
size_t size)
const;
136 ssize_t getObjnameByIdx(hsize_t idx, H5std_string& name,
size_t size)
const;
140 H5O_type_t childObjType(
const H5std_string& objname)
const;
141 H5O_type_t childObjType(
const char* objname)
const;
142 H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC,
const char* objname=
".")
const;
146 unsigned childObjVersion(
const char* objname)
const;
147 unsigned childObjVersion(
const H5std_string& objname)
const;
150 void getObjinfo(H5O_info2_t& objinfo,
unsigned fields = H5O_INFO_BASIC)
const;
153 void getObjinfo(
const char* name, H5O_info2_t& objinfo,
154 unsigned fields = H5O_INFO_BASIC,
156 void getObjinfo(
const H5std_string& name, H5O_info2_t& objinfo,
157 unsigned fields = H5O_INFO_BASIC,
161 void getObjinfo(
const char* grp_name, H5_index_t idx_type,
162 H5_iter_order_t order, hsize_t idx, H5O_info2_t& objinfo,
163 unsigned fields = H5O_INFO_BASIC,
165 void getObjinfo(
const H5std_string& grp_name, H5_index_t idx_type,
166 H5_iter_order_t order, hsize_t idx, H5O_info2_t& objinfo,
167 unsigned fields = H5O_INFO_BASIC,
171 void getNativeObjinfo(H5O_native_info_t& objinfo,
unsigned fields = H5O_NATIVE_INFO_HDR)
const;
174 void getNativeObjinfo(
const char* name, H5O_native_info_t& objinfo,
175 unsigned fields = H5O_NATIVE_INFO_HDR,
177 void getNativeObjinfo(
const H5std_string& name, H5O_native_info_t& objinfo,
178 unsigned fields = H5O_NATIVE_INFO_HDR,
182 void getNativeObjinfo(
const char* grp_name, H5_index_t idx_type,
183 H5_iter_order_t order, hsize_t idx, H5O_native_info_t& objinfo,
184 unsigned fields = H5O_NATIVE_INFO_HDR,
186 void getNativeObjinfo(
const H5std_string& grp_name, H5_index_t idx_type,
187 H5_iter_order_t order, hsize_t idx, H5O_native_info_t& objinfo,
188 unsigned fields = H5O_NATIVE_INFO_HDR,
191 #ifndef H5_NO_DEPRECATED_SYMBOLS
194 H5G_obj_t getObjTypeByIdx(hsize_t idx)
const;
195 H5G_obj_t getObjTypeByIdx(hsize_t idx,
char* type_name)
const;
196 H5G_obj_t getObjTypeByIdx(hsize_t idx, H5std_string& type_name)
const;
200 void getObjinfo(
const char* name, hbool_t follow_link, H5G_stat_t& statbuf)
const;
201 void getObjinfo(
const H5std_string& name, hbool_t follow_link, H5G_stat_t& statbuf)
const;
202 void getObjinfo(
const char* name, H5G_stat_t& statbuf)
const;
203 void getObjinfo(
const H5std_string& name, H5G_stat_t& statbuf)
const;
207 int iterateElems(
const char* name,
int *idx, H5G_iterate_t op,
void *op_data);
208 int iterateElems(
const H5std_string& name,
int *idx, H5G_iterate_t op,
void *op_data);
212 void link(
const char *target_name,
const char *link_name,
215 void link(
const H5std_string& target_name,
216 const H5std_string& link_name,
221 void link(
const char *curr_name,
222 const Group& new_loc,
const char *new_name,
225 void link(
const H5std_string& curr_name,
226 const Group& new_loc,
const H5std_string& new_name,
231 void link(
const char *curr_name,
232 const hid_t same_loc,
const char *new_name,
235 void link(
const H5std_string& curr_name,
236 const hid_t same_loc,
const H5std_string& new_name,
243 void link(H5L_type_t link_type,
const char* curr_name,
const char* new_name)
const;
244 void link(H5L_type_t link_type,
const H5std_string& curr_name,
const H5std_string& new_name)
const;
247 void unlink(
const char *link_name,
249 void unlink(
const H5std_string& link_name,
253 void mount(
const char* name,
const H5File& child,
const PropList& plist)
const;
254 void mount(
const H5std_string& name,
const H5File& child,
const PropList& plist)
const;
257 void unmount(
const char* name)
const;
258 void unmount(
const H5std_string& name)
const;
261 void copyLink(
const char *src_name,
262 const Group& dst,
const char *dst_name,
265 void copyLink(
const H5std_string& src_name,
266 const Group& dst,
const H5std_string& dst_name,
271 void copyLink(
const char *src_name,
const char *dst_name,
274 void copyLink(
const H5std_string& src_name,
275 const H5std_string& dst_name,
280 void moveLink(
const char* src_name,
281 const Group& dst,
const char* dst_name,
284 void moveLink(
const H5std_string& src_name,
285 const Group& dst,
const H5std_string& dst_name,
290 void moveLink(
const char* src_name,
const char* dst_name,
293 void moveLink(
const H5std_string& src_name,
294 const H5std_string& dst_name,
300 void move(
const char* src,
const char* dst)
const;
301 void move(
const H5std_string& src,
const H5std_string& dst)
const;
306 virtual void throwException(
const H5std_string& func_name,
const H5std_string& msg)
const;
312 #ifndef DOXYGEN_SHOULD_SKIP_THIS
324 void p_reference(
void* ref,
const char* name, hid_t space_id, H5R_type_t ref_type)
const;
327 hid_t p_dereference(hid_t loc_id,
const void* ref, H5R_type_t ref_type,
const PropList& plist,
const char* from_func);
329 #ifndef H5_NO_DEPRECATED_SYMBOLS
331 H5G_obj_t p_get_obj_type(
void *ref, H5R_type_t ref_type)
const;
335 H5O_type_t p_get_ref_obj_type(
void *ref, H5R_type_t ref_type)
const;
341 #endif // DOXYGEN_SHOULD_SKIP_THIS
349 #endif // __H5Location_H
Class Group represents an HDF5 group.
Definition: H5Group.h:24
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:27
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:25
static const DSetAccPropList & DEFAULT
Default dataset creation property list.
Definition: H5DaccProp.h:28
Class LinkAccPropList inherits from PropList and provides wrappers for the HDF5 link access property ...
Definition: H5LaccProp.h:25
Class DSetCreatPropList inherits from ObjCreatPropList and provides wrappers for the HDF5 dataset cre...
Definition: H5DcreatProp.h:29
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:28
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:31
Class LinkCreatPropList inherits from PropList and provides wrappers for the HDF5 link creation prope...
Definition: H5LcreatProp.h:25
static const LinkAccPropList & DEFAULT
Default link access property list.
Definition: H5LaccProp.h:28
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:25
Class DSetAccPropList inherits from LinkAccPropList and provides wrappers for the HDF5 dataset access...
Definition: H5DaccProp.h:25
static const DSetCreatPropList & DEFAULT
Default dataset creation property list.
Definition: H5DcreatProp.h:32
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:28
Class H5File represents an HDF5 file and inherits from class Group as file is a root group...
Definition: H5File.h:25
static const LinkCreatPropList & DEFAULT
Default link creation property list.
Definition: H5LcreatProp.h:28