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.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index 71bfa14..47375a5 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -38,7 +38,7 @@ class H5_DLLCPP Attribute : public AbstractDs, public H5Location {
Attribute(const hid_t attr_id);
// Closes this attribute.
- virtual void close() H5_OVERRIDE;
+ virtual void close() override;
// Gets the name of this attribute.
ssize_t getName(char *attr_name, size_t buf_size = 0) const;
@@ -50,13 +50,13 @@ class H5_DLLCPP Attribute : public AbstractDs, public H5Location {
ssize_t getName(size_t buf_size, H5std_string &attr_name) const;
// Gets a copy of the dataspace for this attribute.
- virtual DataSpace getSpace() const H5_OVERRIDE;
+ virtual DataSpace getSpace() const override;
// Returns the amount of storage size required for this attribute.
- virtual hsize_t getStorageSize() const H5_OVERRIDE;
+ virtual hsize_t getStorageSize() const override;
// Returns the in memory size of this attribute's data.
- virtual size_t getInMemDataSize() const H5_OVERRIDE;
+ virtual size_t getInMemDataSize() const override;
// Reads data from this attribute.
void read(const DataType &mem_type, void *buf) const;
@@ -68,21 +68,21 @@ class H5_DLLCPP Attribute : public AbstractDs, public H5Location {
///\brief Returns this class name.
virtual H5std_string
- fromClass() const H5_OVERRIDE
+ fromClass() const override
{
return ("Attribute");
}
// Gets the attribute id.
- virtual hid_t getId() const H5_OVERRIDE;
+ virtual hid_t getId() const override;
// Destructor: properly terminates access to this attribute.
- virtual ~Attribute() H5_OVERRIDE;
+ virtual ~Attribute() override;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
protected:
// Sets the attribute id.
- virtual void p_setId(const hid_t new_id) H5_OVERRIDE;
+ virtual void p_setId(const hid_t new_id) override;
#endif // DOXYGEN_SHOULD_SKIP_THIS
private:
@@ -92,7 +92,7 @@ class H5_DLLCPP Attribute : public AbstractDs, public H5Location {
// getTypeClass and various API functions getXxxType
// defined in AbstractDs for generic datatype and specific
// sub-types
- virtual hid_t p_get_type() const H5_OVERRIDE;
+ virtual hid_t p_get_type() const override;
// Reads variable or fixed len strings from this attribute.
void p_read_variable_len(const DataType &mem_type, H5std_string &strg) const;