HDF5 C++ API Reference Manual

 

 

 

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

H5FcreatProp.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 _H5FileCreatPropList_H
00017 #define _H5FileCreatPropList_H
00018 
00019 #ifndef H5_NO_NAMESPACE
00020 namespace H5 {
00021 #endif
00022 
00023 // class for file access properties
00024 class H5_DLLCPP FileCreatPropList : public PropList {
00025    public:
00026         // Default file creation property list.
00027         static const FileCreatPropList DEFAULT;
00028 
00029         // Retrieves version information for various parts of a file.
00030         void getVersion( unsigned& super, unsigned& freelist, unsigned& stab, unsigned& shhdr ) const;
00031 
00032         // Sets the userblock size field of a file creation property list.
00033         void setUserblock( hsize_t size ) const;
00034 
00035         // Gets the size of a user block in this file creation property list.
00036         hsize_t getUserblock() const;
00037 
00038         // Retrieves the size-of address and size quantities stored in a
00039         // file according to this file creation property list.
00040         void getSizes( size_t& sizeof_addr, size_t& sizeof_size ) const;
00041 
00042         // Sets file size-of addresses and sizes.
00043         void setSizes( size_t sizeof_addr = 4, size_t sizeof_size = 4 ) const;
00044 
00045 #ifdef H5_WANT_H5_V1_4_COMPAT
00046         // Retrieves the size of the symbol table B-tree 1/2 rank and the
00047         // symbol table leaf node 1/2 size.
00048         void getSymk( int& int_nodes_k, int& leaf_nodes_k ) const;
00049 
00050         // Sets the size of parameters used to control the symbol table nodes.
00051         void setSymk( int int_nodes_k, int leaf_nodes_k ) const;
00052 #else /* H5_WANT_H5_V1_4_COMPAT */
00053         // Retrieves the size of the symbol table B-tree 1/2 rank and the
00054         // symbol table leaf node 1/2 size.
00055         void getSymk( unsigned& int_nodes_k, unsigned& leaf_nodes_k ) const;
00056 
00057         // Sets the size of parameters used to control the symbol table nodes.
00058         void setSymk( unsigned int_nodes_k, unsigned leaf_nodes_k ) const;
00059 #endif /* H5_WANT_H5_V1_4_COMPAT */
00060 
00061         // Returns the 1/2 rank of an indexed storage B-tree.
00062         unsigned getIstorek() const;
00063 
00064         // Sets the size of parameter used to control the B-trees for
00065         // indexing chunked datasets.
00066         void setIstorek( unsigned ik ) const;
00067 
00068         // Returns this class name
00069         virtual string fromClass () const { return("FileCreatPropList"); }
00070 
00071         // Creates a file create property list.
00072         FileCreatPropList();
00073 
00074         // Copy constructor: creates a copy of a FileCreatPropList object.
00075         FileCreatPropList(const FileCreatPropList& orig);
00076 
00077         // Creates a copy of an existing file create property list
00078         // using the property list id.
00079         FileCreatPropList (const hid_t plist_id);
00080 
00081         // Noop destructor
00082         virtual ~FileCreatPropList();
00083 };
00084 #ifndef H5_NO_NAMESPACE
00085 }
00086 #endif
00087 #endif

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