summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CompType.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2014-03-27 04:36:53 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2014-03-27 04:36:53 (GMT)
commite79b0dece508bbc9cb9710625f60ec95e6ea6f27 (patch)
treea820cb427822a79380680ad64e02e91056b2c7cd /c++/src/H5CompType.h
parent448e1e05f15326581db9795e92ffd04eae69aa91 (diff)
downloadhdf5-e79b0dece508bbc9cb9710625f60ec95e6ea6f27.zip
hdf5-e79b0dece508bbc9cb9710625f60ec95e6ea6f27.tar.gz
hdf5-e79b0dece508bbc9cb9710625f60ec95e6ea6f27.tar.bz2
[svn-r24912] Purpose: Fix HDFFV-8642
Description: Added CompType::setSize(size_t size) to set size for compound data type as H5Tset_size had been changed. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
Diffstat (limited to 'c++/src/H5CompType.h')
-rw-r--r--c++/src/H5CompType.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5CompType.h b/c++/src/H5CompType.h
index 3d6a62f..bd6d76c 100644
--- a/c++/src/H5CompType.h
+++ b/c++/src/H5CompType.h
@@ -98,6 +98,9 @@ class H5_DLLCPP CompType : public DataType {
// Recursively removes padding from within this compound datatype.
void pack() const;
+ // Sets the total size for this compound datatype.
+ void setSize(size_t size) const;
+
///\brief Returns this class name.
virtual H5std_string fromClass () const { return("CompType"); }