15 #ifndef __H5Location_H
16 #define __H5Location_H
18 #include "H5Classes.h"
32 class LinkAccPropList;
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;
96 Group createGroup(
const char* name,
size_t size_hint = 0)
const;
97 Group createGroup(
const H5std_string& name,
size_t size_hint = 0)
const;
101 Group openGroup(
const char* name)
const;
102 Group openGroup(
const H5std_string& name)
const;
109 DataSet openDataSet(
const char* name)
const;
110 DataSet openDataSet(
const H5std_string& name)
const;
113 H5std_string getLinkval(
const char* link_name,
size_t size=0)
const;
114 H5std_string getLinkval(
const H5std_string& link_name,
size_t size=0)
const;
117 int getNumAttrs()
const;
121 H5std_string getObjnameByIdx(hsize_t idx)
const;
122 ssize_t getObjnameByIdx(hsize_t idx,
char* name,
size_t size)
const;
123 ssize_t getObjnameByIdx(hsize_t idx, H5std_string& name,
size_t size)
const;
127 H5O_type_t childObjType(
const H5std_string& objname)
const;
128 H5O_type_t childObjType(
const char* objname)
const;
129 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;
133 unsigned childObjVersion(
const char* objname)
const;
134 unsigned childObjVersion(
const H5std_string& objname)
const;
136 #ifndef H5_NO_DEPRECATED_SYMBOLS
139 H5G_obj_t getObjTypeByIdx(hsize_t idx)
const;
140 H5G_obj_t getObjTypeByIdx(hsize_t idx,
char* type_name)
const;
141 H5G_obj_t getObjTypeByIdx(hsize_t idx, H5std_string& type_name)
const;
145 void getObjinfo(
const char* name, hbool_t follow_link, H5G_stat_t& statbuf)
const;
146 void getObjinfo(
const H5std_string& name, hbool_t follow_link, H5G_stat_t& statbuf)
const;
147 void getObjinfo(
const char* name, H5G_stat_t& statbuf)
const;
148 void getObjinfo(
const H5std_string& name, H5G_stat_t& statbuf)
const;
152 int iterateElems(
const char* name,
int *idx, H5G_iterate_t op,
void *op_data);
153 int iterateElems(
const H5std_string& name,
int *idx, H5G_iterate_t op,
void *op_data);
158 void link(H5L_type_t link_type,
const char* curr_name,
const char* new_name)
const;
159 void link(H5L_type_t link_type,
const H5std_string& curr_name,
const H5std_string& new_name)
const;
162 void unlink(
const char* name)
const;
163 void unlink(
const H5std_string& name)
const;
166 void mount(
const char* name,
const H5File& child,
const PropList& plist)
const;
168 void mount(
const H5std_string& name,
const H5File& child,
const PropList& plist)
const;
172 void unmount(
const char* name)
const;
173 void unmount(
const H5std_string& name)
const;
176 void move(
const char* src,
const char* dst)
const;
177 void move(
const H5std_string& src,
const H5std_string& dst)
const;
182 virtual void throwException(
const H5std_string& func_name,
const H5std_string& msg)
const;
188 #ifndef DOXYGEN_SHOULD_SKIP_THIS
200 void p_reference(
void* ref,
const char* name, hid_t space_id, H5R_type_t ref_type)
const;
203 hid_t p_dereference(hid_t loc_id,
const void* ref, H5R_type_t ref_type,
const PropList& plist,
const char* from_func);
205 #ifndef H5_NO_DEPRECATED_SYMBOLS
207 H5G_obj_t p_get_obj_type(
void *ref, H5R_type_t ref_type)
const;
211 H5O_type_t p_get_ref_obj_type(
void *ref, H5R_type_t ref_type)
const;
217 #endif // DOXYGEN_SHOULD_SKIP_THIS
225 #endif // __H5Location_H
Class Group represents an HDF5 group.
Definition: H5Group.h:28
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:24
Class LinkAccPropList inherits from PropList and provides wrappers for the HDF5 file access property ...
Definition: H5LaccProp.h:28
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:36
static const LinkAccPropList & DEFAULT
Default file access property list.
Definition: H5LaccProp.h:31
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:24
static const DSetCreatPropList & DEFAULT
Default dataset creation property list.
Definition: H5DcreatProp.h:32
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:27
Class H5File represents an HDF5 file and inherits from class Group as file is a root group...
Definition: H5File.h:25