summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-07-17 17:21:07 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-07-17 17:21:07 (GMT)
commita31cd3623ff9493b7d6209efe23afcab84b05320 (patch)
tree215649251105b0a8be708f8fb746908ee93cf449 /c++/src/H5DataType.h
parent3aa24435180d10aeca6493f7c1b277cfd5c73fad (diff)
downloadhdf5-a31cd3623ff9493b7d6209efe23afcab84b05320.zip
hdf5-a31cd3623ff9493b7d6209efe23afcab84b05320.tar.gz
hdf5-a31cd3623ff9493b7d6209efe23afcab84b05320.tar.bz2
Fixed HDFFV-10472
Description: Added operator!= to DataType bool operator!=(const DataType& compared_type) Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r--c++/src/H5DataType.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h
index 52fd4de..e4d9e4b 100644
--- a/c++/src/H5DataType.h
+++ b/c++/src/H5DataType.h
@@ -90,6 +90,9 @@ class H5_DLLCPP DataType : public H5Object {
// Determines whether two datatypes are the same.
bool operator==(const DataType& compared_type) const;
+ // Determines whether two datatypes are not the same.
+ bool operator!=(const DataType& compared_type) const;
+
// Locks a datatype.
void lock() const;