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/H5Attribute.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/H5Attribute.h')
-rw-r--r-- | c++/src/H5Attribute.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h index 21881c4..66f57a2 100644 --- a/c++/src/H5Attribute.h +++ b/c++/src/H5Attribute.h @@ -26,9 +26,9 @@ class H5_DLLCPP Attribute : public AbstractDs { virtual void close(); // Gets the name of this attribute. - ssize_t getName( size_t buf_size, string& attr_name ) const; - string getName( size_t buf_size ) const; // returns name, not its length - string getName() const; // returns name, no argument + ssize_t getName( size_t buf_size, H5_std::string& attr_name ) const; + H5_std::string getName( size_t buf_size ) const; // returns name, not its length + H5_std::string getName() const; // returns name, no argument // Gets a copy of the dataspace for this attribute. virtual DataSpace getSpace() const; @@ -38,14 +38,14 @@ class H5_DLLCPP Attribute : public AbstractDs { // Reads data from this attribute. void read( const DataType& mem_type, void *buf ) const; - void read( const DataType& mem_type, string& strg ) const; + void read( const DataType& mem_type, H5_std::string& strg ) const; // Writes data to this attribute. void write(const DataType& mem_type, const void *buf ) const; - void write(const DataType& mem_type, const string& strg ) const; + void write(const DataType& mem_type, const H5_std::string& strg ) const; // Returns this class name - virtual string fromClass () const { return("Attribute"); } + virtual H5_std::string fromClass () const { return("Attribute"); } // Creates a copy of an existing attribute using the attribute id Attribute( const hid_t attr_id ); |