HDF5 C++ API Reference Manual

 

 

Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File 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 hdfhelp@ncsa.uiuc.edu. *
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         // Retrieves the size of the symbol table B-tree 1/2 rank and the
00046         // symbol table leaf node 1/2 size.
00047         void getSymk( unsigned& int_nodes_k, unsigned& leaf_nodes_k ) const;
00048 
00049         // Sets the size of parameters used to control the symbol table nodes.
00050         void setSymk( unsigned int_nodes_k, unsigned leaf_nodes_k ) const;
00051 
00052         // Returns the 1/2 rank of an indexed storage B-tree.
00053         unsigned getIstorek() const;
00054 
00055         // Sets the size of parameter used to control the B-trees for
00056         // indexing chunked datasets.
00057         void setIstorek( unsigned ik ) const;
00058 
00059         // Returns this class name
00060         virtual H5std_string fromClass () const { return("FileCreatPropList"); }
00061 
00062         // Creates a file create property list.
00063         FileCreatPropList();
00064 
00065         // Copy constructor: creates a copy of a FileCreatPropList object.
00066         FileCreatPropList(const FileCreatPropList& orig);
00067 
00068         // Creates a copy of an existing file create property list
00069         // using the property list id.
00070         FileCreatPropList (const hid_t plist_id);
00071 
00072         // Noop destructor
00073         virtual ~FileCreatPropList();
00074 };
00075 #ifndef H5_NO_NAMESPACE
00076 }
00077 #endif
00078 #endif

Generated on Thu Apr 20 15:16:40 2006 by doxygen 1.3.2