43 ssize_t getName(
char *attr_name,
size_t buf_size = 0)
const;
44 H5std_string getName(
size_t len)
const;
45 H5std_string getName()
const;
46 ssize_t getName(H5std_string &attr_name,
size_t len = 0)
const;
49 ssize_t
getName(
size_t buf_size, H5std_string &attr_name)
const;
55 virtual hsize_t getStorageSize()
const;
58 virtual size_t getInMemDataSize()
const;
61 void read(
const DataType &mem_type,
void *buf)
const;
62 void read(
const DataType &mem_type, H5std_string &strg)
const;
65 void write(
const DataType &mem_type,
const void *buf)
const;
66 void write(
const DataType &mem_type,
const H5std_string &strg)
const;
76 virtual hid_t getId()
const;
81 #ifndef DOXYGEN_SHOULD_SKIP_THIS
84 virtual void p_setId(
const hid_t new_id);
85 #endif // DOXYGEN_SHOULD_SKIP_THIS
94 virtual hid_t p_get_type()
const;
97 void p_read_variable_len(
const DataType &mem_type, H5std_string &strg)
const;
98 void p_read_fixed_len(
const DataType &mem_type, H5std_string &strg)
const;
106 #endif // H5Attribute_H
ssize_t getName(size_t buf_size, H5std_string &attr_name) const
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
void read(const DataType &mem_type, void *buf) const
Reads data from this attribute.
Definition: H5Attribute.cpp:136
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5Attribute.h:70
void incRefCount() const
Increment reference counter for the id of this object.
Definition: H5IdComponent.cpp:54
virtual ~Attribute()
Properly terminates access to this attribute.
Definition: H5Attribute.cpp:614
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:24
Definition: H5Exception.h:137
virtual size_t getInMemDataSize() const
Gets the size in memory of the attribute's data.
Definition: H5Attribute.cpp:191
virtual hsize_t getStorageSize() const
Returns the amount of storage size required for this attribute.
Definition: H5Attribute.cpp:443
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:28
virtual hid_t getId() const
Get the id of this attribute.
Definition: H5Attribute.cpp:466
H5std_string getName() const
Returns the name of this attribute as an H5std_string.
Definition: H5Attribute.cpp:310
H5std_string getDetailMsg() const
Returns the detailed message set at the time the exception is thrown.
Definition: H5Exception.cpp:264
void write(const DataType &mem_type, const void *buf) const
Writes data to this attribute.
Definition: H5Attribute.cpp:83
friend void f_Attribute_setId(Attribute *attr, hid_t new_id)
AbstractDs is an abstract base class, inherited by Attribute and DataSet.
Definition: H5AbstractDs.h:35
void f_DataSpace_setId(DataSpace *dspace, hid_t new_id)
Definition: H5Location.cpp:2302
virtual DataSpace getSpace() const
Gets a copy of the dataspace for this attribute.
Definition: H5Attribute.cpp:249
Definition: H5AbstractDs.cpp:33
Attribute()
Default constructor: Creates a stub attribute.
Definition: H5Attribute.cpp:46
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:27
virtual void close()
Closes this attribute.
Definition: H5Attribute.cpp:592
H5Location is an abstract base class, added in version 1.8.12.
Definition: H5Location.h:30
Definition: H5Exception.h:130
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|