#include <wpi/MappedFileRegion.h>
◆ MapMode
Enumerator |
---|
kReadOnly | May only access map via const_data as read only.
|
kReadWrite | May access map via data and modify it. Written to path.
|
kPriv | May modify via data, but changes are lost on destruction.
|
◆ MappedFileRegion() [1/4]
wpi::MappedFileRegion::MappedFileRegion |
( |
| ) |
|
|
default |
◆ MappedFileRegion() [2/4]
wpi::MappedFileRegion::MappedFileRegion |
( |
fs::file_t |
f, |
|
|
uint64_t |
length, |
|
|
uint64_t |
offset, |
|
|
MapMode |
mapMode, |
|
|
std::error_code & |
ec |
|
) |
| |
◆ ~MappedFileRegion()
wpi::MappedFileRegion::~MappedFileRegion |
( |
| ) |
|
|
inline |
◆ MappedFileRegion() [3/4]
◆ MappedFileRegion() [4/4]
◆ const_data()
const uint8_t * wpi::MappedFileRegion::const_data |
( |
| ) |
const |
|
inline |
◆ data()
uint8_t * wpi::MappedFileRegion::data |
( |
| ) |
const |
|
inline |
◆ Flush()
void wpi::MappedFileRegion::Flush |
( |
| ) |
|
◆ GetAlignment()
static size_t wpi::MappedFileRegion::GetAlignment |
( |
| ) |
|
|
static |
Returns required alignment.
◆ operator bool()
wpi::MappedFileRegion::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ size()
uint64_t wpi::MappedFileRegion::size |
( |
| ) |
const |
|
inline |
◆ Unmap()
void wpi::MappedFileRegion::Unmap |
( |
| ) |
|
The documentation for this class was generated from the following file: