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 [email protected]. *
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         void* Reference(const string& name) const;
00041 
00042         // Returns this class name
00043         virtual string fromClass () const { return ("Group"); }
00044 
00045         // Throw group exception.
00046         virtual void throwException(const string func_name, const string msg) const;
00047 
00048         // for CommonFG to get the file id.
00049         virtual hid_t getLocId() const;
00050 
00051         // default constructor
00052         Group();
00053 
00054         // Copy constructor: makes a copy of the original object
00055         Group(const Group& original);
00056 
00057         // Destructor
00058         virtual ~Group();
00059 
00060         // Creates a copy of an existing group using its id.
00061         Group( const hid_t group_id );
00062 
00063 };
00064 #ifndef H5_NO_NAMESPACE
00065 }
00066 #endif
00067 #endif

Generated on Mon Oct 31 04:59:47 2005 by  doxygen 1.4.2