h5cpp
0.5.1
A modern C++ wrapper for the HDF5 C library
|
abstract class for file drivers More...
#include <driver.hpp>
Public Types | |
using | UniquePointer = std::unique_ptr< Driver > |
unique pointer type More... | |
Public Member Functions | |
virtual | ~Driver () |
virtual void | operator() (const hdf5::property::FileAccessList &fapl) const =0 |
set a driver More... | |
virtual DriverID | id () const noexcept=0 |
get driver ID More... | |
Driver classes in h5cpp do not hold a real reference to a driver object. They rather store information about how to setup the driver. This is mainly due to the fact that we are currently accessing the drivers only via the file access property list.
using hdf5::file::Driver::UniquePointer = std::unique_ptr<Driver> |
|
inlinevirtual |
|
pure virtualnoexcept |
Return the ID of a particular driver.
Implemented in hdf5::file::PosixDriver, hdf5::file::MPIDriver, hdf5::file::MemoryDriver, and hdf5::file::DirectDriver.
|
pure virtual |
Sets a driver to a particular file access property list.
Implemented in hdf5::file::PosixDriver, hdf5::file::MPIDriver, hdf5::file::MemoryDriver, and hdf5::file::DirectDriver.