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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5EnumType.h b/c++/src/H5EnumType.h
index efeee26..cca253a 100644
--- a/c++/src/H5EnumType.h
+++ b/c++/src/H5EnumType.h
@@ -59,6 +59,9 @@ class H5_DLLCPP EnumType : public DataType {
int getMemberIndex(const char* name) const;
int getMemberIndex(const string& name) const;
+ // Returns the number of members in this enumeration datatype.
+ int getNmembers () const;
+
// Returns the value of an enumeration datatype member
void getMemberValue( int memb_no, void *value ) const;