14 #ifndef H5FileAccPropList_H
15 #define H5FileAccPropList_H
33 void setStdio()
const;
36 void setDriver(hid_t new_driver_id,
const void *new_driver_info)
const;
39 hid_t getDriver()
const;
42 void setFamilyOffset(hsize_t offset)
const;
45 hsize_t getFamilyOffset()
const;
52 void setCore(
size_t increment, hbool_t backing_store)
const;
55 void getCore(
size_t &increment, hbool_t &backing_store)
const;
58 void setFamily(hsize_t memb_size,
const FileAccPropList &memb_plist)
const;
66 const char *meta_ext =
".meta",
const char *raw_ext =
".raw")
const;
68 const H5std_string &meta_ext =
".meta",
const H5std_string &raw_ext =
".raw")
const;
71 void setSieveBufSize(
size_t bufsize)
const;
75 size_t getSieveBufSize()
const;
78 void setMetaBlockSize(hsize_t &block_size)
const;
81 hsize_t getMetaBlockSize()
const;
84 void setLog(
const char *logfile,
unsigned flags,
size_t buf_size)
const;
85 void setLog(
const H5std_string &logfile,
unsigned flags,
size_t buf_size)
const;
88 void setAlignment(hsize_t threshold = 1, hsize_t alignment = 1)
const;
92 void getAlignment(hsize_t &threshold, hsize_t &alignment)
const;
95 void setMultiType(H5FD_mem_t dtype)
const;
98 H5FD_mem_t getMultiType()
const;
101 void setCache(
int mdc_nelmts,
size_t rdcc_nelmts,
size_t rdcc_nbytes,
double rdcc_w0)
const;
104 void getCache(
int &mdc_nelmts,
size_t &rdcc_nelmts,
size_t &rdcc_nbytes,
double &rdcc_w0)
const;
107 void setFcloseDegree(H5F_close_degree_t degree)
const;
110 H5F_close_degree_t getFcloseDegree()
const;
119 void setGcReferences(
unsigned gc_ref = 0)
const;
122 unsigned getGcReferences()
const;
125 void setFileLocking(hbool_t use_file_locking, hbool_t ignore_when_disabled)
const;
128 void getFileLocking(hbool_t &use_file_locking, hbool_t &ignore_when_disabled)
const;
132 void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high)
const;
135 void getLibverBounds(H5F_libver_t &libver_low, H5F_libver_t &libver_high)
const;
141 return (
"FileAccPropList");
154 #ifndef DOXYGEN_SHOULD_SKIP_THIS
157 static void deleteConstants();
165 #endif // DOXYGEN_SHOULD_SKIP_THIS
170 #endif // H5FileAccPropList_H
void setSec2() const
Modifies this file access property list to use the sec2 driver.
Definition: H5FaccProp.cpp:484
void setGcReferences(unsigned gc_ref=0) const
Sets garbage collecting references flag.
Definition: H5FaccProp.cpp:666
Definition: H5Exception.h:123
hsize_t getMetaBlockSize() const
Returns the current metadata block size setting.
Definition: H5FaccProp.cpp:427
size_t getSieveBufSize() const
Returns the current settings for the data sieve buffer size property from this property list.
Definition: H5FaccProp.cpp:370
void setMetaBlockSize(hsize_t &block_size) const
Sets the minimum size of metadata block allocations.
Definition: H5FaccProp.cpp:411
void setFcloseDegree(H5F_close_degree_t degree) const
Sets the degree for the file close behavior.
Definition: H5FaccProp.cpp:628
virtual ~FileAccPropList()
Noop destructor.
Definition: H5FaccProp.cpp:806
hid_t getDriver() const
Return the ID of the low-level file driver.
Definition: H5FaccProp.cpp:146
void getFamily(hsize_t &memb_size, FileAccPropList &memb_plist) const
Returns information about the family file access property list.
Definition: H5FaccProp.cpp:281
hsize_t getFamilyOffset() const
Get offset for family driver.
Definition: H5FaccProp.cpp:199
void setAlignment(hsize_t threshold=1, hsize_t alignment=1) const
Sets the alignment properties of this property list.
Definition: H5FaccProp.cpp:509
unsigned getGcReferences() const
Returns the garbage collecting references setting.
Definition: H5FaccProp.cpp:682
static const FileAccPropList & DEFAULT
Default file access property list.
Definition: H5FaccProp.h:27
void getAlignment(hsize_t &threshold, hsize_t &alignment) const
Returns the current settings for alignment properties from this property list.
Definition: H5FaccProp.cpp:527
void setFileAccDirect(size_t boundary, size_t block_size, size_t cbuf_size) const
void setFileLocking(hbool_t use_file_locking, hbool_t ignore_when_disabled) const
Sets file locking flags.
Definition: H5FaccProp.cpp:708
void setFamilyOffset(hsize_t offset) const
Sets offset for family driver.
Definition: H5FaccProp.cpp:183
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5FaccProp.h:139
FileAccPropList()
Creates a file access property list.
Definition: H5FaccProp.cpp:94
void getFileAccDirect(size_t &boundary, size_t &block_size, size_t &cbuf_size) const
void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const
Sets bounds on versions of library format to be used when creating or writing objects.
Definition: H5FaccProp.cpp:763
void getCore(size_t &increment, hbool_t &backing_store) const
Queries core file driver properties.
Definition: H5FaccProp.cpp:242
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.
Definition: H5FaccProp.cpp:612
void setStdio() const
Modifies this property list to use the H5FD_STDIO driver.
Definition: H5FaccProp.cpp:126
void setCore(size_t increment, hbool_t backing_store) const
Modifies this file access property list to use the H5FD_CORE driver.
Definition: H5FaccProp.cpp:224
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.
Definition: H5FaccProp.cpp:593
void setSieveBufSize(size_t bufsize) const
Sets the maximum size of the data sieve buffer.
Definition: H5FaccProp.cpp:391
H5FD_mem_t getMultiType() const
Returns the data type property for MULTI driver.
Definition: H5FaccProp.cpp:565
virtual hid_t getId() const
Get the id of this property list.
Definition: H5PropList.cpp:292
void setLog(const char *logfile, unsigned flags, size_t buf_size) const
Modifies this file access property list to use the logging driver.
Definition: H5FaccProp.cpp:451
H5F_close_degree_t getFcloseDegree() const
Returns the degree for the file close behavior.
Definition: H5FaccProp.cpp:644
Definition: H5AbstractDs.cpp:33
void setSplit(const FileAccPropList &meta_plist, const 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.
Definition: H5FaccProp.cpp:328
void setFamily(hsize_t memb_size, const FileAccPropList &memb_plist) const
Sets this file access property list to use the family driver.
Definition: H5FaccProp.cpp:262
void setDriver(hid_t new_driver_id, const void *new_driver_info) const
Set file driver for this property list.
Definition: H5FaccProp.cpp:167
Class FileAccPropList inherits from PropList and provides wrappers for the HDF5 file access property ...
Definition: H5FaccProp.h:24
void setMultiType(H5FD_mem_t dtype) const
Sets data type for MULTI driver.
Definition: H5FaccProp.cpp:546
void getLibverBounds(H5F_libver_t &libver_low, H5F_libver_t &libver_high) const
Gets the current settings for the library version format bounds from a file access property list.
Definition: H5FaccProp.cpp:793
void getFileLocking(hbool_t &use_file_locking, hbool_t &ignore_when_disabled) const
Gets file locking flags.
Definition: H5FaccProp.cpp:731
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:24
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
|