|
h5cpp
0.5.2
A modern C++ wrapper for the HDF5 C library
|
memory file driver More...
#include <memory_driver.hpp>


Public Member Functions | |
| MemoryDriver () noexcept | |
| default constructor More... | |
| MemoryDriver (size_t increment, bool backing_store) noexcept | |
| constructor More... | |
| MemoryDriver (const MemoryDriver &)=default | |
| copy constructor More... | |
| bool | backing_store () const noexcept |
| get backing store status More... | |
| void | backing_store (bool value) noexcept |
| set backing store status More... | |
| size_t | increment () const noexcept |
| get increment value More... | |
| void | increment (size_t value) |
| set increment More... | |
| virtual void | operator() (const property::FileAccessList &fapl) const override |
| set a driver More... | |
| virtual DriverID | id () const noexcept override |
| get driver ID More... | |
Public Member Functions inherited from hdf5::file::Driver | |
| virtual | ~Driver () |
Additional Inherited Members | |
Public Types inherited from hdf5::file::Driver | |
| using | UniquePointer = std::unique_ptr< Driver > |
| unique pointer type More... | |
Using this driver HDF5 writes the file not to disk but in memory which can reduce the overhead from disk IO. If backing_store option is enabled the file will be written to disk with the same file name used to create the file in memory.
|
noexcept |
Sets the increment to 1MByte and backing store to false.
|
noexcept |
| increment | number of bytes used to increment the memory buffer if it runs out of storage |
| backing_store | enable disk storage after file close |
|
default |
Use the default implementation here.
|
noexcept |
|
noexcept |
|
overridevirtualnoexcept |
Return the ID of a particular driver.
Implements hdf5::file::Driver.
|
noexcept |
| void hdf5::file::MemoryDriver::increment | ( | size_t | value | ) |
|
overridevirtual |
Sets a driver to a particular file access property list.
Implements hdf5::file::Driver.