summaryrefslogtreecommitdiffstats
path: root/c++/src/H5FloatType.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5FloatType.h')
-rw-r--r--c++/src/H5FloatType.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/c++/src/H5FloatType.h b/c++/src/H5FloatType.h
index b301286..f74a9ae 100644
--- a/c++/src/H5FloatType.h
+++ b/c++/src/H5FloatType.h
@@ -34,6 +34,10 @@ class H5_DLLCPP FloatType : public AtomType {
FloatType(const H5Location& loc, const char* name);
FloatType(const H5Location& loc, const H5std_string& name);
+ // Returns an FloatType object via DataType* by decoding the
+ // binary object description of this type.
+ virtual DataType* decode() const;
+
// Retrieves the exponent bias of a floating-point type.
size_t getEbias() const;
@@ -67,7 +71,7 @@ class H5_DLLCPP FloatType : public AtomType {
// Creates a floating-point datatype using an existing id.
FloatType(const hid_t existing_id);
- // Copy constructor: makes a copy of the original FloatType object.
+ // Copy constructor: same as the original FloatType.
FloatType(const FloatType& original);
// Noop destructor.