librime: rime::MappedFileImpl Class Reference

| librime 1.2 Rime Input Method Engine, the core library

Public Types | Public Member Functions | List of all members
rime::MappedFileImpl Class Reference

## Public Types
enum | OpenMode { kOpenReadOnly , kOpenReadWrite }

## Public Member Functions
| MappedFileImpl (const path &file_path, OpenMode mode)
| ~MappedFileImpl ()
bool | Flush ()
void * | get_address () const
size_t | get_size () const

## Member Enumeration Documentation

## ◆ OpenMode

enum rime::MappedFileImpl::OpenMode

Enumerator
kOpenReadOnly |
kOpenReadWrite |

## Constructor & Destructor Documentation

## ◆ MappedFileImpl()

rime::MappedFileImpl::MappedFileImpl | ( | const path & | file_path,
|  | OpenMode | mode )
| inline

## ◆ ~MappedFileImpl()

rime::MappedFileImpl::~MappedFileImpl | ( |  | ) |
| inline

## Member Function Documentation

## ◆ Flush()

bool rime::MappedFileImpl::Flush | ( |  | ) |
| inline

## ◆ get_address()

void * rime::MappedFileImpl::get_address | ( |  | ) | const
| inline

## ◆ get_size()

size_t rime::MappedFileImpl::get_size | ( |  | ) | const
| inline

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

- mapped_file.cc