Geant4  10.02
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 80 of file genwindef.cc.

Constructor & Destructor Documentation

MEMORY_MAPPED_FILE::MEMORY_MAPPED_FILE ( PSTR  pszFileName)

Definition at line 289 of file genwindef.cc.

References errMMF_FileMapping, errMMF_FileOpen, errMMF_MapView, and errMMF_NoError.

MEMORY_MAPPED_FILE::~MEMORY_MAPPED_FILE ( void  )

Definition at line 335 of file genwindef.cc.

References errMMF_FileOpen.

Member Function Documentation

PVOID MEMORY_MAPPED_FILE::GetBase ( void  )
inline

Definition at line 86 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 89 of file genwindef.cc.

References m_errCode.

DWORD MEMORY_MAPPED_FILE::GetFileSize ( void  )
inline

Definition at line 87 of file genwindef.cc.

References m_cbFile.

BOOL MEMORY_MAPPED_FILE::IsValid ( void  )
inline

Definition at line 88 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 96 of file genwindef.cc.

Referenced by GetFileSize().

errMMF MEMORY_MAPPED_FILE::m_errCode
private

Definition at line 97 of file genwindef.cc.

Referenced by GetErrorType(), and IsValid().

HANDLE MEMORY_MAPPED_FILE::m_hFile
private

Definition at line 93 of file genwindef.cc.

HANDLE MEMORY_MAPPED_FILE::m_hFileMapping
private

Definition at line 94 of file genwindef.cc.

PVOID MEMORY_MAPPED_FILE::m_pMemoryMappedFileBase
private

Definition at line 95 of file genwindef.cc.

Referenced by GetBase().


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