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/H5DataType.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/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index d3780bc..14816b6 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -40,7 +40,7 @@ class H5_DLLCPP DataType : public H5Object { // Commits a transient datatype to a file; this datatype becomes // a named datatype which can be accessed from the location. void commit( CommonFG& loc, const char* name ) const; - void commit( CommonFG& loc, const H5_std::string& name ) const; + void commit( CommonFG& loc, const H5std_string& name ) const; // Determines whether this datatype is a named datatype or // a transient datatype. @@ -71,18 +71,18 @@ class H5_DLLCPP DataType : public H5Object { // Registers a conversion function. void registerFunc(H5T_pers_t pers, const char* name, const DataType& dest, H5T_conv_t func ) const; - void registerFunc(H5T_pers_t pers, const H5_std::string& name, const DataType& dest, H5T_conv_t func ) const; + void registerFunc(H5T_pers_t pers, const H5std_string& name, const DataType& dest, H5T_conv_t func ) const; // Removes a conversion function from all conversion paths. void unregister( H5T_pers_t pers, const char* name, const DataType& dest, H5T_conv_t func ) const; - void unregister( H5T_pers_t pers, const H5_std::string& name, const DataType& dest, H5T_conv_t func ) const; + void unregister( H5T_pers_t pers, const H5std_string& name, const DataType& dest, H5T_conv_t func ) const; // Tags an opaque datatype. void setTag( const char* tag ) const; - void setTag( const H5_std::string& tag ) const; + void setTag( const H5std_string& tag ) const; // Gets the tag associated with an opaque datatype. - H5_std::string getTag() const; + H5std_string getTag() const; // Checks whether this datatype contains (or is) a certain type class. bool detectClass(H5T_class_t cls) const; @@ -92,7 +92,7 @@ class H5_DLLCPP DataType : public H5Object { // Creates a reference to a named Hdf5 object in this object. void* Reference(const char* name) const; - void* Reference(const H5_std::string& name) const; + void* Reference(const H5std_string& name) const; // Creates a reference to a named Hdf5 object or to a dataset region // in this object. @@ -104,7 +104,7 @@ class H5_DLLCPP DataType : public H5Object { // Retrieves a dataspace with the region pointed to selected. DataSpace getRegion(void *ref, H5R_type_t ref_type = H5R_DATASET_REGION) const; - virtual H5_std::string fromClass () const { return("DataType"); } + virtual H5std_string fromClass () const { return("DataType"); } // Creates a copy of an existing DataType using its id DataType( const hid_t type_id ); |