delpi  0.0.1
DElta-complete LP solver
Loading...
Searching...
No Matches
MappedFileSource.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <boost/interprocess/file_mapping.hpp>
11#include <boost/interprocess/mapped_region.hpp>
12
14
15namespace delpi {
16
23class MappedFileSource : public BufferLineSource {
24 public:
30 explicit MappedFileSource(const char *const filename);
31
32 private:
33 const boost::interprocess::file_mapping
35 boost::interprocess::mapped_region
37};
38
39} // namespace delpi
MappedFileSource(const char *const filename)
Construct a MappedFileSource for the given file.
const boost::interprocess::file_mapping file_mapping_
The file mapping object that manages the mapping of the file into memory.
boost::interprocess::mapped_region region_
The mapped region object that provides access to the mapped file content.
Global namespace for the delpi library.