summaryrefslogtreecommitdiffstats
path: root/c++/src/H5File.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-03-30 18:06:58 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-03-30 18:06:58 (GMT)
commita7e993d72be8fed2f0d63a8169e185bb2a298842 (patch)
tree420d7ea5ab1fd6415710f5f623f9667721f3f78e /c++/src/H5File.h
parent5a90c6b31c8904a407bb91ee4cc6a7aeecf73bed (diff)
downloadhdf5-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/H5File.h')
-rw-r--r--c++/src/H5File.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/c++/src/H5File.h b/c++/src/H5File.h
index 84947fd..aa6af67 100644
--- a/c++/src/H5File.h
+++ b/c++/src/H5File.h
@@ -26,12 +26,12 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
H5File( const char* name, unsigned int flags,
const FileCreatPropList& create_plist = FileCreatPropList::DEFAULT,
const FileAccPropList& access_plist = FileAccPropList::DEFAULT );
- H5File( const string& name, unsigned int flags,
+ H5File( const H5_std::string& name, unsigned int flags,
const FileCreatPropList& create_plist = FileCreatPropList::DEFAULT,
const FileAccPropList& access_plist = FileAccPropList::DEFAULT );
// Open the file
- void openFile(const string& name, unsigned int flags,
+ void openFile(const H5_std::string& name, unsigned int flags,
const FileAccPropList& access_plist = FileAccPropList::DEFAULT);
void openFile(const char* name, unsigned int flags,
const FileAccPropList& access_plist = FileAccPropList::DEFAULT);
@@ -49,7 +49,7 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
FileCreatPropList getCreatePlist() const;
// Gets the name of this file.
- string getFileName() const;
+ H5_std::string getFileName() const;
// Retrieves the file size of an opened file.
hsize_t getFileSize() const;
@@ -78,7 +78,7 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
// Determines if a file, specified by its name, is in HDF5 format
static bool isHdf5(const char* name );
- static bool isHdf5(const string& name );
+ static bool isHdf5(const H5_std::string& name );
// Reopens this file.
void reOpen(); // added for better name
@@ -90,13 +90,13 @@ class H5_DLLCPP H5File : public IdComponent, public CommonFG {
// Creates a reference to a named Hdf5 object in this object.
void* Reference(const char* name) const;
- void* Reference(const string& name) const;
+ void* Reference(const H5_std::string& name) const;
// Returns this class name
- virtual string fromClass () const { return("H5File"); }
+ virtual H5_std::string fromClass () const { return("H5File"); }
// Throw file exception.
- virtual void throwException(const string func_name, const string msg) const;
+ virtual void throwException(const H5_std::string func_name, const H5_std::string msg) const;
// Gets the file id
virtual hid_t getLocId() const;