summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Library.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-19 20:50:17 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-19 20:50:17 (GMT)
commita903cbafa863f22d360e7ef59f787b4fe0c0d2c3 (patch)
treeffcd2e4953ebf5e86621a904aba4cc8207b24185 /c++/src/H5Library.cpp
parentb6bb7c123a02570a33f02257d738e50195dbeb3a (diff)
downloadhdf5-a903cbafa863f22d360e7ef59f787b4fe0c0d2c3.zip
hdf5-a903cbafa863f22d360e7ef59f787b4fe0c0d2c3.tar.gz
hdf5-a903cbafa863f22d360e7ef59f787b4fe0c0d2c3.tar.bz2
Description:
Removed obsolet macros from C++ API: H5_NO_NAMESPACE, H5_NO_STD, __cplusplus Leave OLD_HEADER_FILENAME because iostream.h might still be in use, until further checking is done. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test) Jelly
Diffstat (limited to 'c++/src/H5Library.cpp')
-rw-r--r--c++/src/H5Library.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/c++/src/H5Library.cpp b/c++/src/H5Library.cpp
index 09e0f7e..4d1f279 100644
--- a/c++/src/H5Library.cpp
+++ b/c++/src/H5Library.cpp
@@ -34,9 +34,7 @@
#include "H5DataSpace.h"
#include "H5Library.h"
-#ifndef H5_NO_NAMESPACE
namespace H5 {
-#endif
//--------------------------------------------------------------------------
// Function: H5Library::open (static)
@@ -255,12 +253,18 @@ void H5Library::setFreeListLimits(int reg_global_lim, int reg_list_lim,
}
}
-// Default constructor - private
+//--------------------------------------------------------------------------
+// Function: H5Library default constructor - private
+///\brief Default constructor: Creates a stub H5Library object
+// Programmer Binh-Minh Ribler - 2000
+//--------------------------------------------------------------------------
H5Library::H5Library(){}
-// Destructor - private
+//--------------------------------------------------------------------------
+// Function: H5Library destructor
+///\brief Noop destructor
+// Programmer Binh-Minh Ribler - 2000
+//--------------------------------------------------------------------------
H5Library::~H5Library(){}
-#ifndef H5_NO_NAMESPACE
} // end namespace
-#endif