summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:23:39 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:23:39 (GMT)
commit6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (patch)
treed1b60d66be0081652d701e946e98d03de3dc44ff /c++/src/H5Attribute.h
parent12f01d9cd48c8c49b2ad2e5e0d0a0f35e2e598a8 (diff)
downloadhdf5-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/H5Attribute.h')
-rw-r--r--c++/src/H5Attribute.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index 66f57a2..324867a 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, 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
+ ssize_t getName( size_t buf_size, H5std_string& attr_name ) const;
+ H5std_string getName( size_t buf_size ) const; // returns name, not its length
+ H5std_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, H5_std::string& strg ) const;
+ void read( const DataType& mem_type, H5std_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 H5_std::string& strg ) const;
+ void write(const DataType& mem_type, const H5std_string& strg ) const;
// Returns this class name
- virtual H5_std::string fromClass () const { return("Attribute"); }
+ virtual H5std_string fromClass () const { return("Attribute"); }
// Creates a copy of an existing attribute using the attribute id
Attribute( const hid_t attr_id );