YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
只读内存映射文件。 更多...
#include <MemoryMapping.h>
Public 成员函数 | |
~MappedFile () | |
ystdex::byte * | GetPtr () const |
size_t | GetSize () const |
MappedFile (const_path_t) | |
template<class _tString > | |
MappedFile (const _tString &filename) | |
Private 属性 | |
int | fd |
struct::stat | st |
ystdex::byte * | addr |
|
explicit |
|
inlineexplicit |
在文件 MemoryMapping.h 第 56 行定义.
platform::MappedFile::~MappedFile | ( | ) |
在文件 MemoryMapping.cpp 第 95 行定义.
参考 addr.
|
inline |
在文件 MemoryMapping.h 第 63 行定义.
size_t platform::MappedFile::GetSize | ( | ) | const |
在文件 MemoryMapping.cpp 第 107 行定义.
参考 st.
|
private |
在文件 MemoryMapping.h 第 46 行定义.
参考自 MappedFile() , 以及 ~MappedFile().
|
private |
在文件 MemoryMapping.h 第 44 行定义.
|
private |
在文件 MemoryMapping.h 第 45 行定义.
参考自 GetSize() , 以及 MappedFile().