summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.h
diff options
context:
space:
mode:
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 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 );