17 #ifndef __H5Attribute_H
18 #define __H5Attribute_H
46 H5std_string getFileName()
const;
49 ssize_t getName(
char* attr_name,
size_t buf_size = 0)
const;
50 H5std_string getName(
size_t len)
const;
51 H5std_string getName()
const;
52 ssize_t getName(H5std_string& attr_name,
size_t len = 0)
const;
55 ssize_t getName(
size_t buf_size, H5std_string& attr_name )
const;
61 virtual hsize_t getStorageSize()
const;
64 virtual size_t getInMemDataSize()
const;
67 void read(
const DataType& mem_type,
void *buf )
const;
68 void read(
const DataType& mem_type, H5std_string& strg )
const;
71 void write(
const DataType& mem_type,
const void *buf )
const;
72 void write(
const DataType& mem_type,
const H5std_string& strg )
const;
76 void flush( H5F_scope_t scope )
const;
79 virtual H5std_string
fromClass ()
const {
return(
"Attribute"); }
82 virtual hid_t getId()
const;
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
90 virtual void p_setId(
const hid_t new_id);
91 #endif // DOXYGEN_SHOULD_SKIP_THIS
100 virtual hid_t p_get_type()
const;
103 void p_read_variable_len(
const DataType& mem_type, H5std_string& strg)
const;
104 void p_read_fixed_len(
const DataType& mem_type, H5std_string& strg)
const;
107 int iterateAttrs() {
return 0; }
117 #endif // __H5Attribute_H
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5Attribute.h:79
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:32
void f_Attribute_setId(Attribute *attr, hid_t new_id)
Definition: H5Location.cpp:940
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:23
Class Attribute operates on HDF5 attributes.
Definition: H5Attribute.h:30
Class DataType provides generic operations on HDF5 datatypes.
Definition: H5DataType.h:32
AbstractDs is an abstract base class, inherited by Attribute and DataSet.
Definition: H5AbstractDs.h:38