75 Attribute openAttribute(
const char *name)
const;
76 Attribute openAttribute(
const H5std_string &name)
const;
80 Attribute openAttribute(
const unsigned int idx)
const;
83 int iterateAttrs(
attr_operator_t user_op,
unsigned *idx = NULL,
void *op_data = NULL);
86 void visit(H5_index_t idx_type, H5_iter_order_t order,
visit_operator_t user_op,
void *op_data,
90 unsigned objVersion()
const;
93 int getNumAttrs()
const;
96 bool attrExists(
const char *name)
const;
97 bool attrExists(
const H5std_string &name)
const;
100 void renameAttr(
const char *oldname,
const char *newname)
const;
101 void renameAttr(
const H5std_string &oldname,
const H5std_string &newname)
const;
104 void removeAttr(
const char *name)
const;
105 void removeAttr(
const H5std_string &name)
const;
108 virtual hid_t
getId() const H5_OVERRIDE = 0;
112 ssize_t getObjName(
char *obj_name,
size_t buf_size = 0) const;
113 ssize_t getObjName(H5std_string &obj_name,
size_t len = 0) const;
114 H5std_string getObjName() const;
116 #ifndef DOXYGEN_SHOULD_SKIP_THIS
124 virtual void p_setId(
const hid_t new_id) H5_OVERRIDE = 0;
129 #endif // DOXYGEN_SHOULD_SKIP_THIS
void * opData
Definition: H5Object.h:52
Exception provides wrappers of HDF5 error handling functions.
Definition: H5Exception.h:27
virtual hid_t getId() const
Get the id of this datatype.
Definition: H5DataType.cpp:900
attr_operator_t op
Definition: H5Object.h:51
void renameAttr(const char *oldname, const char *newname) const
Renames the named attribute from this object.
Definition: H5Object.cpp:430
int iterateAttrs(attr_operator_t user_op, unsigned *idx=NULL, void *op_data=NULL)
Iterates a user's function over all the attributes of an H5 object, which may be a group,...
Definition: H5Object.cpp:222
H5Object * obj
Definition: H5Object.h:61
void * opData
Definition: H5Object.h:60
Attribute openAttribute(const char *name) const
Opens an attribute given its name.
Definition: H5Object.cpp:157
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:24
void(* attr_operator_t)(H5Object &loc, const H5std_string attr_name, void *operator_data)
Definition: H5Object.h:42
virtual hid_t getId() const H5_OVERRIDE
Get the id of this dataspace.
Definition: H5DataSpace.cpp:620
Definition: H5Exception.h:137
void visit(H5_index_t idx_type, H5_iter_order_t order, visit_operator_t user_op, void *op_data, unsigned int fields)
Recursively visits all HDF5 objects accessible from this object.
Definition: H5Object.cpp:285
H5std_string getObjName() const
Returns the name of this object as an H5std_string.
Definition: H5Object.cpp:481
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:28
Attribute createAttribute(const char *name, const DataType &type, const DataSpace &space, const PropList &create_plist=PropList::DEFAULT) const
Creates an attribute for a group, dataset, or named datatype.
Definition: H5Object.cpp:116
Definition: H5Object.h:57
Definition: H5Object.h:49
unsigned objVersion() const
Returns the header version of this HDF5 object.
Definition: H5Object.cpp:320
int getNumAttrs() const
Returns the number of attributes attached to this HDF5 object.
Definition: H5Object.cpp:348
static const PropList & DEFAULT
Default property list.
Definition: H5PropList.h:27
void removeAttr(const char *name) const
Removes the named attribute from this object.
Definition: H5Object.cpp:401
H5Object * location
Definition: H5Object.h:53
virtual hid_t getId() const
Get the id of this property list.
Definition: H5PropList.cpp:292
Class H5Object is a bridge between H5Location and DataSet, DataType, and Group.
Definition: H5Object.h:64
virtual hid_t getId() const H5_OVERRIDE=0
Definition: H5AbstractDs.cpp:33
bool attrExists(const char *name) const
Checks whether the named attribute exists at this location.
Definition: H5Object.cpp:366
int(* visit_operator_t)(H5Object &obj, const H5std_string attr_name, const H5O_info_t *oinfo, void *operator_data)
Definition: H5Object.h:45
visit_operator_t op
Definition: H5Object.h:59
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:27
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:30
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:24
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|