Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCMemoryFile.html below:
NCBI C++ ToolKit: CMemoryFile Class Reference
Additional Inherited Members Public Types inherited from CMemoryFile_Base enum EMemMapProtect { eMMP_Read , eMMP_Write , eMMP_ReadWrite } Which operations are permitted in memory map file. More...
enum EMemMapShare { eMMS_Shared , eMMS_Private } Whether to share changes or not. More...
enum EOpenMode { eCreate , eOpen , eExtend , eDefault = eOpen } Memory file open mode. More...
enum EMemMapAdvise {
eMMA_Normal = eMADV_Normal , eMMA_Random = eMADV_Random , eMMA_Sequential = eMADV_Sequential , eMMA_WillNeed = eMADV_WillNeed ,
eMMA_DontNeed = eMADV_DontNeed , eMMA_DoFork = eMADV_DoFork , eMMA_DontFork = eMADV_DontFork , eMMA_Mergeable = eMADV_Mergeable ,
eMMA_Unmergeable = eMADV_Unmergeable
} What type of data access pattern will be used for mapped region. More...
typedef Int8 TOffsetType Static Public Member Functions inherited from CMemoryFile_Base static bool IsSupported (void) Check if memory-mapping is supported by the C++ Toolkit on this platform. More...
static bool MemMapAdviseAddr (void *addr, size_t len, EMemMapAdvise advise) Advise on memory map usage for specified region. More...
Protected Types inherited from CMemoryFileMap typedef map< void *, CMemoryFileSegment * > TSegments Protected Member Functions inherited from CMemoryFileMap void x_Open (void) Open file mapping for file with name m_FileName. More...
void x_Close (void) Unmap mapped memory and close mapped file. More...
void x_Create (Uint8 size) Create new file or rewrite existent with zeros. More...
void x_Extend (Uint8 size, Uint8 new_size) Extend file size from 'size' to 'new_size' with zero bytes. More...
CMemoryFileSegment * x_GetMemoryFileSegment (void *ptr) const Get pointer to memory mapped file segment by pointer to data. More...
Protected Attributes inherited from CMemoryFileMap string m_FileName File name. More...
SMemoryFileHandle * m_Handle Memory file handle. More...
SMemoryFileAttrs * m_Attrs Specify operations permitted on memory mapped file and mapping mode. More...
TSegments m_Segments Map of pointers to mapped segments. More...
CMemoryFile –.
Define class to support file memory mapping.
This is a simple version of the CMemoryFileMap class supporting one mapped segment only.
Note that the file being mapped must exist or can be created/extended. If file size changes after mapping, the effect of references to portions of the mapped region that correspond to added or removed portions of the file is unspecified.
Throws exceptions on errors.
Definition at line 2869 of file ncbifile.hpp.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4