17 #ifndef __H5Location_H
18 #define __H5Location_H
22 #ifndef H5_NO_NAMESPACE
58 Attribute openAttribute(
const char* name )
const;
63 Attribute openAttribute(
const unsigned int idx )
const;
66 void flush( H5F_scope_t scope )
const;
72 int getNumAttrs()
const;
74 #ifndef H5_NO_DEPRECATED_SYMBOLS
76 H5G_obj_t getObjType(
void *ref, H5R_type_t ref_type = H5R_OBJECT)
const;
80 H5O_type_t getRefObjType(
void *ref, H5R_type_t ref_type = H5R_OBJECT)
const;
85 int iterateAttrs(
attr_operator_t user_op,
unsigned* idx = NULL,
void* op_data = NULL);
88 bool attrExists(
const char* name)
const;
92 void renameAttr(
const char* oldname,
const char* newname)
const;
96 void removeAttr(
const char* name)
const;
100 void setComment(
const char* name,
const char* comment)
const;
102 void setComment(
const char* comment)
const;
106 H5std_string getComment(
const char* name,
size_t bufsize=256)
const;
110 void removeComment(
const char* name)
const;
115 void reference(
void* ref,
const char* name,
116 H5R_type_t ref_type = H5R_OBJECT)
const;
118 H5R_type_t ref_type = H5R_OBJECT)
const;
119 void reference(
void* ref,
const char* name,
const DataSpace& dataspace,
120 H5R_type_t ref_type = H5R_DATASET_REGION)
const;
122 H5R_type_t ref_type = H5R_DATASET_REGION)
const;
126 void dereference(
const H5Location& loc,
const void* ref, H5R_type_t ref_type = H5R_OBJECT);
127 void dereference(
const Attribute& attr,
const void* ref, H5R_type_t ref_type = H5R_OBJECT);
130 DataSpace getRegion(
void *ref, H5R_type_t ref_type = H5R_DATASET_REGION)
const;
133 virtual hid_t getId()
const = 0;
136 #ifndef DOXYGEN_SHOULD_SKIP_THIS
147 void p_reference(
void* ref,
const char* name, hid_t space_id, H5R_type_t ref_type)
const;
150 hid_t p_dereference(hid_t loc_id,
const void* ref, H5R_type_t ref_type,
const char* from_func);
152 #ifndef H5_NO_DEPRECATED_SYMBOLS
154 H5G_obj_t p_get_obj_type(
void *ref, H5R_type_t ref_type)
const;
158 H5O_type_t p_get_ref_obj_type(
void *ref, H5R_type_t ref_type)
const;
160 #endif // DOXYGEN_SHOULD_SKIP_THIS
167 #ifndef H5_NO_NAMESPACE
170 #endif // __H5Location_H
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:32
attr_operator_t op
Definition: H5Location.h:35
void(* attr_operator_t)(H5Location &loc, const H5std_string attr_name, void *operator_data)
Definition: H5Location.h:29
Class PropList provides operations for generic property lists.
Definition: H5PropList.h:25
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:25
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:49
H5Location * location
Definition: H5Location.h:37
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
void * opData
Definition: H5Location.h:36
#define H5std_string
Definition: H5Exception.h:29
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34
Definition: H5Location.h:33
static const PropList DEFAULT
Constant for default property.
Definition: H5PropList.h:28
class H5_DLLCPP H5Location
Definition: H5Location.h:26