HDF5 C++ API Reference Manual

 

 

 

Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File 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 HDF Group.                                               *
00004  * Copyright by the Board of Trustees of the University of Illinois.         *
00005  * All rights reserved.                                                      *
00006  *                                                                           *
00007  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00008  * terms governing use, modification, and redistribution, is contained in    *
00009  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00010  * of the source code distribution tree; Copyright.html can be found at the  *
00011  * root level of an installed copy of the electronic HDF5 document set and   *
00012  * is linked from the top-level documents page.  It can also be found at     *
00013  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00014  * access to either file, you may request a copy from help@hdfgroup.org.     *
00015  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00016 
00017 #ifndef _H5Group_H
00018 #define _H5Group_H
00019 
00020 #ifndef H5_NO_NAMESPACE
00021 namespace H5 {
00022 #endif
00023 
00024 class H5_DLLCPP Group : public H5Object, public CommonFG {
00025    public:
00026         // Close this group.
00027         virtual void close();
00028 
00029         // Retrieves the type of object that an object reference points to.
00030         H5G_obj_t getObjType(void *ref, H5R_type_t ref_type = H5R_OBJECT) const;
00031 
00032         // Retrieves a dataspace with the region pointed to selected.
00033         DataSpace getRegion(void *ref, H5R_type_t ref_type = H5R_DATASET_REGION) const;
00034 
00035         // Creates a reference to a named Hdf5 object or to a dataset region
00036         // in this object.
00037         void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const; // will be obsolete
00038 
00039         // Creates a reference to a named Hdf5 object in this object.
00040         void* Reference(const char* name) const; // will be obsolete
00041         void* Reference(const H5std_string& name) const; // will be obsolete
00042 
00043         // Returns this class name
00044         virtual H5std_string fromClass () const { return("Group"); }
00045 
00046         // Throw group exception.
00047         virtual void throwException(const H5std_string& func_name, const H5std_string& msg) const;
00048 
00049         // for CommonFG to get the file id.
00050         virtual hid_t getLocId() const;
00051 
00052         // Creates a group by way of dereference.
00053         Group(IdComponent& obj, void* ref);
00054 
00055         // default constructor
00056         Group();
00057 
00058         // Copy constructor: makes a copy of the original object
00059         Group(const Group& original);
00060 
00061         // Destructor
00062         virtual ~Group();
00063 
00064         // Creates a copy of an existing group using its id.
00065         Group( const hid_t group_id );
00066 
00067 };
00068 #ifndef H5_NO_NAMESPACE
00069 }
00070 #endif
00071 #endif

Generated on Tue Aug 14 13:56:59 2007 by  doxygen 1.3.9.1