15 #ifndef __H5FileAccPropList_H
16 #define __H5FileAccPropList_H
34 void setStdio()
const;
37 void setDriver(hid_t new_driver_id,
const void *new_driver_info)
const;
40 hid_t getDriver()
const;
43 void setFamilyOffset(hsize_t offset)
const;
46 hsize_t getFamilyOffset()
const;
53 void setCore (
size_t increment, hbool_t backing_store)
const;
56 void getCore (
size_t& increment, hbool_t& backing_store)
const;
59 void setFamily(hsize_t memb_size,
const FileAccPropList& memb_plist)
const;
68 const char* meta_ext =
".meta",
69 const char* raw_ext =
".raw")
const;
72 const H5std_string& meta_ext =
".meta",
73 const H5std_string& raw_ext =
".raw")
const;
76 void setSieveBufSize(
size_t bufsize)
const;
80 size_t getSieveBufSize()
const;
83 void setMetaBlockSize(hsize_t &block_size)
const;
86 hsize_t getMetaBlockSize()
const;
89 void setLog(
const char *logfile,
unsigned flags,
size_t buf_size)
const;
90 void setLog(
const H5std_string& logfile,
unsigned flags,
size_t buf_size)
const;
93 void setAlignment(hsize_t threshold = 1, hsize_t alignment = 1)
const;
97 void getAlignment(hsize_t& threshold, hsize_t& alignment)
const;
100 void setMultiType(H5FD_mem_t dtype)
const;
103 H5FD_mem_t getMultiType()
const;
106 void setCache(
int mdc_nelmts,
size_t rdcc_nelmts,
size_t rdcc_nbytes,
double rdcc_w0)
const;
109 void getCache(
int& mdc_nelmts,
size_t& rdcc_nelmts,
size_t& rdcc_nbytes,
double& rdcc_w0)
const;
112 void setFcloseDegree(H5F_close_degree_t degree)
const;
115 H5F_close_degree_t getFcloseDegree()
const;
118 void setFileAccDirect(
size_t boundary,
size_t block_size,
size_t cbuf_size)
const;
121 void getFileAccDirect(
size_t &boundary,
size_t &block_size,
size_t &cbuf_size)
const;
124 void setGcReferences(
unsigned gc_ref = 0)
const;
127 unsigned getGcReferences()
const;
131 void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high)
const;
134 void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high)
const;
137 virtual H5std_string
fromClass ()
const {
return(
"FileAccPropList"); }
149 #ifndef DOXYGEN_SHOULD_SKIP_THIS
152 static void deleteConstants();
160 #endif // DOXYGEN_SHOULD_SKIP_THIS
165 #endif // __H5FileAccPropList_H
void setSec2() const
Modifies this file access property list to use the sec2 driver.
Definition: H5FaccProp.cpp:476
void setGcReferences(unsigned gc_ref=0) const
Sets garbage collecting references flag.
Definition: H5FaccProp.cpp:658
Definition: H5Exception.h:130
hsize_t getMetaBlockSize() const
Returns the current metadata block size setting.
Definition: H5FaccProp.cpp:420
size_t getSieveBufSize() const
Returns the current settings for the data sieve buffer size property from this property list.
Definition: H5FaccProp.cpp:363
void setMetaBlockSize(hsize_t &block_size) const
Sets the minimum size of metadata block allocations.
Definition: H5FaccProp.cpp:404
void setFcloseDegree(H5F_close_degree_t degree) const
Sets the degree for the file close behavior.
Definition: H5FaccProp.cpp:620
virtual ~FileAccPropList()
Noop destructor.
Definition: H5FaccProp.cpp:761
hid_t getDriver() const
Return the ID of the low-level file driver.
Definition: H5FaccProp.cpp:142
void getFamily(hsize_t &memb_size, FileAccPropList &memb_plist) const
Returns information about the family file access property list.
Definition: H5FaccProp.cpp:277
hsize_t getFamilyOffset() const
Get offset for family driver.
Definition: H5FaccProp.cpp:195
void setAlignment(hsize_t threshold=1, hsize_t alignment=1) const
Sets the alignment properties of this property list.
Definition: H5FaccProp.cpp:501
unsigned getGcReferences() const
Returns the garbage collecting references setting.
Definition: H5FaccProp.cpp:674
static const FileAccPropList & DEFAULT
Default file access property list.
Definition: H5FaccProp.h:28
void getAlignment(hsize_t &threshold, hsize_t &alignment) const
Returns the current settings for alignment properties from this property list.
Definition: H5FaccProp.cpp:519
void setFamilyOffset(hsize_t offset) const
Sets offset for family driver.
Definition: H5FaccProp.cpp:179
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5FaccProp.h:137
FileAccPropList()
Creates a file access property list.
Definition: H5FaccProp.cpp:97
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:713
void getCore(size_t &increment, hbool_t &backing_store) const
Queries core file driver properties.
Definition: H5FaccProp.cpp:238
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:604
void setStdio() const
Modifies this property list to use the H5FD_STDIO driver.
Definition: H5FaccProp.cpp:122
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:220
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:585
void setSieveBufSize(size_t bufsize) const
Sets the maximum size of the data sieve buffer.
Definition: H5FaccProp.cpp:384
H5FD_mem_t getMultiType() const
Returns the data type property for MULTI driver.
Definition: H5FaccProp.cpp:557
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:444
H5F_close_degree_t getFcloseDegree() const
Returns the degree for the file close behavior.
Definition: H5FaccProp.cpp:636
Definition: H5AbstractDs.cpp:34
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:324
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:258
void setDriver(hid_t new_driver_id, const void *new_driver_info) const
Set file driver for this property list.
Definition: H5FaccProp.cpp:163
Class FileAccPropList inherits from PropList and provides wrappers for the HDF5 file access property ...
Definition: H5FaccProp.h:25
void setMultiType(H5FD_mem_t dtype) const
Sets data type for MULTI driver.
Definition: H5FaccProp.cpp:538
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:747
Class PropList inherits from IdComponent and provides wrappers for the HDF5 generic property list.
Definition: H5PropList.h:25
The HDF Group Help Desk:
| |
Copyright by
The HDF Group
and the Board of Trustees of the University of Illinois
|