summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:11:25 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:11:25 (GMT)
commite5fff45c0909d91912ee6455c0522ca5112b28a3 (patch)
tree9c86b3cf58c959f612be6aa32287e0053d4dadd6 /c++/src/H5DataSet.h
parent2d42a6277c8050d029af8fc306c6c2b3c0bf57be (diff)
downloadhdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.zip
hdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.tar.gz
hdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.tar.bz2
[svn-r13092] Purpose: Maintenance
Description: Added overloaded method DataSet::vlenReclaim, that has better prototype. Fixed some typos. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
Diffstat (limited to 'c++/src/H5DataSet.h')
-rw-r--r--c++/src/H5DataSet.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/c++/src/H5DataSet.h b/c++/src/H5DataSet.h
index 1d2f1d7..f12b0ae 100644
--- a/c++/src/H5DataSet.h
+++ b/c++/src/H5DataSet.h
@@ -50,9 +50,12 @@ class H5_DLLCPP DataSet : public AbstractDs {
// Returns the amount of storage size required for this dataset.
hsize_t getStorageSize() const;
- // not yet implemented??
+ // Returns the number of bytes required to store VL data.
hsize_t getVlenBufSize( DataType& type, DataSpace& space ) const;
- void vlenReclaim( DataType& type, DataSpace& space, DSetMemXferPropList& xfer_plist, void* buf ) const;
+
+ // Reclaims VL datatype memory buffers.
+ static void vlenReclaim(const DataType& type, const DataSpace& space, const DSetMemXferPropList& xfer_plist, void* buf );
+ static void vlenReclaim(void *buf, const DataType& type, const DataSpace& space = DataSpace::ALL, const DSetMemXferPropList& xfer_plist = DSetMemXferPropList::DEFAULT);
// Reads the data of this dataset and stores it in the provided buffer.
// The memory and file dataspaces and the transferring property list
@@ -77,7 +80,7 @@ class H5_DLLCPP DataSet : public AbstractDs {
// Creates a reference to a named Hdf5 object or to a dataset region
// in this object.
- void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const; // will be obsolete
+ void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const;
// Creates a reference to a named Hdf5 object in this object.
void* Reference(const char* name) const; // will be obsolete