void write( const H5std_string& buf, const DataType& mem_type, const DataSpace& mem_space = DataSpace::ALL, const DataSpace& file_space = DataSpace::ALL, const DSetMemXferPropList& xfer_plist = DSetMemXferPropList::DEFAULT ) const;
 
// C++ informative line for the emacs editor: -*- C++ -*-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic HDF5 document set and   *
 * is linked from the top-level documents page.  It can also be found at     *
 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
 * access to either file, you may request a copy from help@hdfgroup.org.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// Class DataSet inherits from AbstractDs and provides accesses to a dataset.
#ifndef _H5DataSet_H
#define _H5DataSet_H
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
class H5_DLLCPP DataSet : public H5Object, public AbstractDs {
   public:
    // Close this dataset.
    virtual void close();
    // Extends the dataset with unlimited dimension.
    void extend( const hsize_t* size ) const;
    // Fills a selection in memory with a value
    void fillMemBuf(const void *fill, DataType& fill_type, void *buf, DataType& buf_type, DataSpace& space);
    // Fills a selection in memory with zero
    void fillMemBuf(void *buf, DataType& buf_type, DataSpace& space);
    // Gets the creation property list of this dataset.
    DSetCreatPropList getCreatePlist() const;
    // Returns the address of this dataset in the file.
    haddr_t getOffset() const;
    // Gets the dataspace of this dataset.
    virtual DataSpace getSpace() const;
    // Determines whether space has been allocated for a dataset.
    void getSpaceStatus(H5D_space_status_t& status) const;
    // Returns the amount of storage size required for this dataset.