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 // Retrieves the type of object that an object reference points to. 00026 H5G_obj_t getObjType(void *ref, H5R_type_t ref_type) const; 00027 00028 // Retrieves a dataspace with the region pointed to selected. 00029 DataSpace getRegion(void *ref, H5R_type_t ref_type = H5R_DATASET_REGION) const; 00030 00031 // Creates a reference to a named Hdf5 object or to a dataset region 00032 // in this object. 00033 void* Reference(const char* name, DataSpace& dataspace, H5R_type_t ref_type = H5R_DATASET_REGION) const; 00034 00035 // Creates a reference to a named Hdf5 object in this object. 00036 void* Reference(const char* name) const; 00037 00038 // Throw group exception. 00039 virtual void throwException(const string func_name, const string msg) const; 00040 00041 // for CommonFG to get the file id. 00042 virtual hid_t getLocId() const; 00043 00044 // default constructor 00045 Group(); 00046 00047 // Copy constructor: makes a copy of the original object 00048 Group(const Group& original); 00049 00050 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00051 // Used by the API to appropriately close a group - will be obsolete. 00052 void p_close() const; 00053 #endif // DOXYGEN_SHOULD_SKIP_THIS 00054 00055 // Destructor 00056 virtual ~Group(); 00057 00058 // Creates a copy of an existing group using its id. 00059 Group( const hid_t group_id ); 00060 00061 }; 00062 #ifndef H5_NO_NAMESPACE 00063 } 00064 #endif 00065 #endif

Generated on Thu Aug 5 00:22:37 2004 by doxygen 1.3.7-20040718