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

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