summaryrefslogtreecommitdiffstats
path: root/c++/src/H5EnumType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-03-30 18:06:58 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-03-30 18:06:58 (GMT)
commita7e993d72be8fed2f0d63a8169e185bb2a298842 (patch)
tree420d7ea5ab1fd6415710f5f623f9667721f3f78e /c++/src/H5EnumType.h
parent5a90c6b31c8904a407bb91ee4cc6a7aeecf73bed (diff)
downloadhdf5-a7e993d72be8fed2f0d63a8169e185bb2a298842.zip
hdf5-a7e993d72be8fed2f0d63a8169e185bb2a298842.tar.gz
hdf5-a7e993d72be8fed2f0d63a8169e185bb2a298842.tar.bz2
[svn-r12180] Purpose: Maintenance
Description: Added alias H5_std so either the global or std namespace can be used, depending on H5_NO_STD. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) AIX 5.1 (copper)
Diffstat (limited to 'c++/src/H5EnumType.h')
-rw-r--r--c++/src/H5EnumType.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5EnumType.h b/c++/src/H5EnumType.h
index 9b38fa4..8c855cd 100644
--- a/c++/src/H5EnumType.h
+++ b/c++/src/H5EnumType.h
@@ -38,26 +38,26 @@ class H5_DLLCPP EnumType : public DataType {
// Returns the index of a member in this enumeration data type.
int getMemberIndex(const char* name) const;
- int getMemberIndex(const string& name) const;
+ int getMemberIndex(const H5_std::string& name) const;
// Returns the value of an enumeration datatype member
void getMemberValue( unsigned memb_no, void *value ) const;
// Inserts a new member to this enumeration type.
void insert( const char* name, void *value ) const;
- void insert( const string& name, void *value ) const;
+ void insert( const H5_std::string& name, void *value ) const;
// Returns the symbol name corresponding to a specified member
// of this enumeration datatype.
- string nameOf( void *value, size_t size ) const;
+ H5_std::string nameOf( void *value, size_t size ) const;
// Returns the value corresponding to a specified member of this
// enumeration datatype.
void valueOf( const char* name, void *value ) const;
- void valueOf( const string& name, void *value ) const;
+ void valueOf( const H5_std::string& name, void *value ) const;
// Returns this class name
- virtual string fromClass () const { return("EnumType"); }
+ virtual H5_std::string fromClass () const { return("EnumType"); }
// Default constructor
EnumType();