A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSeqDBFileMemMap.html below:

NCBI C++ ToolKit: CSeqDBFileMemMap Class Reference

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.

Parameters
filename file to memory map

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.

Parameters
offset The required offset relative to the start of the file.
Returns
A pointer to the data at the requested location.

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 stringfilename ) inline

Initializes a memory map object.

Parameters
filename file to memory map

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 private

Points to the beginning of the data area.

Definition at line 765 of file seqdbatlas.hpp.

◆ m_Filename ◆ m_MappedFile ◆ m_Mtx

The 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