summaryrefslogtreecommitdiffstats
path: root/c++/src/H5EnumType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-22 19:14:40 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-05-22 19:14:40 (GMT)
commit53114fe05593c5ec19858759724ddfed5b4f9310 (patch)
tree90c9ba3e0a3572567aef80367b062b1104ddcf0b /c++/src/H5EnumType.h
parentd6845ab65582bcea1986830aa5b23d7fc295149c (diff)
downloadhdf5-53114fe05593c5ec19858759724ddfed5b4f9310.zip
hdf5-53114fe05593c5ec19858759724ddfed5b4f9310.tar.gz
hdf5-53114fe05593c5ec19858759724ddfed5b4f9310.tar.bz2
[svn-r8568] Purpose:
Add documentation and a missing function - incrementally check-in (Note: these files supposed to be checked in with my checkin on May 19, but were accidentally left out. -> same log message) Description: Added wrapper for H5Tget_nmembers to H5EnumType.*; it was accidentally left out. Also, added doxygen documentation and removed outdated comments. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Windows 2000
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;