summaryrefslogtreecommitdiffstats
path: root/c++/src/H5EnumType.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5EnumType.h')
-rw-r--r--c++/src/H5EnumType.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/c++/src/H5EnumType.h b/c++/src/H5EnumType.h
index fc8089e..e0d5b88 100644
--- a/c++/src/H5EnumType.h
+++ b/c++/src/H5EnumType.h
@@ -20,9 +20,8 @@ namespace H5 {
/*! \class EnumType
\brief EnumType is a derivative of a DataType and operates on HDF5
enum datatypes.
-
- Inheritance: DataType -> H5Object -> H5Location -> IdComponent
*/
+// Inheritance: DataType -> H5Object -> H5Location -> IdComponent
class H5_DLLCPP EnumType : public DataType {
public:
@@ -40,6 +39,10 @@ class H5_DLLCPP EnumType : public DataType {
EnumType(const H5Location& loc, const char* name);
EnumType(const H5Location& loc, const H5std_string& name);
+ // Returns an EnumType object via DataType* by decoding the
+ // binary object description of this type.
+ virtual DataType* decode() const;
+
// Returns the number of members in this enumeration datatype.
int getNmembers () const;