summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:23:39 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:23:39 (GMT)
commit6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (patch)
treed1b60d66be0081652d701e946e98d03de3dc44ff /c++/src/H5DataSet.cpp
parent12f01d9cd48c8c49b2ad2e5e0d0a0f35e2e598a8 (diff)
downloadhdf5-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/H5DataSet.cpp')
-rw-r--r--c++/src/H5DataSet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index 71bc466..12da925 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -253,7 +253,7 @@ void DataSet::read( void* buf, const DataType& mem_type, const DataSpace& mem_sp
/// It takes a reference to a \c std::string for the buffer.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-void DataSet::read( H5_std::string& strg, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist ) const
+void DataSet::read( H5std_string& strg, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist ) const
{
// Allocate C character string for reading
size_t size = mem_type.getSize();
@@ -304,7 +304,7 @@ void DataSet::write( const void* buf, const DataType& mem_type, const DataSpace&
/// It takes a reference to a \c std::string for the buffer.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-void DataSet::write( const H5_std::string& strg, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist ) const
+void DataSet::write( const H5std_string& strg, const DataType& mem_type, const DataSpace& mem_space, const DataSpace& file_space, const DSetMemXferPropList& xfer_plist ) const
{
// Convert string to C-string
const char* strg_C;
@@ -463,7 +463,7 @@ void* DataSet::Reference(const char* name) const
///\param name - IN: Name of the object to be referenced - \c std::string
// Programmer Binh-Minh Ribler - May, 2004
//--------------------------------------------------------------------------
-void* DataSet::Reference(const H5_std::string& name) const
+void* DataSet::Reference(const H5std_string& name) const
{
return(Reference(name.c_str()));
}