17 #ifndef __H5Attribute_H
18 #define __H5Attribute_H
20 #ifndef H5_NO_NAMESPACE
48 H5std_string getFileName()
const;
51 ssize_t getName(
char* attr_name,
size_t buf_size = 0)
const;
52 H5std_string getName(
size_t len)
const;
53 H5std_string getName()
const;
54 ssize_t getName(H5std_string& attr_name,
size_t len = 0)
const;
57 ssize_t getName(
size_t buf_size, H5std_string& attr_name )
const;
63 virtual hsize_t getStorageSize()
const;
66 virtual size_t getInMemDataSize()
const;
69 void read(
const DataType& mem_type,
void *buf )
const;
70 void read(
const DataType& mem_type, H5std_string& strg )
const;
73 void write(
const DataType& mem_type,
const void *buf )
const;
74 void write(
const DataType& mem_type,
const H5std_string& strg )
const;
78 void flush( H5F_scope_t scope )
const;
81 virtual H5std_string
fromClass ()
const {
return(
"Attribute"); }
84 virtual hid_t getId()
const;
89 #ifndef DOXYGEN_SHOULD_SKIP_THIS
92 virtual void p_setId(
const hid_t new_id);
93 #endif // DOXYGEN_SHOULD_SKIP_THIS
102 virtual hid_t p_get_type()
const;
105 void p_read_variable_len(
const DataType& mem_type, H5std_string& strg)
const;
106 void p_read_fixed_len(
const DataType& mem_type, H5std_string& strg)
const;
109 int iterateAttrs() {
return 0; }
118 #ifndef H5_NO_NAMESPACE
121 #endif // __H5Attribute_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5Attribute.h:81
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
void f_Attribute_setId(Attribute *attr, hid_t new_id)
Definition: H5Location.cpp:941
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:40