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::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::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 |
hid_t H5::FileAccPropList::getDriver | ( | ) | const |
Return the ID of the low-level file driver.
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::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 |
References H5::PropList::p_setId().
hsize_t H5::FileAccPropList::getFamilyOffset | ( | ) | const |
H5F_close_degree_t H5::FileAccPropList::getFcloseDegree | ( | ) |
Returns the degree for the file close behavior.
H5::PropListIException |
unsigned H5::FileAccPropList::getGcReferences | ( | ) | const |
Returns the garbage collecting references setting.
H5::PropListIException |
hsize_t H5::FileAccPropList::getMetaBlockSize | ( | ) | const |
Returns the current metadata block size setting.
H5::PropListIException |
H5FD_mem_t H5::FileAccPropList::getMultiType | ( | ) | const |
Returns the data type property for MULTI
driver.
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::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 |
For detail on setting alignment, please refer to http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetAlignment
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.
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::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 http://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetFaplCore 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 |
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::setFamilyOffset | ( | hsize_t | offset | ) | const |
Sets offset for family driver.
offset | - IN: offset value |
H5::PropListIException |
void H5::FileAccPropList::setFcloseDegree | ( | H5F_close_degree_t | degree | ) |
Sets the degree for the file close behavior.
degree | - IN: |
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 |
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 |
References setLog().
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 |
Referenced by setLog().
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 |
void H5::FileAccPropList::setMultiType | ( | H5FD_mem_t | dtype | ) | const |
Sets data type for MULTI
driver.
dtype | - IN: Type of data |
H5::PropListIException |
void H5::FileAccPropList::setSec2 | ( | ) | const |
Modifies this file access property list to use the sec2 driver.
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 |
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 |
References setSplit().
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 |
Referenced by setSplit().
void H5::FileAccPropList::setStdio | ( | ) | const |
Modifies this property list to use the H5FD_STDIO
driver.
H5::PropListIException |