library of assembled shared sources

http://lass.cocamware.com

lass::io::impl::BinaryIMemoryMapImpl Class Reference


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_

Detailed Description

Definition at line 70 of file binary_i_memory_map.cpp.


Constructor & Destructor Documentation

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]

Definition at line 118 of file binary_i_memory_map.cpp.

References LASS_WARN_CLIB, and unmap().


Member Function Documentation

const long lass::io::impl::BinaryIMemoryMapImpl::fileSize (  )  const [inline]

Definition at line 133 of file binary_i_memory_map.cpp.

References fileSize_.

char* const lass::io::impl::BinaryIMemoryMapImpl::remap ( long  newBegin,
long &  begin,
long &  end 
) [inline]

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().


Field Documentation

Definition at line 184 of file binary_i_memory_map.cpp.

Referenced by BinaryIMemoryMapImpl(), and remap().

Definition at line 185 of file binary_i_memory_map.cpp.

Referenced by BinaryIMemoryMapImpl(), fileSize(), and remap().

Definition at line 186 of file binary_i_memory_map.cpp.

Referenced by remap(), and unmap().

Definition at line 187 of file binary_i_memory_map.cpp.

Referenced by remap(), and unmap().


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

Generated on Mon Nov 10 14:22:09 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo