17 #ifndef __H5Attribute_H
18 #define __H5Attribute_H
20 #ifndef H5_NO_NAMESPACE
38 H5std_string getFileName()
const;
41 ssize_t getName(
char* attr_name,
size_t buf_size = 0)
const;
42 H5std_string getName(
size_t len)
const;
43 H5std_string getName()
const;
44 ssize_t getName(H5std_string& attr_name,
size_t len = 0)
const;
47 ssize_t getName(
size_t buf_size, H5std_string& attr_name )
const;
53 virtual hsize_t getStorageSize()
const;
56 virtual size_t getInMemDataSize()
const;
59 void read(
const DataType& mem_type,
void *buf )
const;
60 void read(
const DataType& mem_type, H5std_string& strg )
const;
63 void write(
const DataType& mem_type,
const void *buf )
const;
64 void write(
const DataType& mem_type,
const H5std_string& strg )
const;
68 void flush( H5F_scope_t scope )
const;
71 virtual H5std_string
fromClass ()
const {
return(
"Attribute"); }
83 virtual hid_t getId()
const;
90 virtual void p_setId(
const hid_t new_id);
99 virtual hid_t p_get_type()
const;
102 void p_read_variable_len(
const DataType& mem_type, H5std_string& strg)
const;
103 void p_read_fixed_len(
const DataType& mem_type, H5std_string& strg)
const;
106 int iterateAttrs() {
return 0; }
111 #ifndef H5_NO_NAMESPACE
114 #endif // __H5Attribute_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5Attribute.h:71
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:25
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:32
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:34
AbstractDs is an abstract base class, inherited by Attribute and DataSet.
Definition: H5AbstractDs.h:39