summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-08-19 22:12:22 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-08-19 22:12:22 (GMT)
commit96e92e0a4c697e4ce08bdcc289d907d41d9aad0a (patch)
treeee14727557de176eb0448828ae617737c6a04bd4 /c++/examples
parent3ca7a17507b0b18a35fc01a972d852ae5d567502 (diff)
downloadhdf5-96e92e0a4c697e4ce08bdcc289d907d41d9aad0a.zip
hdf5-96e92e0a4c697e4ce08bdcc289d907d41d9aad0a.tar.gz
hdf5-96e92e0a4c697e4ce08bdcc289d907d41d9aad0a.tar.bz2
[svn-r11274] Purpose: Additional code improvement
Description: Forgot to modify the examples for the "using" declaration changes in the library. Added "using" declaration appropriately. Platforms tested: Linux 2.4 (heping) - very minor
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/chunks.cpp4
-rw-r--r--c++/examples/compound.cpp4
-rw-r--r--c++/examples/extend_ds.cpp4
-rw-r--r--c++/examples/h5group.cpp4
-rw-r--r--c++/examples/readdata.cpp4
-rw-r--r--c++/examples/writedata.cpp4
6 files changed, 24 insertions, 0 deletions
diff --git a/c++/examples/chunks.cpp b/c++/examples/chunks.cpp
index b6db2ad..bbaf5b1 100644
--- a/c++/examples/chunks.cpp
+++ b/c++/examples/chunks.cpp
@@ -28,6 +28,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "SDSextendible.h5" );
diff --git a/c++/examples/compound.cpp b/c++/examples/compound.cpp
index dfbd544..17d8f20 100644
--- a/c++/examples/compound.cpp
+++ b/c++/examples/compound.cpp
@@ -29,6 +29,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "SDScompound.h5" );
diff --git a/c++/examples/extend_ds.cpp b/c++/examples/extend_ds.cpp
index 614a2b1..4913b28 100644
--- a/c++/examples/extend_ds.cpp
+++ b/c++/examples/extend_ds.cpp
@@ -30,6 +30,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "SDSextendible.h5" );
diff --git a/c++/examples/h5group.cpp b/c++/examples/h5group.cpp
index a69f2f4..7c931e3 100644
--- a/c++/examples/h5group.cpp
+++ b/c++/examples/h5group.cpp
@@ -31,6 +31,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "Group.h5" );
diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp
index 5a1ec51..70f3727 100644
--- a/c++/examples/readdata.cpp
+++ b/c++/examples/readdata.cpp
@@ -29,6 +29,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "SDS.h5" );
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp
index f50927d..94c952b 100644
--- a/c++/examples/writedata.cpp
+++ b/c++/examples/writedata.cpp
@@ -32,6 +32,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "Select.h5" );