void selectHyperslab( H5S_seloper_t op, const hsize_t *count, const hsize_t *start, const hsize_t *stride = NULL, const hsize_t *block = NULL ) 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.     *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef __H5DataSpace_H
#define __H5DataSpace_H
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
//! Class DataSpace operates on HDF5 dataspaces.
class H5_DLLCPP DataSpace : public IdComponent {
   public:
    ///\brief Default DataSpace objects
    static const DataSpace& ALL;
    // Creates a dataspace object given the space type
    DataSpace(H5S_class_t type = H5S_SCALAR);
    // Creates a simple dataspace
    DataSpace(int rank, const hsize_t * dims, const hsize_t * maxdims = NULL);
    // Creates a DataSpace object using an existing dataspace id.
    DataSpace(const hid_t space_id);
    // Copy constructor: makes a copy of the original DataSpace object.
    DataSpace(const DataSpace& original);
    // Assignment operator
    DataSpace& operator=( const DataSpace& rhs );
    // Closes this dataspace.
    virtual void close();
    // Makes copy of an existing dataspace.
    void copy(const DataSpace& like_space);
    // Copies the extent of this dataspace.