summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.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/H5IdComponent.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/H5IdComponent.cpp')
-rw-r--r--c++/src/H5IdComponent.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/c++/src/H5IdComponent.cpp b/c++/src/H5IdComponent.cpp
index 7e8587a..908343c 100644
--- a/c++/src/H5IdComponent.cpp
+++ b/c++/src/H5IdComponent.cpp
@@ -263,14 +263,14 @@ IdComponent::~IdComponent() {
/// an exception is thrown.
// Programmer Binh-Minh Ribler - Aug 6, 2005
//--------------------------------------------------------------------------
-H5_std::string IdComponent::inMemFunc(const char* func_name) const
+H5std_string IdComponent::inMemFunc(const char* func_name) const
{
#ifdef H5_VMS
- H5_std::string full_name = fromClass();
+ H5std_string full_name = fromClass();
full_name.append("::");
full_name.append(func_name);
#else
- H5_std::string full_name = func_name;
+ H5std_string full_name = func_name;
full_name.insert(0, "::");
full_name.insert(0, fromClass());
#endif /*H5_VMS*/
@@ -294,7 +294,7 @@ IdComponent::IdComponent() : id(-1) {}
// H5File and H5Object subclasses.
// Programmer Binh-Minh Ribler - Jul, 2004
//--------------------------------------------------------------------------
-H5_std::string IdComponent::p_get_file_name() const
+H5std_string IdComponent::p_get_file_name() const
{
// Preliminary call to H5Fget_name to get the length of the file name
ssize_t name_size = H5Fget_name(id, NULL, 0);
@@ -316,7 +316,7 @@ H5_std::string IdComponent::p_get_file_name() const
}
// Convert the C file name and return
- H5_std::string file_name(name_C);
+ H5std_string file_name(name_C);
delete []name_C;
return(file_name);
}