summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2010-05-03 13:12:12 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2010-05-03 13:12:12 (GMT)
commit365e16c48068329b627e0974c7c3ce64f44920db (patch)
treef9651d6b8d6fdfa38de1af409c13e49f1f358b71 /c++/test/h5cpputil.h
parent47fef210e85ecce83cfd1e1971f7748ed9ef3324 (diff)
downloadhdf5-365e16c48068329b627e0974c7c3ce64f44920db.zip
hdf5-365e16c48068329b627e0974c7c3ce64f44920db.tar.gz
hdf5-365e16c48068329b627e0974c7c3ce64f44920db.tar.bz2
[svn-r18689] Description:
Added missing overloaded function getObjTypeByIdx to return type name as a char*. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
Diffstat (limited to 'c++/test/h5cpputil.h')
-rw-r--r--c++/test/h5cpputil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h
index 3313483..02f3d0d 100644
--- a/c++/test/h5cpputil.h
+++ b/c++/test/h5cpputil.h
@@ -57,6 +57,9 @@ class TestFailedException : public Exception {
virtual ~TestFailedException();
};
+// Overloaded/Template functions to verify values and display proper info
+void verify_val(const char* x, const char* value, const char* where, int line, const char* file_name);
+
template <class Type1, class Type2>
void verify_val(Type1 x, Type2 value, const char* where, int line, const char* file_name)
{