library of assembled shared sources |
http://lass.cocamware.com |
Public Member Functions | |
BinaryIMemoryMapImpl (const char *filename) | |
~BinaryIMemoryMapImpl () | |
const long | fileSize () const |
char *const | remap (long newBegin, long &begin, long &end) |
Private Member Functions | |
void | unmap () |
Private Attributes | |
long | pageSize_ |
long | fileSize_ |
long | mapSize_ |
char * | view_ |
Definition at line 70 of file binary_i_memory_map.cpp.
lass::io::impl::BinaryIMemoryMapImpl::BinaryIMemoryMapImpl | ( | const char * | filename | ) | [inline] |
Definition at line 73 of file binary_i_memory_map.cpp.
References fileSize_, LASS_ENFORCE_CLIB, LASS_THROW, and pageSize_.
lass::io::impl::BinaryIMemoryMapImpl::~BinaryIMemoryMapImpl | ( | ) | [inline] |
const long lass::io::impl::BinaryIMemoryMapImpl::fileSize | ( | ) | const [inline] |
char* const lass::io::impl::BinaryIMemoryMapImpl::remap | ( | long | newBegin, | |
long & | begin, | |||
long & | end | |||
) | [inline] |
Definition at line 139 of file binary_i_memory_map.cpp.
References fileSize_, LASS_ASSERT, LASS_ENFORCE_CLIB_EX, mapSize_, pageSize_, unmap(), and view_.
Referenced by lass::io::BinaryIMemoryMap::doRead(), and lass::io::BinaryIMemoryMap::doSeekg().
void lass::io::impl::BinaryIMemoryMapImpl::unmap | ( | ) | [inline, private] |
Definition at line 170 of file binary_i_memory_map.cpp.
References LASS_WARN_CLIB, mapSize_, and view_.
Referenced by remap(), and ~BinaryIMemoryMapImpl().
long lass::io::impl::BinaryIMemoryMapImpl::pageSize_ [private] |
Definition at line 184 of file binary_i_memory_map.cpp.
Referenced by BinaryIMemoryMapImpl(), and remap().
long lass::io::impl::BinaryIMemoryMapImpl::fileSize_ [private] |
Definition at line 185 of file binary_i_memory_map.cpp.
Referenced by BinaryIMemoryMapImpl(), fileSize(), and remap().
long lass::io::impl::BinaryIMemoryMapImpl::mapSize_ [private] |
char* lass::io::impl::BinaryIMemoryMapImpl::view_ [private] |
Generated on Mon Nov 10 14:22:09 2008 for Library of Assembled Shared Sources by 1.5.7.1 |