Search Toolkit Book for CSeqDBFileMemMap
#include <objtools/blast/seqdb_reader/impl/seqdbatlas.hpp>
Definition at line 664 of file seqdbatlas.hpp.
◆ TIndx ◆ CSeqDBFileMemMap() [1/2]Constructor.
Initializes a memory map object.
Definition at line 674 of file seqdbatlas.hpp.
References Init().
◆ CSeqDBFileMemMap() [2/2] ◆ ~CSeqDBFileMemMap() CSeqDBFileMemMap::~CSeqDBFileMemMap ( ) inline ◆ Clear() void CSeqDBFileMemMap::Clear ( void ) inline ◆ GetFileDataPtr() [1/2]Get a pointer to the specified offset.
Given an offset (which is assumed to be available here), this method returns a pointer to the data at that offset.
Definition at line 748 of file seqdbatlas.hpp.
References Init(), and offset.
Referenced by CSeqDBNodeFileIdList::CSeqDBNodeFileIdList(), CSeqDBRawFile::GetFileDataPtr(), CSeqDBSeqFile::GetFileDataPtr(), CSeqDBHdrFile::GetFileDataPtr(), CSeqDBGiIndex::GetSeqGI(), CSeqDBRawFile::ReadBytes(), CSeqDBRawFile::ReadSwapped(), CSeqDBIsam::x_DiffCharLease(), CSeqDBIsam::x_DiffSample(), CSeqDBIdxFile::x_GetAmb(), CSeqDBIdxFile::x_GetHdr(), CSeqDBIsam::x_GetIndexKeyOffset(), CSeqDBIsam::x_GetIndexString(), CSeqDBIsam::x_GetNumericSample(), CSeqDBOIDList::x_GetOidMask(), CSeqDBIdxFile::x_GetSeq(), CSeqDBIsam::x_InitSearch(), CSeqDBIsam::x_LoadData(), CSeqDBIsam::x_LoadIndex(), CSeqDBIsam::x_LoadPage(), CSeqDBIsam::x_MapDataPage(), CSeqDBAliasNode::x_ReadAliasFile(), CSeqDBAliasSets::x_ReadAliasSetFile(), CSeqDBIsam::x_SearchDataNumeric(), CSeqDBIsam::x_SearchIndexNumeric(), CSeqDBIsam::x_StringSearch(), and CSeqDBIsam::x_TestNumericSample().
◆ GetFileDataPtr() [2/2] const char* CSeqDBFileMemMap::GetFileDataPtr ( TIndx offset ) inline ◆ Init() void CSeqDBFileMemMap::Init ( const string & filename ) inlineInitializes a memory map object.
Definition at line 700 of file seqdbatlas.hpp.
References CFileException::eMemoryMap, NStr::Find(), CCoreException::GetErrCode(), CSeqDBAtlas::GetMemoryFile(), CException::GetMsg(), CSeqDBLockHold::m_Atlas, NCBI_THROW, NPOS, NULL, and CSeqDBAtlas::ReturnMemoryFile().
Referenced by CSeqDBExtFile::CSeqDBExtFile(), CSeqDBGiIndex::CSeqDBGiIndex(), CSeqDBIsam::CSeqDBIsam(), CSeqDBOIDList::x_GetOidMask(), and CSeqDBGiMask::x_Open().
◆ IsMapped() bool CSeqDBFileMemMap::IsMapped ( void ) inline ◆ m_Atlas ◆ m_DataPtr const char* CSeqDBFileMemMap::m_DataPtr privatePoints to the beginning of the data area.
Definition at line 765 of file seqdbatlas.hpp.
◆ m_Filename ◆ m_MappedFile ◆ m_MtxThe documentation for this class was generated from the following file:
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