diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
commit | 6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (patch) | |
tree | d1b60d66be0081652d701e946e98d03de3dc44ff /c++/src/H5PropList.h | |
parent | 12f01d9cd48c8c49b2ad2e5e0d0a0f35e2e598a8 (diff) | |
download | hdf5-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/H5PropList.h')
-rw-r--r-- | c++/src/H5PropList.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/c++/src/H5PropList.h b/c++/src/H5PropList.h index 02adf44..01c786d 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 H5_std::string& name) const; + void copyProp( PropList& dest, const H5std_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 H5_std::string& name) const; + void copyProp( PropList& dest, PropList& src, const H5std_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. - H5_std::string getClassName() const; + H5std_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; - 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; + H5std_string getProperty(const char* name) const; + void getProperty(const H5std_string& name, void* value) const; + H5std_string getProperty(const H5std_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, 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; + void setProperty(const char* name, H5std_string& strg) const; + void setProperty(const H5std_string& name, void* value) const; + void setProperty(const H5std_string& name, H5std_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 H5_std::string& name) const; + size_t getPropSize(const H5std_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 H5_std::string& name) const; + bool propExist(const H5std_string& name) const; // Removes a property from a property list. void removeProp(const char *name) const; - void removeProp(const H5_std::string& name) const; + void removeProp(const H5std_string& name) const; // Returns this class name - virtual H5_std::string fromClass () const { return("PropList"); } + virtual H5std_string fromClass () const { return("PropList"); } // Default constructor: creates a stub PropList object. PropList(); |