HDF5 C++ API Reference Manual

 

 

 

Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Examples

H5Group.h

Go to the documentation of this file.
00001 // C++ informative line for the emacs editor: -*- C++ -*-
00002 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00003   * Copyright by the Board of Trustees of the University of Illinois.         *
00004   * All rights reserved.                                                      *
00005   *                                                                           *
00006   * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007   * terms governing use, modification, and redistribution, is contained in    *
00008   * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009   * of the source code distribution tree; Copyright.html can be found at the  *
00010   * root level of an installed copy of the electronic HDF5 document set and   *
00011   * is linked from the top-level documents page.  It can also be found at     *
00012   * http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html.  If you do not have     *
00013   * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
00014   * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 #ifndef _H5Group_H
00017 #define _H5Group_H
00018 
00019 #ifndef H5_NO_NAMESPACE
00020 namespace H5 {
00021 #endif
00022 
00023 class H5_DLLCPP Group : public H5Object, public CommonFG {
00024    public:
00025         // Close this group.
00026         virtual void close();
00027 
00028         // Retrieves the type of object that an object reference points to.
00029         H5G_obj_t getObjType(void *ref, H5R_type_t ref_type) const;
00030 
00031         // Retrieves a dataspace with the region pointed to selected.
00032         DataSpace getRegion(void *ref, H5R_type_t ref_type = H5R_DATASET_REGION) const;
00033 
00034         // Creates a reference to a named Hdf5 object or to a dataset region
00035         // in this object.
00036         void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const;
00037 
00038         // Creates a reference to a named Hdf5 object in this object.
00039         void* Reference(const char* name) const;
00040 
00041         // Throw group exception.
00042         virtual void throwException(const string func_name, const string msg) const;
00043 
00044         // for CommonFG to get the file id.
00045         virtual hid_t getLocId() const;
00046 
00047         // default constructor
00048         Group();
00049 
00050         // Copy constructor: makes a copy of the original object
00051         Group(const Group& original);
00052 
00053         // Destructor
00054         virtual ~Group();
00055 
00056         // Creates a copy of an existing group using its id.
00057         Group( const hid_t group_id );
00058 
00059 };
00060 #ifndef H5_NO_NAMESPACE
00061 }
00062 #endif
00063 #endif

Generated on Sat Apr 23 16:19:45 2005 by  doxygen 1.4.2