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/classCWGSDataLoader__Impl.html below:

NCBI C++ ToolKit: CWGSDataLoader_Impl Class Reference

Search Toolkit Book for CWGSDataLoader_Impl

#include <sra/data_loaders/wgs/impl/wgsloader_impl.hpp>

  CWGSDataLoader_Impl (const CWGSDataLoader::SLoaderParams &params)     ~CWGSDataLoader_Impl (void)   CRef< CWGSFileInfoGetWGSFile (const string &acc)   CRef< CWGSFileInfoGetFileInfo (const CWGSBlobId &blob_id)   SAccFileInfo  GetFileInfoByGi (TGi gi)   SAccFileInfo  GetFileInfoByProtAcc (const CTextseq_id &text_id)   SAccFileInfo  GetFileInfoByAcc (const CTextseq_id &text_id)   SAccFileInfo  GetFileInfoByGeneral (const CDbtag &dbtag)   SAccFileInfo  GetFileInfo (const CSeq_id_Handle &idh)   template<class Call > std::invoke_result< Call >::type  CallWithRetry (Call &&call, const char *name, unsigned retry_count=0)   CRef< CWGSFileInfoOpenWGSFile (SWGSFileInfoSlot &slot, const string &prefix)   CRef< CWGSFileInfoOpenWGSFileOnce (SWGSFileInfoSlot &slot, const string &prefix)   CDataLoader::TTSE_LockSet  GetRecords (CDataSource *data_source, const CSeq_id_Handle &idh, CDataLoader::EChoice choice)   CDataLoader::TTSE_LockSet  GetRecordsOnce (CDataSource *data_source, const CSeq_id_Handle &idh, CDataLoader::EChoice choice)   CRef< CWGSBlobIdGetBlobId (const CSeq_id_Handle &idh)   CRef< CWGSBlobIdGetBlobIdOnce (const CSeq_id_Handle &idh)   CTSE_LoadLock  GetBlobById (CDataSource *data_source, const CWGSBlobId &blob_id)   CTSE_LoadLock  GetBlobByIdOnce (CDataSource *data_source, const CWGSBlobId &blob_id)   void  LoadBlob (const CWGSBlobId &blob_id, CTSE_LoadLock &load_lock)   void  GetChunk (const CWGSBlobId &blob_id, CTSE_Chunk_Info &chunk)   void  GetChunkOnce (const CWGSBlobId &blob_id, CTSE_Chunk_Info &chunk)   void  GetIds (const CSeq_id_Handle &idh, TIds &ids)   void  GetIdsOnce (const CSeq_id_Handle &idh, TIds &ids)   CDataLoader::SAccVerFound  GetAccVer (const CSeq_id_Handle &idh)   CDataLoader::SAccVerFound  GetAccVerOnce (const CSeq_id_Handle &idh)   CDataLoader::SGiFound  GetGi (const CSeq_id_Handle &idh)   CDataLoader::SGiFound  GetGiOnce (const CSeq_id_Handle &idh)   TTaxId  GetTaxId (const CSeq_id_Handle &idh)   TTaxId  GetTaxIdOnce (const CSeq_id_Handle &idh)   TSeqPos  GetSequenceLength (const CSeq_id_Handle &idh)   TSeqPos  GetSequenceLengthOnce (const CSeq_id_Handle &idh)   CDataLoader::SHashFound  GetSequenceHash (const CSeq_id_Handle &idh)   CDataLoader::SHashFound  GetSequenceHashOnce (const CSeq_id_Handle &idh)   CDataLoader::STypeFound  GetSequenceType (const CSeq_id_Handle &idh)   CDataLoader::STypeFound  GetSequenceTypeOnce (const CSeq_id_Handle &idh)   bool  GetAddWGSMasterDescr (void) const   void  SetAddWGSMasterDescr (bool flag)     CObject (void)   Constructor. More...
    CObject (const CObject &src)   Copy constructor. More...
  virtual  ~CObject (void)   Destructor. More...
  CObjectoperator= (const CObject &src) THROWS_NONE   Assignment operator. More...
  bool  CanBeDeleted (void) const THROWS_NONE   Check if object can be deleted. More...
  bool  IsAllocatedInPool (void) const THROWS_NONE   Check if object is allocated in memory pool (not system heap) More...
  bool  Referenced (void) const THROWS_NONE   Check if object is referenced. More...
  bool  ReferencedOnlyOnce (void) const THROWS_NONE   Check if object is referenced only once. More...
  void  AddReference (void) const   Add reference to object. More...
  void  RemoveReference (void) const   Remove reference to object. More...
  void  ReleaseReference (void) const   Remove reference without deleting object. More...
  virtual void  DoNotDeleteThisObject (void)   Mark this object as not allocated in heap – do not delete this object. More...
  virtual void  DoDeleteThisObject (void)   Mark this object as allocated in heap – object can be deleted. More...
  void *  operator new (size_t size)   Define new operator for memory allocation. More...
  void *  operator new[] (size_t size)   Define new[] operator for 'array' memory allocation. More...
  void  operator delete (void *ptr)   Define delete operator for memory deallocation. More...
  void  operator delete[] (void *ptr)   Define delete[] operator for memory deallocation. More...
  void *  operator new (size_t size, void *place)   Define new operator. More...
  void  operator delete (void *ptr, void *place)   Define delete operator. More...
  void *  operator new (size_t size, CObjectMemoryPool *place)   Define new operator using memory pool. More...
  void  operator delete (void *ptr, CObjectMemoryPool *place)   Define delete operator. More...
  virtual void  DebugDump (CDebugDumpContext ddc, unsigned int depth) const   Define method for dumping debug information. More...
    CDebugDumpable (void)   virtual  ~CDebugDumpable (void)   void  DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const   void  DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const   void  DumpToConsole (void) const  

Definition at line 142 of file wgsloader_impl.hpp.

◆ SAccFileInfo ◆ SWGSFileInfoSlot ◆ TFixedFiles ◆ TFoundFiles ◆ TIds ◆ CWGSDataLoader_Impl()

Definition at line 415 of file wgsloader_impl.cpp.

References CVDBCacheWithExpiration::GetSlot(), GetWGSVolPath(), info, map_checker< Container >::insert(), ITERATE, m_FixedFiles, m_FoundFiles, CWGSDataLoader::SLoaderParams::m_WGSFiles, m_WGSVolPath, NCBI_THROW_FMT, and OpenWGSFile().

◆ ~CWGSDataLoader_Impl() CWGSDataLoader_Impl::~CWGSDataLoader_Impl ( void  ) ◆ CallWithRetry()

template<class Call >

std::invoke_result< Call >::type CWGSDataLoader_Impl::CallWithRetry ( Call &&  call, const char *  name, unsigned  retry_count = 0  ) ◆ GetAccVer() ◆ GetAccVerOnce() ◆ GetAddWGSMasterDescr() bool CWGSDataLoader_Impl::GetAddWGSMasterDescr ( void  ) const inline ◆ GetBlobById() ◆ GetBlobByIdOnce() ◆ GetBlobId() ◆ GetBlobIdOnce() ◆ GetChunk() ◆ GetChunkOnce() ◆ GetFileInfo() [1/2]

Definition at line 927 of file wgsloader_impl.cpp.

References CSeq_id_Base::e_General, CSeq_id_Base::e_Gi, CSeq_id_Base::e_Gibbmt, CSeq_id_Base::e_Gibbsq, CSeq_id_Base::e_Giim, CSeq_id_Base::e_Local, CSeq_id_Base::e_not_set, CSeq_id_Base::e_Patent, CSeq_id_Base::e_Pdb, GetFileInfoByAcc(), GetFileInfoByGeneral(), GetFileInfoByGi(), CSeq_id_Base::GetGeneral(), CSeq_id_Handle::GetGi(), CSeq_id_Handle::GetSeqId(), CSeq_id_Handle::IsGi(), CTextseq_id_Base::IsSetAccession(), m_ResolveGIs, and CSeq_id_Handle::Which().

◆ GetFileInfo() [2/2] ◆ GetFileInfoByAcc()

Definition at line 778 of file wgsloader_impl.cpp.

References CSeq_id::eAcc_division_mask, CSeq_id::eAcc_embl_prot, CSeq_id::eAcc_gb_prot, CSeq_id::eAcc_other, CSeq_id::eAcc_targeted, CSeq_id::eAcc_tsa, CSeq_id::eAcc_wgs, CSeq_id::eAcc_wgs_intermed, CSeq_id::fAcc_prot, NStr::fConvErr_NoThrow, CWGSFileInfo::SAccFileInfo::file, CTextseq_id_Base::GetAccession(), GetFileInfoByProtAcc(), GetWGSFile(), i, CSeq_id::IdentifyAccession(), info, isalpha(), isdigit(), kMaxWGSPrefixLetters, kMaxWGSProteinAccLen, kMinWGSPrefixLetters, kWGSPrefixDigits, m_ResolveProtAccs, CWGSFileInfo::SAccFileInfo::row_id, CWGSFileInfo::SAccFileInfo::seq_type, NStr::ToUpper(), and CWGSFileInfo::SAccFileInfo::ValidateAcc().

Referenced by GetFileInfo().

◆ GetFileInfoByGeneral()

Definition at line 866 of file wgsloader_impl.cpp.

References NStr::eNocase, CWGSFileInfo::SAccFileInfo::file, CWGSDb::GetContigNameRowId(), CDbtag_Base::GetDb(), CObject_id_Base::GetId(), CWGSDb::GetProteinNameRowId(), CWGSDb::GetScaffoldNameRowId(), CObject_id_Base::GetStr(), CDbtag_Base::GetTag(), GetWGSFile(), info, isalpha(), CObject_id_Base::IsStr(), NStr::NumericToString(), row, CWGSFileInfo::SAccFileInfo::row_id, CWGSFileInfo::SAccFileInfo::seq_type, NStr::StartsWith(), tag, and NStr::ToUpper().

Referenced by GetFileInfo().

◆ GetFileInfoByGi()

Definition at line 691 of file wgsloader_impl.cpp.

References map_checker< Container >::empty(), ERR_POST_X, CWGSFileInfo::SAccFileInfo::file, file, CWGSFileInfo::FindGi(), GetDebugLevel(), CWGSResolver::GetPrefixes(), GetResolver(), GetWGSFile(), CWGSFileInfo::GetWGSPrefix(), Info(), ITERATE, LOG_POST_X, m_FixedFiles, CWGSResolver::SetNonWGS(), CWGSResolver::SetWGSPrefix(), and x_GetFileInfo().

Referenced by GetFileInfo().

◆ GetFileInfoByProtAcc()

Definition at line 734 of file wgsloader_impl.cpp.

References map_checker< Container >::empty(), ERR_POST_X, CWGSFileInfo::SAccFileInfo::file, file, CWGSFileInfo::FindProtAcc(), CTextseq_id_Base::GetAccession(), GetDebugLevel(), CWGSResolver::GetPrefixes(), GetResolver(), GetWGSFile(), CWGSFileInfo::GetWGSPrefix(), Info(), ITERATE, LOG_POST_X, m_FixedFiles, CWGSResolver::SetNonWGS(), CWGSResolver::SetWGSPrefix(), and x_GetFileInfo().

Referenced by GetFileInfoByAcc().

◆ GetGi() ◆ GetGiOnce() ◆ GetIds() ◆ GetIdsOnce() ◆ GetRecords() ◆ GetRecordsOnce()

Definition at line 1125 of file wgsloader_impl.cpp.

References CSeq_id_Handle::AsString(), CDataLoader::eExtAlign, CDataLoader::eExtAnnot, CDataLoader::eExtFeatures, CDataLoader::eExtGraph, CDataLoader::eOrphanAnnot, CBioseq_Handle::fState_no_data, CTSE_Info::GetBlobState(), set< Key, Compare >::insert(), and NCBI_THROW2.

Referenced by GetRecords().

◆ GetResolver()

Definition at line 586 of file wgsloader_impl.cpp.

References CWGSResolver::CreateResolver(), CWGSResolver_DL::CreateResolver(), m_IndexUpdateDelay, m_IndexUpdateThread, m_Mgr, m_Resolver, m_ResolverCreated, m_ResolverMutex, CThread::Run(), and sx_Update().

Referenced by GetFileInfoByGi(), and GetFileInfoByProtAcc().

◆ GetSequenceHash() ◆ GetSequenceHashOnce() ◆ GetSequenceLength() ◆ GetSequenceLengthOnce() ◆ GetSequenceType() ◆ GetSequenceTypeOnce() ◆ GetTaxId() ◆ GetTaxIdOnce() ◆ GetWGSFile()

Definition at line 620 of file wgsloader_impl.cpp.

References map_checker< Container >::empty(), map_checker< Container >::end(), ERR_POST_X, map_checker< Container >::find(), GetDebugLevel(), GetKeepReplacedParam(), CVDBCacheWithExpiration::GetSlot(), info, m_FixedFiles, m_FoundFiles, and x_GetFileInfo().

Referenced by GetFileInfo(), GetFileInfoByAcc(), GetFileInfoByGeneral(), GetFileInfoByGi(), and GetFileInfoByProtAcc().

◆ LoadBlob() ◆ OpenWGSFile() ◆ OpenWGSFileOnce() ◆ SetAddWGSMasterDescr() void CWGSDataLoader_Impl::SetAddWGSMasterDescr ( bool  flag ) inline ◆ x_GetFileInfo()

Definition at line 653 of file wgsloader_impl.cpp.

References CSraException::eNotFoundDb, CSraException::eProtectedDb, GetDebugLevel(), CSraException::GetErrCode(), CVDBCacheWithExpiration::CSlot::GetObject(), CVDBCacheWithExpiration::CSlot::GetSlotMutex(), Info(), info, CVDBCacheWithExpiration::CSlot::IsExpired(), LOG_POST_X, m_FoundFiles, OpenWGSFileOnce(), CVDBCacheWithExpiration::CSlot::ResetObject(), and CRef< C, Locker >::Swap().

Referenced by GetFileInfoByGi(), GetFileInfoByProtAcc(), and GetWGSFile().

◆ CWGSFileInfo ◆ m_AddWGSMasterDescr bool CWGSDataLoader_Impl::m_AddWGSMasterDescr private ◆ m_FileRecheckTime unsigned CWGSDataLoader_Impl::m_FileRecheckTime private

Definition at line 239 of file wgsloader_impl.hpp.

◆ m_FileReopenTime unsigned CWGSDataLoader_Impl::m_FileReopenTime private

Definition at line 238 of file wgsloader_impl.hpp.

◆ m_FixedFiles ◆ m_FoundFiles ◆ m_IndexUpdateDelay unsigned CWGSDataLoader_Impl::m_IndexUpdateDelay private ◆ m_IndexUpdateThread ◆ m_Mgr ◆ m_ResolveGIs bool CWGSDataLoader_Impl::m_ResolveGIs private ◆ m_ResolveProtAccs bool CWGSDataLoader_Impl::m_ResolveProtAccs private ◆ m_Resolver ◆ m_ResolverCreated atomic<bool> CWGSDataLoader_Impl::m_ResolverCreated private ◆ m_ResolverMutex ◆ m_RetryCount unsigned CWGSDataLoader_Impl::m_RetryCount private ◆ m_WGSVolPath string CWGSDataLoader_Impl::m_WGSVolPath private

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


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