summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-10-12 07:36:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-10-12 07:36:33 (GMT)
commitc02f0675589d12c331302e9c7a38d9b194f05417 (patch)
treeb43cbc3f23b1b5f87ef4e8a3485b23921a7a1713 /c++/src/H5IdComponent.h
parente2cf3a6b1a1c45471fce6c2d5d3a97d92103c714 (diff)
downloadhdf5-c02f0675589d12c331302e9c7a38d9b194f05417.zip
hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.gz
hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.bz2
[svn-r11555] Purpose: Code cleanup
Description: Removed obsolete function CompType::getMemberDims. Fixed some typos. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
Diffstat (limited to 'c++/src/H5IdComponent.h')
-rw-r--r--c++/src/H5IdComponent.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/c++/src/H5IdComponent.h b/c++/src/H5IdComponent.h
index 181677a..118eafa 100644
--- a/c++/src/H5IdComponent.h
+++ b/c++/src/H5IdComponent.h
@@ -20,6 +20,9 @@
#ifndef H5_NO_NAMESPACE
namespace H5 {
+#ifndef H5_NO_STD
+ using std::string;
+#endif // H5_NO_STD
#endif
class H5_DLLCPP IdComponent {
@@ -61,18 +64,10 @@ class H5_DLLCPP IdComponent {
// Makes and returns the string "<class-name>::<func_name>";
// <class-name> is returned by fromClass().
-#ifdef H5_NO_STD
string inMemFunc(const char* func_name) const;
-#else
- std::string inMemFunc(const char* func_name) const;
-#endif // H5_NO_STD
// Returns this class name.
-#ifdef H5_NO_STD
virtual string fromClass() const {return ("IdComponent");}
-#else
- virtual std::string fromClass() const {return ("IdComponent");}
-#endif // H5_NO_STD
#endif // DOXYGEN_SHOULD_SKIP_THIS
@@ -87,11 +82,7 @@ class H5_DLLCPP IdComponent {
IdComponent();
// Gets the name of the file, in which an HDF5 object belongs.
-#ifdef H5_NO_STD
string p_get_file_name() const;
-#else
- std::string p_get_file_name() const;
-#endif // H5_NO_STD
// Gets the id of the H5 file in which the given object is located.
hid_t p_get_file_id();