diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-03-30 18:06:58 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-03-30 18:06:58 (GMT) |
commit | a7e993d72be8fed2f0d63a8169e185bb2a298842 (patch) | |
tree | 420d7ea5ab1fd6415710f5f623f9667721f3f78e /c++/src/H5CompType.h | |
parent | 5a90c6b31c8904a407bb91ee4cc6a7aeecf73bed (diff) | |
download | hdf5-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/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 8176693..58e3286 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 string& name) const; + int getMemberIndex(const H5_std::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. - string getMemberName( unsigned member_num ) const; + H5_std::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 string& name, size_t offset, const DataType& new_member ) const; + void insertMember( const H5_std::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 string fromClass () const { return("CompType"); } + virtual H5_std::string fromClass () const { return("CompType"); } // Default constructor CompType(); |