diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
commit | 6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (patch) | |
tree | d1b60d66be0081652d701e946e98d03de3dc44ff /c++/src/H5EnumType.h | |
parent | 12f01d9cd48c8c49b2ad2e5e0d0a0f35e2e598a8 (diff) | |
download | hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.zip hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.tar.gz hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.tar.bz2 |
[svn-r12200] Purpose: Maintenance
Description:
Changed to alias string instead of std, i.e. H5std_string instead
of H5std, because the old way wasn't working when std didn't exist.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
HPUX 11.00 (kelgia) - this was the problematic platform but I wasn't
able to test before.
Diffstat (limited to 'c++/src/H5EnumType.h')
-rw-r--r-- | c++/src/H5EnumType.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5EnumType.h b/c++/src/H5EnumType.h index 8c855cd..0a81fd6 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 H5_std::string& name) const; + int getMemberIndex(const H5std_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 H5_std::string& name, void *value ) const; + void insert( const H5std_string& name, void *value ) const; // Returns the symbol name corresponding to a specified member // of this enumeration datatype. - H5_std::string nameOf( void *value, size_t size ) const; + H5std_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 H5_std::string& name, void *value ) const; + void valueOf( const H5std_string& name, void *value ) const; // Returns this class name - virtual H5_std::string fromClass () const { return("EnumType"); } + virtual H5std_string fromClass () const { return("EnumType"); } // Default constructor EnumType(); |