15 #ifndef __H5Attribute_H
16 #define __H5Attribute_H
45 ssize_t getName(
char* attr_name,
size_t buf_size = 0)
const;
46 H5std_string getName(
size_t len)
const;
47 H5std_string getName()
const;
48 ssize_t getName(H5std_string& attr_name,
size_t len = 0)
const;
51 ssize_t getName(
size_t buf_size, H5std_string& attr_name)
const;
57 virtual hsize_t getStorageSize()
const;
60 virtual size_t getInMemDataSize()
const;
63 void read(
const DataType& mem_type,
void *buf)
const;
64 void read(
const DataType& mem_type, H5std_string& strg)
const;
67 void write(
const DataType& mem_type,
const void *buf)
const;
68 void write(
const DataType& mem_type,
const H5std_string& strg)
const;
71 virtual H5std_string
fromClass ()
const {
return(
"Attribute"); }
74 virtual hid_t getId()
const;
79 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82 virtual void p_setId(
const hid_t new_id);
83 #endif // DOXYGEN_SHOULD_SKIP_THIS
92 virtual hid_t p_get_type()
const;
95 void p_read_variable_len(
const DataType& mem_type, H5std_string& strg)
const;
96 void p_read_fixed_len(
const DataType& mem_type, H5std_string& strg)
const;
99 friend void f_Attribute_setId(
Attribute* attr, hid_t new_id);
104 #endif // __H5Attribute_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5Attribute.h:71
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:24
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.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
AbstractDs is an abstract base class, inherited by Attribute and DataSet.
Definition: H5AbstractDs.h:36