h5cpp  0.5.1
A modern C++ wrapper for the HDF5 C library
hdf5::file::Driver Class Referenceabstract

abstract class for file drivers More...

#include <driver.hpp>

Inheritance diagram for hdf5::file::Driver:

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...
 

Detailed Description

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.

Member Typedef Documentation

◆ UniquePointer

using hdf5::file::Driver::UniquePointer = std::unique_ptr<Driver>

Constructor & Destructor Documentation

◆ ~Driver()

virtual hdf5::file::Driver::~Driver ( )
inlinevirtual

Member Function Documentation

◆ id()

virtual DriverID hdf5::file::Driver::id ( ) const
pure virtualnoexcept

Return the ID of a particular driver.

Implemented in hdf5::file::PosixDriver, hdf5::file::MPIDriver, hdf5::file::MemoryDriver, and hdf5::file::DirectDriver.

◆ operator()()

virtual void hdf5::file::Driver::operator() ( const hdf5::property::FileAccessList fapl) const
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.


The documentation for this class was generated from the following file: