diff options
Diffstat (limited to 'c++/src/H5Attribute.h')
-rw-r--r-- | c++/src/H5Attribute.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h index cf6f5c4..73a5612 100644 --- a/c++/src/H5Attribute.h +++ b/c++/src/H5Attribute.h @@ -44,6 +44,9 @@ class H5_DLLCPP Attribute : public AbstractDs { void write(const DataType& mem_type, const void *buf ) const; void write(const DataType& mem_type, const string& strg ) const; + // Returns this class name + virtual string fromClass () const { return ("Attribute"); } + // Creates a copy of an existing attribute using the attribute id Attribute( const hid_t attr_id ); |