HDF5 C++ API Reference Manual |
#include <H5FaccProp.h>
Inheritance diagram for H5::FileAccPropList:
Public Member Functions | |
FileAccPropList () | |
Creates a file access property list. | |
void | setStdio () const |
Modifies this property list to use the H5FD_STDIO driver. | |
void | setDriver (hid_t new_driver_id, const void *new_driver_info) const |
Set file driver for this property list. | |
hid_t | getDriver () const |
Return the ID of the low-level file driver. | |
void | setFamilyOffset (hsize_t offset) const |
Sets offset for family driver. | |
hsize_t | getFamilyOffset () const |
Get offset for family driver. | |
void | setSec2 () const |
Modifies this file access property list to use the sec2 driver. | |
void | setCore (size_t increment, hbool_t backing_store) const |
Modifies this file access property list to use the H5FD_CORE driver. | |
void | getCore (size_t &increment, hbool_t &backing_store) const |
Queries core file driver properties. | |
void | setFamily (hsize_t memb_size, const FileAccPropList &memb_plist) const |
Sets this file access property list to use the family driver. | |
void | getFamily (hsize_t &memb_size, FileAccPropList &memb_plist) const |
Returns information about the family file access property list. | |
FileAccPropList | getFamily (hsize_t &memb_size) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts and its return value. | |
void | setSplit (FileAccPropList &meta_plist, FileAccPropList &raw_plist, const char *meta_ext=".meta", const char *raw_ext=".raw") const |
Emulates the old split file driver, which stored meta data in one file and raw data in another file. | |
void | setSplit (FileAccPropList &meta_plist, FileAccPropList &raw_plist, const H5std_string &meta_ext, const H5std_string &raw_ext) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts. | |
void | setSieveBufSize (size_t bufsize) const |
Sets the maximum size of the data sieve buffer. | |
size_t | getSieveBufSize () const |
Returns the current settings for the data sieve buffer size property from this property list. | |
void | setMetaBlockSize (hsize_t &block_size) const |
Sets the minimum size of metadata block allocations. | |
hsize_t | getMetaBlockSize () const |
Returns the current metadata block size setting. | |
void | setLog (const char *logfile, unsigned flags, size_t buf_size) const |
Modifies this file access property list to use the logging driver. | |
void | setLog (const H5std_string &logfile, unsigned flags, size_t buf_size) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts. | |
void | setAlignment (hsize_t threshold=1, hsize_t alignment=1) const |
Sets the alignment properties of this property list. | |
void | getAlignment (hsize_t &threshold, hsize_t &alignment) const |
Returns the current settings for alignment properties from this property list. | |
void | setMultiType (H5FD_mem_t dtype) const |
Sets data type for MULTI driver. | |
H5FD_mem_t | getMultiType () const |
Returns the data type property for MULTI driver. | |
void | setCache (int mdc_nelmts, size_t rdcc_nelmts, size_t rdcc_nbytes, double rdcc_w0) const |
Sets the meta data cache and raw data chunk cache parameters. Sets the meta data cache and raw data chunk cache parameters. | |
void | getCache (int &mdc_nelmts, size_t &rdcc_nelmts, size_t &rdcc_nbytes, double &rdcc_w0) const |
Queries the meta data cache and raw data chunk cache parameters. | |
void | setFcloseDegree (H5F_close_degree_t degree) |
Sets the degree for the file close behavior. | |
H5F_close_degree_t | getFcloseDegree () |
Returns the degree for the file close behavior. | |
void | setGcReferences (unsigned gc_ref=0) const |
Sets garbage collecting references flag. | |
unsigned | getGcReferences () const |
Returns the garbage collecting references setting. | |
virtual H5std_string | fromClass () const |
FileAccPropList (const FileAccPropList &original) | |
Copy Constructor: makes a copy of the original FileAccPropList object. | |
FileAccPropList (const hid_t plist_id) | |
Creates a file access property list using the id of an existing one. | |
virtual | ~FileAccPropList () |
Noop destructor. | |
Static Public Attributes | |
static const FileAccPropList | DEFAULT |
Constant for default property. |
H5::FileAccPropList::FileAccPropList | ( | ) |
Creates a file access property list.
H5::FileAccPropList::FileAccPropList | ( | const FileAccPropList & | original | ) |
Copy Constructor: makes a copy of the original FileAccPropList object.
H5::FileAccPropList::FileAccPropList | ( | const hid_t | plist_id | ) |
Creates a file access property list using the id of an existing one.
H5::FileAccPropList::~FileAccPropList | ( | ) | [virtual] |
Noop destructor.
void H5::FileAccPropList::setStdio | ( | ) | const |
void H5::FileAccPropList::setDriver | ( | hid_t | new_driver_id, | |
const void * | new_driver_info | |||
) | const |
Set file driver for this property list.
new_driver_id | - IN: File driver | |
new_driver_info | - IN: Struct containing the driver-specific properites |
H5::PropListIException |
hid_t H5::FileAccPropList::getDriver | ( | ) | const |
Return the ID of the low-level file driver.
H5::PropListIException |
void H5::FileAccPropList::setFamilyOffset | ( | hsize_t | offset | ) | const |
Sets offset for family driver.
offset | - IN: offset value |
H5::PropListIException |
hsize_t H5::FileAccPropList::getFamilyOffset | ( | ) | const |
void H5::FileAccPropList::setSec2 | ( | ) | const |
void H5::FileAccPropList::setCore | ( | size_t | increment, | |
hbool_t | backing_store | |||
) | const |
Modifies this file access property list to use the H5FD_CORE
driver.
increment | - IN: Specifies how much memory to increase each time more memory is needed, in bytes | |
backing_store | - IN: Indicating whether to write the file contents to disk when the file is closed |
H5::PropListIException |
H5FD_CORE
driver, please refer to ../RM_H5P.html::Property-SetFaplCore void H5::FileAccPropList::getCore | ( | size_t & | increment, | |
hbool_t & | backing_store | |||
) | const |
Queries core file driver properties.
increment | - OUT: Size of memory increment, in bytes | |
backing_store | - OUT: Indicating whether to write the file contents to disk when the file is closed |
H5::PropListIException |
void H5::FileAccPropList::setFamily | ( | hsize_t | memb_size, | |
const FileAccPropList & | memb_plist | |||
) | const |
Sets this file access property list to use the family driver.
memb_size | - IN: Size in bytes of each file member | |
memb_plist | - IN: File access property list to be used for each family member |
H5::PropListIException |
void H5::FileAccPropList::getFamily | ( | hsize_t & | memb_size, | |
FileAccPropList & | memb_plist | |||
) | const |
Returns information about the family file access property list.
memb_size | - OUT: Size in bytes of each file member | |
memb_plist | - OUT: Retrieved file access property list for each file member |
H5::PropListIException |
FileAccPropList H5::FileAccPropList::getFamily | ( | hsize_t & | memb_size | ) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts and its return value.
memb_size | - OUT: Size in bytes of each file member |
H5::PropListIException |
void H5::FileAccPropList::setSplit | ( | FileAccPropList & | meta_plist, | |
FileAccPropList & | raw_plist, | |||
const char * | meta_ext = ".meta" , |
|||
const char * | raw_ext = ".raw" | |||
) | const |
Emulates the old split file driver, which stored meta data in one file and raw data in another file.
meta_plist | - IN: File access plist for the metadata file | |
raw_plist | - IN: File access plist for the raw data file | |
meta_ext | - IN: Metadata filename extension as char* | |
raw_ext | - IN: Raw data filename extension as char* |
H5::PropListIException |
void H5::FileAccPropList::setSplit | ( | FileAccPropList & | meta_plist, | |
FileAccPropList & | raw_plist, | |||
const H5std_string & | meta_ext, | |||
const H5std_string & | raw_ext | |||
) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.
meta_plist | - IN: File access plist for the metadata file | |
raw_plist | - IN: File access plist for the raw data file | |
meta_ext | - IN: Metadata filename extension as string | |
raw_ext | - IN: Raw data filename extension as string |
H5::PropListIException |
void H5::FileAccPropList::setSieveBufSize | ( | size_t | bufsize | ) | const |
Sets the maximum size of the data sieve buffer.
bufsize | - IN: Maximum size, in bytes, of data sieve buffer |
H5::PropListIException |
size_t H5::FileAccPropList::getSieveBufSize | ( | ) | const |
Returns the current settings for the data sieve buffer size property from this property list.
H5::PropListIException |
void H5::FileAccPropList::setMetaBlockSize | ( | hsize_t & | block_size | ) | const |
Sets the minimum size of metadata block allocations.
block_size | - IN: Minimum size, in bytes, of metadata block allocations |
H5::PropListIException |
hsize_t H5::FileAccPropList::getMetaBlockSize | ( | ) | const |
Returns the current metadata block size setting.
H5::PropListIException |
void H5::FileAccPropList::setLog | ( | const char * | logfile, | |
unsigned | flags, | |||
size_t | buf_size | |||
) | const |
Modifies this file access property list to use the logging driver.
logfile | - IN: Name of the log file | |
flags | - IN: Flags specifying the types of logging activity | |
buf_size | - IN: Size of the logging buffer |
H5::PropListIException |
void H5::FileAccPropList::setLog | ( | const H5std_string & | logfile, | |
unsigned | flags, | |||
size_t | buf_size | |||
) | const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.
logfile | - IN: Name of the log file - string | |
flags | - IN: Flags specifying the types of logging activity | |
buf_size | - IN: Size of the logging buffer |
void H5::FileAccPropList::setAlignment | ( | hsize_t | threshold = 1 , |
|
hsize_t | alignment = 1 | |||
) | const |
Sets the alignment properties of this property list.
threshold | - IN: Threshold value for file object size | |
alignment | - IN: Alignment value |
H5::PropListIException |
void H5::FileAccPropList::getAlignment | ( | hsize_t & | threshold, | |
hsize_t & | alignment | |||
) | const |
Returns the current settings for alignment properties from this property list.
threshold | - OUT: Retrieved threshold value for file object size | |
alignment | - OUT: Retrieved alignment value |
H5::PropListIException |
void H5::FileAccPropList::setMultiType | ( | H5FD_mem_t | dtype | ) | const |
Sets data type for MULTI
driver.
dtype | - IN: Type of data |
H5::PropListIException |
H5FD_mem_t H5::FileAccPropList::getMultiType | ( | ) | const |
Returns the data type property for MULTI
driver.
H5::PropListIException |
void H5::FileAccPropList::setCache | ( | int | mdc_nelmts, | |
size_t | rdcc_nelmts, | |||
size_t | rdcc_nbytes, | |||
double | rdcc_w0 | |||
) | const |
Sets the meta data cache and raw data chunk cache parameters. Sets the meta data cache and raw data chunk cache parameters.
mdc_nelmts | - IN: Number of elements in the meta data cache | |
rdcc_nelmts | - IN: Number of elements in the raw data chunk cache | |
rdcc_nbytes | - IN: Total size of the raw data chunk cache, in bytes | |
rdcc_w0 | - IN: Preemption policy |
H5::PropListIException |
void H5::FileAccPropList::getCache | ( | int & | mdc_nelmts, | |
size_t & | rdcc_nelmts, | |||
size_t & | rdcc_nbytes, | |||
double & | rdcc_w0 | |||
) | const |
Queries the meta data cache and raw data chunk cache parameters.
mdc_nelmts | - OUT: Number of elements in the meta data cache | |
rdcc_nelmts | - OUT: Number of elements in the raw data chunk cache | |
rdcc_nbytes | - OUT: Total size of the raw data chunk cache, in bytes | |
rdcc_w0 | - OUT: Preemption policy |
H5::PropListIException |
void H5::FileAccPropList::setFcloseDegree | ( | H5F_close_degree_t | degree | ) |
Sets the degree for the file close behavior.
degree | - IN: |
H5::PropListIException |
H5F_close_degree_t H5::FileAccPropList::getFcloseDegree | ( | ) |
Returns the degree for the file close behavior.
H5::PropListIException |
void H5::FileAccPropList::setGcReferences | ( | unsigned | gc_ref = 0 |
) | const |
Sets garbage collecting references flag.
gc_ref | - IN: Flag setting reference garbage collection to on (1) or off (0). |
H5::PropListIException |
unsigned H5::FileAccPropList::getGcReferences | ( | ) | const |
Returns the garbage collecting references setting.
H5::PropListIException |
virtual H5std_string H5::FileAccPropList::fromClass | ( | ) | const [inline, virtual] |
Reimplemented from H5::PropList.
const FileAccPropList H5::FileAccPropList::DEFAULT [static] |