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.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index 324867a..4ab6d3d 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -53,6 +53,9 @@ class H5_DLLCPP Attribute : public AbstractDs {
// Copy constructor: makes a copy of an existing Attribute object.
Attribute( const Attribute& original );
+ // Default constructor
+ Attribute();
+
// Destructor: properly terminates access to this attribute.
virtual ~Attribute();
@@ -63,14 +66,11 @@ class H5_DLLCPP Attribute : public AbstractDs {
// sub-types
virtual hid_t p_get_type() const;
- // do not inherit iterateAttrs from H5Object
+ // do not inherit H5Object::iterateAttrs
int iterateAttrs() { return 0; }
- // do not inherit iterateAttrs from H5Object
- void rename() {}
-
- // Default constructor
- Attribute();
+ // do not inherit H5Object::renameAttr
+ void renameAttr() {}
};
#ifndef H5_NO_NAMESPACE
}