diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-03-27 05:09:59 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2014-03-27 05:09:59 (GMT) |
commit | 764128aaf245f915e85929858b2808591b606bdf (patch) | |
tree | bfc9220aa154127366a454dadf01f4394581a4b6 /c++/src/H5CompType.h | |
parent | d9020f2e35342605b26b6260e05cc4a2cef2327b (diff) | |
download | hdf5-764128aaf245f915e85929858b2808591b606bdf.zip hdf5-764128aaf245f915e85929858b2808591b606bdf.tar.gz hdf5-764128aaf245f915e85929858b2808591b606bdf.tar.bz2 |
[svn-r24913] Purpose: Fix HDFFV-8642
Description:
Added CompType::setSize(size_t size) to set size for compound data type
as H5Tset_size had been changed.
Merged from trunk-24912
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.h | 3 |
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"); } |