Public Member Functions | Static Public Attributes

H5::FileCreatPropList Class Reference

List of all members.

Public Member Functions

Static Public Attributes


Constructor & Destructor Documentation

H5::FileCreatPropList::FileCreatPropList ( const FileCreatPropList original  ) 

Copy constructor: makes a copy of the original FileCreatPropList object.

Parameters:
original - IN: FileCreatPropList instance to copy
H5::FileCreatPropList::FileCreatPropList ( const hid_t  plist_id  ) 

Creates a file creation property list using the id of an existing one.

Parameters:
plist_id - IN: FileCreatPropList id to use

Member Function Documentation

unsigned H5::FileCreatPropList::getIstorek (  )  const

Returns the 1/2 rank of an indexed storage B-tree.

Returns:
1/2 rank of chunked storage B-tree
Exceptions:
H5::PropListIException 
Description
For information, please see http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-GetIstoreK
void H5::FileCreatPropList::getSizes ( size_t &  sizeof_addr,
size_t &  sizeof_size 
) const

Retrieves the size of the offsets and lengths used in an HDF5 file.

Exceptions:
H5::PropListIException 
void H5::FileCreatPropList::getSymk ( unsigned &  ik,
unsigned &  lk 
) const

Retrieves the size of the symbol table B-tree 1/2 rank and the symbol table leaf node 1/2 size.

Exceptions:
H5::PropListIException 
Description
For information, please see http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-GetSymK
hsize_t H5::FileCreatPropList::getUserblock (  )  const

Returns the user block size of this file creation property list.

Returns:
User block size
Exceptions:
H5::PropListIException 
void H5::FileCreatPropList::getVersion ( unsigned &  super,
unsigned &  freelist,
unsigned &  stab,
unsigned &  shhdr 
) const

Retrieves version information for various parts of a file.

Parameters:
super - OUT: The file super block.
freelist - OUT: The global free list.
stab - OUT: The root symbol table entry.
shhdr - OUT: Shared object headers.
Exceptions:
H5::PropListIException 
Description
Any (or even all) of the output arguments can be null pointers.
void H5::FileCreatPropList::setIstorek ( unsigned  ik  )  const

Sets the size of the parameter used to control the B-trees for indexing chunked datasets.

Parameters:
ik - IN: 1/2 rank of chunked storage B-tree
Exceptions:
H5::PropListIException 
Description
For information, please see the C layer Reference Manual at: http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetIstoreK
void H5::FileCreatPropList::setSizes ( size_t  sizeof_addr = 4,
size_t  sizeof_size = 4 
) const

Sets the byte size of the offsets and lengths used to address objects in an HDF5 file.

Parameters:
sizeof_addr - IN: Size of an object offset in bytes
sizeof_size - IN: Size of an object length in bytes.
Exceptions:
H5::PropListIException 
Description
For information on setting sizes, please refer to the C layer Reference Manual at: http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetSizes
void H5::FileCreatPropList::setSymk ( unsigned  ik,
unsigned  lk 
) const

Sets the size of parameters used to control the symbol table nodes.

Parameters:
ik - IN: Symbol table tree rank
lk - IN: Symbol table node size
Exceptions:
H5::PropListIException 
Description
For information, please see the C layer Reference Manual at: http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetSymK
void H5::FileCreatPropList::setUserblock ( hsize_t  size  )  const

Sets the user block size field of this file creation property list.

Parameters:
size - IN: User block size to be set, in bytes
Exceptions:
H5::PropListIException 
Description
The default user block size is 0; it may be set to any power of 2 equal to 512 or greater (512, 1024, 2048, etc.)