|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
只读内存映射文件。 更多...
#include <MemoryMapping.h>
Public 成员函数 | |
| ~MappedFile () | |
| DefGetter (const ynothrow, ystdex::byte *, Ptr, addr) DefGetter(const ynothrow | |
| MappedFile (const char *) | |
| template<class _tString > | |
| MappedFile (const _tString &filename) | |
Public 属性 | |
| Size | |
Private 属性 | |
| int | fd |
| std::uint64_t | size |
| ystdex::byte * | addr |
|
explicit |
|
inlineexplicit |
在文件 MemoryMapping.h 第 58 行定义.
| platform::MappedFile::~MappedFile | ( | ) |
在文件 MemoryMapping.cpp 第 100 行定义.
| platform::MappedFile::DefGetter | ( | const ynothrow | , |
| ystdex::byte * | , | ||
| Ptr | , | ||
| addr | |||
| ) | const |
|
private |
在文件 MemoryMapping.h 第 47 行定义.
参考自 ~MappedFile().
|
private |
在文件 MemoryMapping.h 第 45 行定义.
|
private |
在文件 MemoryMapping.h 第 46 行定义.
参考自 ~MappedFile().
| platform::MappedFile::Size |
在文件 MemoryMapping.h 第 67 行定义.