summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.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/H5PropList.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/H5PropList.h')
-rw-r--r--c++/src/H5PropList.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h
index 642c046..02adf44 100644
--- a/c++/src/H5PropList.h
+++ b/c++/src/H5PropList.h
@@ -46,18 +46,18 @@ class H5_DLLCPP PropList : public IdComponent {
// Copies a property from this property list or class to another
void copyProp( PropList& dest, const char* name) const;
- void copyProp( PropList& dest, const string& name) const;
+ void copyProp( PropList& dest, const H5_std::string& name) const;
// Copies a property from one property list or property class to another
void copyProp( PropList& dest, PropList& src, const char* name) const;
- void copyProp( PropList& dest, PropList& src, const string& name) const;
+ void copyProp( PropList& dest, PropList& src, const H5_std::string& name) const;
// Gets the class of this property list, i.e. H5P_FILE_CREATE,
// H5P_FILE_ACCESS, ...
hid_t getClass() const;
// Return the name of a generic property list class.
- string getClassName() const;
+ H5_std::string getClassName() const;
// Returns the parent class of a generic property class.
PropList getClassParent() const;
@@ -67,34 +67,34 @@ class H5_DLLCPP PropList : public IdComponent {
// Query the value of a property in a property list.
void getProperty(const char* name, void* value) const;
- string getProperty(const char* name) const;
- void getProperty(const string& name, void* value) const;
- string getProperty(const string& name) const;
+ H5_std::string getProperty(const char* name) const;
+ void getProperty(const H5_std::string& name, void* value) const;
+ H5_std::string getProperty(const H5_std::string& name) const;
// Set a property's value in a property list.
void setProperty(const char* name, void* charptr) const;
void setProperty(const char* name, const char* value) const;
- void setProperty(const char* name, string& strg) const;
- void setProperty(const string& name, void* value) const;
- void setProperty(const string& name, string& strg) const;
+ void setProperty(const char* name, H5_std::string& strg) const;
+ void setProperty(const H5_std::string& name, void* value) const;
+ void setProperty(const H5_std::string& name, H5_std::string& strg) const;
// Query the size of a property in a property list or class.
size_t getPropSize(const char *name) const;
- size_t getPropSize(const string& name) const;
+ size_t getPropSize(const H5_std::string& name) const;
// Determines whether a property list is a certain class.
bool isAClass(const PropList& prop_class) const;
/// Query the existance of a property in a property object.
bool propExist(const char* name) const;
- bool propExist(const string& name) const;
+ bool propExist(const H5_std::string& name) const;
// Removes a property from a property list.
void removeProp(const char *name) const;
- void removeProp(const string& name) const;
+ void removeProp(const H5_std::string& name) const;
// Returns this class name
- virtual string fromClass () const { return("PropList"); }
+ virtual H5_std::string fromClass () const { return("PropList"); }
// Default constructor: creates a stub PropList object.
PropList();