summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Attribute.h')
-rw-r--r--c++/src/H5Attribute.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index 8863a65..cf6f5c4 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -22,6 +22,9 @@ namespace H5 {
class H5_DLLCPP Attribute : public AbstractDs {
public:
+ // Closes this attribute.
+ virtual void close();
+
// Gets the name of this attribute.
ssize_t getName( size_t buf_size, string& attr_name ) const;
string getName( size_t buf_size ) const; // returns name, not its length
@@ -30,6 +33,9 @@ class H5_DLLCPP Attribute : public AbstractDs {
// Gets a copy of the dataspace for this attribute.
virtual DataSpace getSpace() const;
+ // Returns the amount of storage size required for this attribute.
+ hsize_t getStorageSize() const;
+
// Reads data from this attribute.
void read( const DataType& mem_type, void *buf ) const;
void read( const DataType& mem_type, string& strg ) const;
@@ -57,6 +63,9 @@ class H5_DLLCPP Attribute : public AbstractDs {
// do not inherit iterateAttrs from H5Object
int iterateAttrs() { return 0; }
+ // do not inherit iterateAttrs from H5Object
+ void rename() {}
+
// Default constructor
Attribute();
};