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/H5CompType.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/H5CompType.h')
-rw-r--r-- | c++/src/H5CompType.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5CompType.h b/c++/src/H5CompType.h index 58e3286..ffaaf92 100644 --- a/c++/src/H5CompType.h +++ b/c++/src/H5CompType.h @@ -38,13 +38,13 @@ class H5_DLLCPP CompType : public DataType { // Returns the index of a member in this compound 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 offset of a member of this compound datatype. size_t getMemberOffset( unsigned memb_no ) const; // Returns the name of a member of this compound datatype. - H5_std::string getMemberName( unsigned member_num ) const; + H5std_string getMemberName( unsigned member_num ) const; // Returns the generic datatype of the specified member in // this compound datatype. @@ -82,13 +82,13 @@ class H5_DLLCPP CompType : public DataType { int getNmembers() const; // Adds a new member to this compound datatype. - void insertMember( const H5_std::string& name, size_t offset, const DataType& new_member ) const; + void insertMember( const H5std_string& name, size_t offset, const DataType& new_member ) const; // Recursively removes padding from within this compound datatype. void pack() const; // Returns this class name - virtual H5_std::string fromClass () const { return("CompType"); } + virtual H5std_string fromClass () const { return("CompType"); } // Default constructor CompType(); |