Geant4  10.00.p02
MEMORY_MAPPED_FILE Class Reference

Public Member Functions

 MEMORY_MAPPED_FILE (PSTR pszFileName)
 
 ~MEMORY_MAPPED_FILE (void)
 
PVOID GetBase (void)
 
DWORD GetFileSize (void)
 
BOOL IsValid (void)
 
errMMF GetErrorType ()
 

Private Attributes

HANDLE m_hFile
 
HANDLE m_hFileMapping
 
PVOID m_pMemoryMappedFileBase
 
DWORD m_cbFile
 
errMMF m_errCode
 

Detailed Description

Definition at line 55 of file genwindef.cc.

Constructor & Destructor Documentation

MEMORY_MAPPED_FILE::MEMORY_MAPPED_FILE ( PSTR  pszFileName)

Definition at line 264 of file genwindef.cc.

References errMMF_FileMapping, errMMF_FileOpen, errMMF_MapView, and errMMF_NoError.

MEMORY_MAPPED_FILE::~MEMORY_MAPPED_FILE ( void  )

Definition at line 310 of file genwindef.cc.

References errMMF_FileOpen.

Member Function Documentation

PVOID MEMORY_MAPPED_FILE::GetBase ( void  )
inline

Definition at line 61 of file genwindef.cc.

References m_pMemoryMappedFileBase.

Referenced by CLibSymbolInfo::Dump().

+ Here is the caller graph for this function:

errMMF MEMORY_MAPPED_FILE::GetErrorType ( )
inline

Definition at line 64 of file genwindef.cc.

References m_errCode.

DWORD MEMORY_MAPPED_FILE::GetFileSize ( void  )
inline

Definition at line 62 of file genwindef.cc.

References m_cbFile.

BOOL MEMORY_MAPPED_FILE::IsValid ( void  )
inline

Definition at line 63 of file genwindef.cc.

References errMMF_NoError, and m_errCode.

Referenced by CLibSymbolInfo::Dump().

+ Here is the caller graph for this function:

Member Data Documentation

DWORD MEMORY_MAPPED_FILE::m_cbFile
private

Definition at line 71 of file genwindef.cc.

Referenced by GetFileSize().

errMMF MEMORY_MAPPED_FILE::m_errCode
private

Definition at line 72 of file genwindef.cc.

Referenced by GetErrorType(), and IsValid().

HANDLE MEMORY_MAPPED_FILE::m_hFile
private

Definition at line 68 of file genwindef.cc.

HANDLE MEMORY_MAPPED_FILE::m_hFileMapping
private

Definition at line 69 of file genwindef.cc.

PVOID MEMORY_MAPPED_FILE::m_pMemoryMappedFileBase
private

Definition at line 70 of file genwindef.cc.

Referenced by GetBase().


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