NCBI C++ ToolKit
|
Search Toolkit Book for CTSE_Info
#include <objmgr/impl/tse_info.hpp>
Classes | |
class | CLoadMutex |
struct | SBaseTSE |
struct | SFeatIdIndex |
struct | SFeatIdInfo |
struct | SIdAnnotInfo |
Private Types | |
enum | ELoadState { eNotLoaded , eLoaded , eDropped } |
enum | ECacheState { eNotInCache , eInCache } |
enum | EAnnotIdsFlags { fAnnotIds_NonGi = 1 << 0 , fAnnotIds_Matching = 1 << 1 } |
typedef CSeq_entry_Info | TParent |
typedef list< CRef< CTSE_Info > > | TTSE_Cache |
typedef int | TAnnotIdsFlags |
typedef map< CBioObjectId, CTSE_Info_Object * > | TBioObjects |
Friends | |
class | CTSE_Guard |
class | CDataSource |
class | CScope_Impl |
class | CTSE_ScopeInfo |
class | CDataLoader |
class | CAnnot_Collector |
class | CSeq_entry_Info |
class | CSeq_annot_Info |
class | CBioseq_Info |
class | CBioseq_set_Info |
class | CTSE_Info_Object |
class | CTSE_Chunk_Info |
class | CTSE_Split_Info |
class | CSeq_annot_SNP_Info |
class | ITSE_Assigner |
class | CTSE_Default_Assigner |
class | CSeq_annot_Finder |
class | CTSEAnnotObjectMapper |
class | CTSE_Lock |
class | CTSE_LoadLock |
class | CTSE_LoadLockGuard |
Definition at line 182 of file tse_info.hpp.
Definition at line 214 of file tse_info.hpp.
|
private |
Definition at line 755 of file tse_info.hpp.
typedef CMutex CTSE_Info::TAnnotLock |
Definition at line 409 of file tse_info.hpp.
Definition at line 410 of file tse_info.hpp.
Definition at line 411 of file tse_info.hpp.
typedef vector<CAnnotObject_Info*> CTSE_Info::TAnnotObjects |
Definition at line 426 of file tse_info.hpp.
typedef map<CSeq_id_Handle, SIdAnnotObjs> CTSE_Info::TAnnotObjs |
Definition at line 305 of file tse_info.hpp.
Definition at line 302 of file tse_info.hpp.
|
private |
Definition at line 775 of file tse_info.hpp.
typedef map<TIntId, CBioseq_set_Info*> CTSE_Info::TBioseq_sets |
Definition at line 296 of file tse_info.hpp.
typedef CBioseq_Info* CTSE_Info::TBioseqInfo |
Definition at line 297 of file tse_info.hpp.
typedef map<CSeq_id_Handle, TBioseqInfo> CTSE_Info::TBioseqs |
Definition at line 298 of file tse_info.hpp.
typedef TSeqIds CTSE_Info::TBioseqsIds |
Definition at line 352 of file tse_info.hpp.
typedef CBlobIdKey CTSE_Info::TBlobId |
Definition at line 210 of file tse_info.hpp.
typedef pair<TBlobState, TBlobVersion> CTSE_Info::TBlobOrder |
Definition at line 213 of file tse_info.hpp.
Definition at line 211 of file tse_info.hpp.
typedef int CTSE_Info::TBlobVersion |
Definition at line 212 of file tse_info.hpp.
typedef CObject_id CTSE_Info::TFeatId |
Definition at line 337 of file tse_info.hpp.
Definition at line 347 of file tse_info.hpp.
typedef int CTSE_Info::TFeatIdInt |
Definition at line 335 of file tse_info.hpp.
typedef string CTSE_Info::TFeatIdStr |
Definition at line 336 of file tse_info.hpp.
Definition at line 313 of file tse_info.hpp.
typedef multimap<TLocusKey, CAnnotObject_Info*> CTSE_Info::TLocusIndex |
Definition at line 349 of file tse_info.hpp.
typedef pair<string, bool> CTSE_Info::TLocusKey |
Definition at line 348 of file tse_info.hpp.
typedef map<CAnnotName, TAnnotObjs> CTSE_Info::TNamedAnnotObjs |
Definition at line 306 of file tse_info.hpp.
typedef set<CAnnotName> CTSE_Info::TNames |
Definition at line 307 of file tse_info.hpp.
|
private |
Definition at line 184 of file tse_info.hpp.
Definition at line 300 of file tse_info.hpp.
Definition at line 301 of file tse_info.hpp.
typedef pair<CConstRef<CSeq_annot_Info>, CTSE_Lock> CTSE_Info::TSeq_annot_Lock |
Definition at line 483 of file tse_info.hpp.
typedef pair<TSeq_annot_Lock, int> CTSE_Info::TSeq_feat_Lock |
Definition at line 484 of file tse_info.hpp.
typedef vector<CSeq_id_Handle> CTSE_Info::TSeqIds |
Definition at line 351 of file tse_info.hpp.
Definition at line 303 of file tse_info.hpp.
|
private |
Definition at line 715 of file tse_info.hpp.
|
private |
Enumerator | |
---|---|
fAnnotIds_NonGi | |
fAnnotIds_Matching |
Definition at line 751 of file tse_info.hpp.
|
private |
Enumerator | |
---|---|
eNotInCache | |
eInCache |
Definition at line 708 of file tse_info.hpp.
|
private |
Enumerator | |
---|---|
eNotLoaded | |
eLoaded | |
eDropped |
Definition at line 703 of file tse_info.hpp.
|
explicit |
Definition at line 126 of file tse_info.cpp.
References x_Initialize(), and CTSE_Info_Object::x_TSEAttach().
|
explicit |
Definition at line 136 of file tse_info.cpp.
References m_BlobId, m_BlobVersion, x_Initialize(), and CTSE_Info_Object::x_TSEAttach().
|
explicit |
Definition at line 170 of file tse_info.cpp.
References eLoaded, m_BlobState, m_LoadState, SetSeq_entry(), x_Initialize(), and CTSE_Info_Object::x_TSEAttach().
|
explicit |
Definition at line 150 of file tse_info.cpp.
References eLoaded, m_BlobId, m_BlobState, m_BlobVersion, m_LoadState, SetSeq_entry(), x_Initialize(), and CTSE_Info_Object::x_TSEAttach().
Definition at line 186 of file tse_info.cpp.
References eLoaded, CTSE_Info_Object::fNeedUpdate_children_bioseq, CTSE_Info_Object::fNeedUpdate_children_seq_data, CTSE_Split_Info::GetAssigner(), CDataSource::GetDataLoader(), GetDataSource(), CDataLoader::GetEditSaver(), HasDataSource(), m_BaseTSE, m_BioseqUpdater, m_BlobId, m_BlobState, m_EditSaver, m_LoadState, m_Name, m_Split, m_TopLevelObjectType, m_UsedMemory, CRef< C, Locker >::Reset(), x_Initialize(), CSeq_entry_Info::x_SetObject(), CTSE_Info_Object::x_TSEAttach(), CTSE_Split_Info::x_TSEAttach(), and CSeq_entry_Info::x_Update().
|
virtual |
Definition at line 223 of file tse_info.cpp.
References _ASSERT, CAtomicCounter::Get(), m_DataSource, m_LockCounter, m_Split, and CTSE_Split_Info::x_TSEDetach().
void CTSE_Info::AddUsedMemory | ( | size_t | size | ) |
Definition at line 345 of file tse_info.cpp.
References m_UsedMemory, and ncbi::grid::netcache::search::fields::size.
Referenced by CTSE_Split_Info::x_AddUsedMemory().
Definition at line 232 of file tse_info.cpp.
References CTSE_Split_Info::GetAssigner(), m_BlobState, CSeq_entry_Info::m_Contents, m_Name, m_Split, m_TopLevelObjectType, m_UsedMemory, NULL, CRef< C, Locker >::Reset(), CSeq_entry_Info::x_SetObject(), and CTSE_Split_Info::x_TSEAttach().
Referenced by CDataLoaderPatcher::x_PatchLock().
CTSE_Info & CTSE_Info::Assign | ( | const CTSE_Lock & | tse, |
CRef< CSeq_entry > | entry | ||
) |
Definition at line 255 of file tse_info.cpp.
References CTSE_Split_Info::GetAssigner(), m_BlobState, m_Name, m_Split, m_TopLevelObjectType, m_UsedMemory, CRef< C, Locker >::Reset(), SetSeq_entry(), and CTSE_Split_Info::x_TSEAttach().
bool CTSE_Info::ContainsBioseq | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 724 of file tse_info.cpp.
References CTSE_Split_Info::ContainsBioseq(), map_checker< Container >::end(), map_checker< Container >::find(), m_Bioseqs, m_BioseqsMutex, and m_Split.
Referenced by CTSE_ScopeInfo::ContainsBioseq(), and ContainsMatchingBioseq().
CSeq_id_Handle CTSE_Info::ContainsMatchingBioseq | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 740 of file tse_info.cpp.
References ContainsBioseq(), eAllowWeakMatch, and ITERATE.
Referenced by CTSE_ScopeInfo::ContainsMatchingBioseq(), CDataSource::x_AddTSEOrphanAnnots(), x_IndexAnnotTSE(), and CAnnot_Collector::x_SearchTSE2().
CConstRef< CBioseq_Info > CTSE_Info::FindBioseq | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 760 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), m_Bioseqs, m_BioseqsMutex, and x_GetRecords().
Referenced by CDataSource_ScopeInfo::BestResolve(), CTSE_ScopeInfo::GetBioseqLock(), GetSeqMatch(), CSeqMap::x_GetBioseqInfo(), and CDataSource::x_GetSeqMatch().
CConstRef< CBioseq_Info > CTSE_Info::FindMatchingBioseq | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 776 of file tse_info.cpp.
References GetSeqMatch(), and SSeqMatch_TSE::m_Bioseq.
Referenced by CMasterSeqSegments::CMasterSeqSegments(), CReader::LoadSeq_idTaxId(), CReader::LoadSequenceLength(), CReader::LoadSequenceType(), CBioseq_Info::x_CalcBioseqLength(), and CSeqMap::x_ResolveSegmentLength().
|
virtual |
Reimplemented from CSeq_entry_Info.
Definition at line 709 of file tse_info.cpp.
References GetAnnotLock(), ITERATE, m_NamedAnnotObjs, and UpdateAnnotIndex().
|
inline |
Definition at line 914 of file tse_info.hpp.
References m_AnnotLock.
Referenced by GetAnnotIds(), HasAnnot(), CTSE_Default_Assigner::UpdateAnnotIndex(), UpdateAnnotIndex(), CDataSource::x_AddTSEBioseqAnnots(), CDataSource::x_AddTSEOrphanAnnots(), CSeq_annot_Finder::x_Find(), CSeq_annot_Info::x_MapAnnotObject(), CAnnot_Collector::x_SearchRange(), CAnnot_Collector::x_SearchTSE2(), CSeq_annot_Info::x_UnmapAnnotObject(), and CTSE_Chunk_Info::x_UpdateAnnotIndex().
|
virtual |
Reimplemented from CSeq_entry_Info.
Definition at line 691 of file tse_info.cpp.
References CTSE_Split_Info::GetBioseqsIds(), ITERATE, m_Bioseqs, m_BioseqsMutex, and m_Split.
Referenced by CWGSMasterSupport::AddWGSMaster(), and CTSE_ScopeInfo::SUnloadedInfo::SUnloadedInfo().
|
inline |
Definition at line 907 of file tse_info.hpp.
References m_BlobId.
Referenced by CDataSource_ScopeInfo::AttachTSE(), CTSE_ScopeInfo::CTSE_ScopeInfo(), CPSGDataLoader::DropTSE(), CTSE_ScopeInfo::GetBlobId(), CSeq_entry_Handle::GetBlobId(), CTSE_Handle::GetBlobId(), GetDescription(), CGBDataLoader::GetRealBlobId(), GetSplitInfo(), CDataSource_ScopeInfo::GetTSE_Lock(), CPSGL_Blob_Processor::HasChunksToAssign(), CTSE_ScopeInfo::ReplaceTSE(), CLDS2_DataLoader::ResolveConflict(), CLoadLockSetter::SetLoaded(), SPsgBlobInfo::SPsgBlobInfo(), CPSGL_Blob_Processor::TSE_ToOM(), UpdateOMBlobId(), CDataLoaderPatcher::x_ApplyPatches(), x_CreateEmptyLocalCDDEntry(), CDataLoaderPatcher::x_IsPatchNeeded(), and CPSGDataLoader_Impl::x_ReadCDDChunk().
|
inline |
Definition at line 884 of file tse_info.hpp.
References GetBlobStateOrder(), and GetBlobVersion().
Referenced by CTSE_ScopeInfo::GetBlobOrder(), and CTSE_LockSet::IsBetter().
|
inline |
Definition at line 834 of file tse_info.hpp.
References m_BlobState.
Referenced by CLoadLockSetter::GetBlobState(), CWGSDataLoader_Impl::GetRecordsOnce(), CBioseq_Handle::GetState(), CBioseq_ScopeInfo::x_AttachTSE(), and CGBDataLoader_Native::x_GetRecords().
|
inline |
Definition at line 869 of file tse_info.hpp.
References CBioseq_Handle::fState_dead, CBioseq_Handle::fState_no_data, and m_BlobState.
Referenced by GetBlobOrder().
|
inline |
Definition at line 877 of file tse_info.hpp.
References m_BlobVersion.
Referenced by GetBlobOrder(), CSeq_entry_Handle::GetBlobVersion(), CLoadLockBlob::GetKnownBlobVersion(), and GetSplitInfo().
CConstRef< CSeq_entry > CTSE_Info::GetCompleteTSE | ( | void | ) | const |
Definition at line 551 of file tse_info.cpp.
References CSeq_entry_Info::GetCompleteSeq_entry().
Referenced by CSplitCacheApp::ProcessBlob().
|
inline |
Definition at line 805 of file tse_info.hpp.
References _ASSERT, and m_DataSource.
Referenced by CDataSource_ScopeInfo::AttachTSE(), CGraphUtils::CalcGraphLevels(), CTSE_Info(), CTSE_Handle::GetDataLoader(), CTSE_Info_Object::GetDataSource(), CGBDataLoader::GetRealBlobId(), CTSE_Default_Assigner::LoadAnnot(), CTSE_Default_Assigner::LoadBioseq(), CTSE_Default_Assigner::LoadChunkBioseqs(), CTSE_ScopeInfo::SetEditTSE(), SetSeq_entry(), CTSE_Default_Assigner::UpdateAnnotIndex(), UpdateAnnotIndex(), x_IndexAnnotTSE(), x_IndexSeqTSE(), CDataSource::x_ReleaseLastTSELock(), x_ResetDirtyAnnotIndexNoParent(), x_SetBioseqIds(), x_SetDirtyAnnotIndexNoParent(), x_UnindexAnnotTSE(), x_UnindexSeqTSE(), and CTSE_Chunk_Info::x_UpdateAnnotIndex().
|
virtual |
Reimplemented from CTSE_Info_Object.
Definition at line 2049 of file tse_info.cpp.
References GetBlobId(), CAnnotName::GetName(), GetName(), m_BlobId, NStr::PtrToString(), and CBlobIdKey::ToString().
Referenced by CSeq_annot_Info::GetDescription(), and CTSE_ScopeInfo::ReplaceTSE().
|
inline |
CConstRef< CMasterSeqSegments > CTSE_Info::GetMasterSeqSegments | ( | void | ) | const |
Definition at line 803 of file tse_info.cpp.
References ERR_POST, GetSegSetMaster(), m_AnnotLock, m_MasterSeqSegments, and m_MasterSeqSegmentsLoaded.
Referenced by CScope_Impl::GetBioseqHandle(), CSeq_annot_Info::x_InitAlignKeys(), CSeq_annot_Info::x_InitFeatKeys(), CSeq_annot_Info::x_InitFeatTableKeys(), CSeq_annot_Info::x_InitGraphKeys(), CSeq_annot_Info::x_InitLocsKeys(), CSeq_annot_Info::x_MapAnnotObject(), and CBioseq_Base_Info::x_UpdateAnnotIndexContents().
|
inline |
Definition at line 893 of file tse_info.hpp.
References m_Name.
Referenced by GetDescription(), CLoadLockSetter::SetLoaded(), CTSE_Chunk_Info::x_UpdateAnnotIndexContents(), and CSeq_annot_Info::x_UpdateName().
|
inline |
Definition at line 921 of file tse_info.hpp.
References m_RequestedId.
CConstRef< CBioseq_Info > CTSE_Info::GetSegSetMaster | ( | void | ) | const |
Definition at line 783 of file tse_info.cpp.
References ConstRef(), CBioseq_set_Base::eClass_segset, first(), CBioseq_set_Info::GetClass(), and CBioseq_set_Info::GetFirstEntry().
Referenced by CScope_Impl::GetBioseqHandle(), and GetMasterSeqSegments().
SSeqMatch_TSE CTSE_Info::GetSeqMatch | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 824 of file tse_info.cpp.
References eAllowWeakMatch, FindBioseq(), ITERATE, SSeqMatch_TSE::m_Bioseq, and SSeqMatch_TSE::m_Seq_id.
Referenced by FindMatchingBioseq().
CTSE_Split_Info & CTSE_Info::GetSplitInfo | ( | void | ) |
Definition at line 1395 of file tse_info.cpp.
References _ASSERT, CTSE_Split_Info, eNotLoaded, GetBlobId(), GetBlobVersion(), m_LoadState, m_Split, and CTSE_Split_Info::x_TSEAttach().
Referenced by CWGSMasterSupport::AddWGSMaster(), CPSGL_Blob_Processor::AssignChunks(), CPSGL_Blob_Processor::Chunk_ToOM(), CLoadLockSetter::GetSplitInfo(), CLoadLockBlob::GetSplitInfo(), CSNPSeqInfo::LoadAnnotBlob(), CCSRARefSeqInfo::LoadAnnotMainSplit(), CWGSFileInfo::LoadBlob(), CBamRefSeqInfo::LoadMainEntry(), CBamRefSeqInfo::LoadMainSplit(), CCSRARefSeqInfo::LoadRefSeqMainEntry(), CVDBGraphDataLoader_Impl::LoadSplitEntry(), CProcessor_ID2::ProcessData(), CPSGL_NA_Processor::ProcessItemSlow(), CPSGL_CDDAnnot_Processor::ProcessReplySlow(), SetSeq_entry(), CPSGL_Blob_Processor::TSE_ToOM(), CPSGDataLoader_Impl::x_CheckAnnotCache(), x_CreateLocalCDDEntry(), CDataSource::x_IndexSeqTSELocked(), CBlastDbDataLoader::x_LoadData(), and CLDS2_DataLoader::x_LoadTSE().
const CTSE_Split_Info & CTSE_Info::GetSplitInfo | ( | void | ) | const |
Definition at line 1388 of file tse_info.cpp.
References _ASSERT, HasSplitInfo(), and m_Split.
const CSerialObject * CTSE_Info::GetTopLevelObjectPtr | ( | void | ) | const |
Definition at line 2072 of file tse_info.cpp.
References CRef< C, Locker >::GetPointerOrNull(), and m_TopLevelObjectPtr.
CTSE_Info::ETopLevelObjectType CTSE_Info::GetTopLevelObjectType | ( | void | ) | const |
Definition at line 2066 of file tse_info.cpp.
References m_TopLevelObjectType.
Referenced by CTSE_Handle::GetTopLevelObjectType(), and IsTopLevelSeq_submit().
const CSeq_submit & CTSE_Info::GetTopLevelSeq_submit | ( | ) | const |
Definition at line 2108 of file tse_info.cpp.
References CSeq_submit_Base::C_Data::e_Annots, CSeq_submit_Base::C_Data::e_Entrys, set< Key, Compare >::empty(), CSeq_submit_Base::GetData(), CSeq_entry_Info::GetSet(), CSeq_entry_Info::IsSet(), CSeq_submit_Base::SetData(), CSeq_submit_Base::C_Data::Which(), and x_GetTopLevelSeq_submit().
Referenced by CTSE_Handle::GetTopLevelSeq_submit().
const CSubmit_block & CTSE_Info::GetTopLevelSubmit_block | ( | ) | const |
Definition at line 2137 of file tse_info.cpp.
References CSeq_submit_Base::GetSub(), and x_GetTopLevelSeq_submit().
Referenced by CTSE_Handle::GetTopLevelSubmit_block().
|
inline |
Definition at line 827 of file tse_info.hpp.
Definition at line 820 of file tse_info.hpp.
Referenced by UpdateAnnotIndex().
CConstRef< CSeq_entry > CTSE_Info::GetTSECore | ( | void | ) | const |
Definition at line 557 of file tse_info.cpp.
References CSeq_entry_Info::GetSeq_entryCore().
Referenced by CScope_Impl::AddSharedSeq_entry(), and x_IsEmptyCDD().
|
inline |
Definition at line 900 of file tse_info.hpp.
References m_UsedMemory.
Referenced by CTSE_Handle::GetUsedMemory().
bool CTSE_Info::HasAnnot | ( | const CAnnotName & | name | ) | const |
Definition at line 532 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), GetAnnotLock(), and m_NamedAnnotObjs.
Referenced by HasNamedAnnot(), and HasUnnamedAnnot().
|
inline |
Definition at line 798 of file tse_info.hpp.
References m_DataSource.
Referenced by CTSE_Info(), CTSE_Info_Object::HasDataSource(), CTSE_Default_Assigner::LoadAnnot(), CTSE_Default_Assigner::LoadBioseq(), CTSE_Default_Assigner::LoadChunkBioseqs(), CDataSource::SetLoaded(), SetSeq_entry(), CTSE_Default_Assigner::UpdateAnnotIndex(), UpdateAnnotIndex(), x_IndexAnnotTSE(), x_IndexSeqTSE(), CDataSource::x_ReleaseLastTSELock(), x_ResetDirtyAnnotIndexNoParent(), x_SetBioseqIds(), x_SetDirtyAnnotIndexNoParent(), x_UnindexAnnotTSE(), x_UnindexSeqTSE(), and CTSE_Chunk_Info::x_UpdateAnnotIndex().
|
inline |
Definition at line 935 of file tse_info.hpp.
References fAnnotIds_Matching, and m_AnnotIdsFlags.
Referenced by CDataSource::x_AddTSEAnnots(), CAnnot_Collector::x_SearchLoc(), and CAnnot_Collector::x_SearchMaster().
Definition at line 539 of file tse_info.cpp.
References HasAnnot().
bool CTSE_Info::HasSplitInfo | ( | void | ) | const |
Definition at line 1382 of file tse_info.cpp.
References m_Split.
Referenced by CPSGL_Blob_Processor::AssignChunks(), CPSGL_Blob_Processor::Chunk_ToOM(), GetSplitInfo(), CPSGL_Blob_Processor::HasChunksToAssign(), SetSeq_entry(), and CDataSource::x_IndexSeqTSELocked().
bool CTSE_Info::HasUnnamedAnnot | ( | void | ) | const |
Definition at line 545 of file tse_info.cpp.
References HasAnnot().
|
inline |
Definition at line 855 of file tse_info.hpp.
References CBioseq_Handle::fState_dead, and m_BlobState.
Referenced by CDataSource::IsLive(), and CGBDataLoader_Native::ResolveConflict().
|
inline |
Definition at line 813 of file tse_info.hpp.
References CAtomicCounter::Get(), and m_LockCounter.
Referenced by CDataSource::x_ReleaseLastTSELock(), and CDataSource::x_SetLoadLock().
bool CTSE_Info::IsTopLevelSeq_submit | ( | ) | const |
Definition at line 2085 of file tse_info.cpp.
References CTSE_Handle::eTopLevel_Seq_submit, and GetTopLevelObjectType().
Referenced by CTSE_Handle::IsTopLevelSeq_submit(), and x_GetTopLevelSeq_submit().
|
inline |
Definition at line 862 of file tse_info.hpp.
References CBioseq_Handle::fState_no_data, and m_BlobState.
|
inline |
Definition at line 942 of file tse_info.hpp.
References fAnnotIds_NonGi, and m_AnnotIdsFlags.
Referenced by CDataSource::x_AddTSEAnnots(), CAnnot_Collector::x_SearchLoc(), and CAnnot_Collector::x_SearchMaster().
|
inline |
Definition at line 841 of file tse_info.hpp.
References m_BlobState.
void CTSE_Info::SetBioseqUpdater | ( | CRef< CBioseqUpdater > | updater | ) |
Definition at line 2036 of file tse_info.cpp.
References set< Key, Compare >::insert(), m_Bioseqs, m_BioseqsMutex, m_BioseqUpdater, NON_CONST_ITERATE, and CBioseqUpdater::Update().
Referenced by CWGSMasterSupport::AddWGSMaster(), and CTSE_Split_Info::x_SetBioseqUpdater().
|
inline |
Definition at line 848 of file tse_info.hpp.
References m_BlobState.
Referenced by CWGSFileInfo::LoadBlob(), CReaderRequestResult::SetLoadedBlobState(), CPSGL_Blob_Processor::TSE_ToOM(), UpdateOMBlobId(), and CLoadLockSetter::x_ObtainTSE_LoadLock().
void CTSE_Info::SetBlobVersion | ( | TBlobVersion | version | ) |
Definition at line 324 of file tse_info.cpp.
References _ASSERT, eNotLoaded, m_BlobVersion, m_LoadState, CSeq_entry_Info::m_Object, and dtl::version.
Referenced by CReaderRequestResult::SetLoadedBlobVersion(), CPSGL_Blob_Processor::TSE_ToOM(), and CLoadLockSetter::x_ObtainTSE_LoadLock().
void CTSE_Info::SetName | ( | const CAnnotName & | name | ) |
Definition at line 333 of file tse_info.cpp.
References m_Name.
Referenced by CCDDDataLoader_Impl::GetBlobBySeq_ids(), CProcessor_AnnotInfo::LoadBlob(), CReader::LoadBlobs(), CProcessor_ExtAnnot::Process(), CLoadLockSetter::SetLoaded(), UpdateOMBlobId(), and CPSGDataLoader_Impl::x_CheckAnnotCache().
|
inline |
Definition at line 928 of file tse_info.hpp.
References m_RequestedId.
void CTSE_Info::SetSeq_entry | ( | CSeq_entry & | entry, |
CTSE_SetObjectInfo * | set_info = 0 |
||
) |
Definition at line 351 of file tse_info.cpp.
References map_checker< Container >::clear(), CSeq_entry_Base::e_not_set, map_checker< Container >::empty(), eNotLoaded, GetDataSource(), GetSplitInfo(), HasDataSource(), HasSplitInfo(), CTSE_Chunk_Info::kDelayedMain_ChunkId, m_AnnotIdsFlags, CSeq_entry_Info::m_Contents, m_LoadState, CSeq_entry_Info::m_Object, m_Removed_Bioseq_sets, m_Removed_Bioseqs, m_RequestedId, CTSE_SetObjectInfo::m_Seq_annot_InfoMap, m_SetObjectInfo, m_Split, CSeq_entry_Info::m_Which, NCBI_THROW, CSeq_entry::Parentize(), CRef< C, Locker >::Reset(), CSeq_id_Handle::Reset(), CSeq_entry_Info::Reset(), UpdateAnnotIndex(), CSeq_entry_Info::x_DetachContents(), and CSeq_entry_Info::x_SetObject().
Referenced by Assign(), CTSE_Info(), CAsnCache_DataLoader::GetBlobById(), CSRADataLoader::GetBlobById(), CHugeAsnDataLoader::GetBlobById(), CVDBGraphDataLoader_Impl::GetBlobByIdOnce(), CCDDDataLoader_Impl::GetBlobBySeq_ids(), CSNPSeqInfo::LoadAnnotBlob(), CCSRARefSeqInfo::LoadAnnotMainSplit(), CWGSFileInfo::LoadBlob(), CBamRefSeqInfo::LoadMainEntry(), CBamRefSeqInfo::LoadMainSplit(), CCSRAFileInfo::LoadReadsBlob(), CCSRARefSeqInfo::LoadRefSeqMainEntry(), CTSE_Default_Assigner::LoadSeq_entry(), CVDBGraphDataLoader_Impl::LoadSplitEntry(), CPSGL_CDDAnnot_Processor::ProcessReplySlow(), CLoadLockSetter::SetSeq_entry(), CPSGL_Blob_Processor::TSE_ToOM(), x_CreateEmptyLocalCDDEntry(), CBuffer_DataLoader::x_LoadData(), CBlastDbDataLoader::x_LoadData(), CLDS2_DataLoader::x_LoadTSE(), and CPSGDataLoader_Impl::x_ReadCDDChunk().
void CTSE_Info::SetTopLevelObject | ( | ETopLevelObjectType | type, |
CSerialObject * | ptr | ||
) |
Definition at line 2078 of file tse_info.cpp.
References m_TopLevelObjectPtr, m_TopLevelObjectType, and type.
Referenced by CScope_Impl::AddSeq_submit(), and SetTopLevelObjectType().
void CTSE_Info::SetTopLevelObjectType | ( | ETopLevelObjectType | type | ) |
Definition at line 2155 of file tse_info.cpp.
References SetTopLevelObject().
Referenced by CScope_Impl::AddBioseq(), CScope_Impl::AddSeq_annot(), CScope_Impl::AddSharedBioseq(), and CScope_Impl::AddSharedSeq_annot().
CSubmit_block & CTSE_Info::SetTopLevelSubmit_block | ( | ) | const |
Definition at line 2143 of file tse_info.cpp.
References CSeq_submit_Base::SetSub(), and x_GetTopLevelSeq_submit().
Referenced by CTSE_Handle::SetTopLevelSubmit_block().
void CTSE_Info::SetTopLevelSubmit_block | ( | CSubmit_block & | sub | ) | const |
Definition at line 2149 of file tse_info.cpp.
References CSeq_submit_Base::SetSub(), and x_GetTopLevelSeq_submit().
void CTSE_Info::SetUsedMemory | ( | size_t | size | ) |
Definition at line 339 of file tse_info.cpp.
References m_UsedMemory, and ncbi::grid::netcache::search::fields::size.
void CTSE_Info::UpdateAnnotIndex | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 1009 of file tse_info.cpp.
References UpdateAnnotIndex(), and x_GetRecords().
Referenced by CSeq_entry_Info::GetAnnotIds(), CDataSource::UpdateAnnotIndex(), CBioseq_set_Info::UpdateAnnotIndex(), CSeq_annot_Info::UpdateAnnotIndex(), CSeq_entry_Info::UpdateAnnotIndex(), CSeq_annot_Finder::x_Find(), CAnnot_Collector::x_SearchLoc(), CAnnot_Collector::x_SearchMaster(), CAnnot_Collector::x_SearchRange(), and CAnnot_Collector::x_SearchTSE2().
void CTSE_Info::UpdateAnnotIndex | ( | const CTSE_Info_Object & | object | ) | const |
Definition at line 1022 of file tse_info.cpp.
References UpdateAnnotIndex().
void CTSE_Info::UpdateAnnotIndex | ( | CTSE_Info_Object & | object | ) |
Definition at line 1035 of file tse_info.cpp.
References _ASSERT, eEmptyGuard, GetAnnotLock(), GetDataSource(), GetTSE_Info(), CDSAnnotLockWriteGuard::Guard(), HasDataSource(), and CTSE_Info_Object::x_DirtyAnnotIndex().
void CTSE_Info::UpdateAnnotIndex | ( | void | ) |
Definition at line 1029 of file tse_info.cpp.
References UpdateAnnotIndex().
void CTSE_Info::UpdateAnnotIndex | ( | void | ) | const |
Definition at line 1016 of file tse_info.cpp.
Referenced by GetAnnotIds(), SetSeq_entry(), UpdateAnnotIndex(), UpdateFeatIdIndex(), x_AddFeaturesById(), and x_GetFeaturesByLocus().
void CTSE_Info::UpdateFeatIdIndex | ( | CSeqFeatData::E_Choice | type, |
EFeatIdType | id_type | ||
) | const |
Definition at line 989 of file tse_info.cpp.
References CRef< C, Locker >::GetNCObject(), m_Split, UpdateAnnotIndex(), and CTSE_Split_Info::x_UpdateFeatIdIndex().
Referenced by x_GetFeaturesById().
void CTSE_Info::UpdateFeatIdIndex | ( | CSeqFeatData::ESubtype | subtype, |
EFeatIdType | id_type | ||
) | const |
Definition at line 999 of file tse_info.cpp.
References CRef< C, Locker >::GetNCObject(), m_Split, UpdateAnnotIndex(), and CTSE_Split_Info::x_UpdateFeatIdIndex().
void CTSE_Info::x_AddAllFeaturesById | ( | TAnnotObjects & | objects, |
const TFeatIdStr & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1548 of file tse_info.cpp.
References ITERATE, m_FeatIdIndex, and x_AddFeaturesById().
void CTSE_Info::x_AddAllFeaturesById | ( | TAnnotObjects & | objects, |
TFeatIdInt | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1482 of file tse_info.cpp.
References ITERATE, m_FeatIdIndex, and x_AddFeaturesById().
Referenced by x_GetFeaturesById().
void CTSE_Info::x_AddFeaturesById | ( | TAnnotObjects & | objects, |
const SFeatIdIndex & | index, | ||
const TFeatIdStr & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1494 of file tse_info.cpp.
References multimap_checker< Container >::end(), multimap_checker< Container >::find(), CSeq_annot_Info::GetXrefTSE(), info, CTSE_Info::SFeatIdIndex::m_Chunks, CTSE_Info::SFeatIdIndex::m_IndexStr, UpdateAnnotIndex(), x_LoadChunk(), and x_LoadChunks().
void CTSE_Info::x_AddFeaturesById | ( | TAnnotObjects & | objects, |
const SFeatIdIndex & | index, | ||
TFeatIdInt | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1421 of file tse_info.cpp.
References multimap_checker< Container >::end(), multimap_checker< Container >::find(), CSeq_annot_Info::GetXrefTSE(), info, CTSE_Info::SFeatIdIndex::m_Chunks, CTSE_Info::SFeatIdIndex::m_IndexInt, UpdateAnnotIndex(), x_LoadChunk(), and x_LoadChunks().
Referenced by x_AddAllFeaturesById(), x_AddFeaturesById(), and x_GetFeaturesById().
void CTSE_Info::x_AddFeaturesById | ( | TAnnotObjects & | objects, |
CSeqFeatData::ESubtype | subtype, | ||
const TFeatIdStr & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1534 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), m_FeatIdIndex, and x_AddFeaturesById().
void CTSE_Info::x_AddFeaturesById | ( | TAnnotObjects & | objects, |
CSeqFeatData::ESubtype | subtype, | ||
TFeatIdInt | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1468 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), m_FeatIdIndex, and x_AddFeaturesById().
|
privatevirtual |
Reimplemented from CSeq_entry_Info.
Definition at line 671 of file tse_info.cpp.
References flags, CTSE_Info_Object::fNeedUpdate_children_core, CTSE_Info_Object::fNeedUpdate_core, m_Split, CSeq_entry_Info::x_DoUpdate(), and CTSE_Split_Info::x_UpdateCore().
|
virtual |
Reimplemented from CSeq_entry_Info.
Definition at line 563 of file tse_info.cpp.
References _ASSERT, ITERATE, m_Bioseqs, m_DataSource, m_Split, CTSE_Split_Info::x_DSAttach(), CSeq_entry_Info::x_DSAttachContents(), CDataSource::x_IndexAnnotTSEs(), and CDataSource::x_IndexSeqTSE().
|
virtual |
Reimplemented from CSeq_entry_Info.
Definition at line 579 of file tse_info.cpp.
References _ASSERT, ITERATE, m_Bioseqs, m_DataSource, m_Split, CTSE_Split_Info::x_DSDetach(), CSeq_entry_Info::x_DSDetachContents(), CDataSource::x_UnindexAnnotTSEs(), and CDataSource::x_UnindexSeqTSE().
|
private |
Definition at line 595 of file tse_info.cpp.
References CSeq_entry_Info::x_DSMapObject(), and CDataSource::x_Map().
|
private |
Definition at line 602 of file tse_info.cpp.
References CSeq_entry_Info::x_DSUnmapObject(), and CDataSource::x_Unmap().
CTSE_Info_Object * CTSE_Info::x_FindBioObject | ( | const CBioObjectId & | uniq_id | ) | const |
Definition at line 463 of file tse_info.cpp.
References _ASSERT, map_checker< Container >::end(), CBioObjectId::eSeqId, CBioObjectId::eSetId, CBioObjectId::eUniqNumber, map_checker< Container >::find(), CBioObjectId::GetSeqId(), CBioObjectId::GetSetId(), CBioObjectId::GetType(), i, m_BioObjects, m_Bioseq_sets, m_Bioseqs, m_BioseqsMutex, NULL, and x_GetRecords().
Referenced by GetBase(), GetBioseq(), GetBioseq_set(), and GetSeq_entry().
CTSE_Info::TSeq_feat_Lock CTSE_Info::x_FindSeq_feat | ( | const CSeq_id_Handle & | loc_id, |
TSeqPos | loc_pos, | ||
const CSeq_feat & | feat | ||
) | const |
Definition at line 1995 of file tse_info.cpp.
References CRangeMapBase< Traits >::begin(), CAnnotObject_Info::GetAnnotIndex(), CSeq_feat_Base::GetData(), CAnnotObject_Info::GetFeatFast(), CAnnotObject_Info::GetSeq_annot_Info(), CSeqFeatData::GetSubtype(), CAnnotType_Index::GetSubtypeIndex(), CAnnotObject_Info::IsRegular(), ITERATE, m_NamedAnnotObjs, compile_time_bits::range(), x_GetIdObjects(), SIdAnnotObjs::x_GetRangeMap(), and SIdAnnotObjs::x_RangeMapIsEmpty().
|
private |
Definition at line 1087 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::lower_bound(), and m_NamedAnnotObjs.
Referenced by x_GetIdObjects().
CBioseq_Info & CTSE_Info::x_GetBioseq | ( | const CSeq_id_Handle & | id | ) |
Definition at line 1363 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), m_Bioseqs, m_BioseqsMutex, m_Removed_Bioseqs, m_Split, and NCBI_THROW.
CBioseq_set_Info & CTSE_Info::x_GetBioseq_set | ( | int | id | ) |
Definition at line 1345 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), m_Bioseq_sets, m_Removed_Bioseq_sets, m_Split, and NCBI_THROW.
Referenced by ITSE_Assigner::x_GetBioseq_set().
CTSE_Info::SFeatIdIndex::TIndexInt & CTSE_Info::x_GetFeatIdIndexInt | ( | CSeqFeatData::ESubtype | type | ) |
Definition at line 1561 of file tse_info.cpp.
References m_FeatIdIndex, CTSE_Info::SFeatIdIndex::m_IndexInt, and type.
Referenced by x_MapChunkByFeatId(), x_MapFeatById(), and x_UnmapFeatById().
CTSE_Info::SFeatIdIndex::TIndexStr & CTSE_Info::x_GetFeatIdIndexStr | ( | CSeqFeatData::ESubtype | type | ) |
Definition at line 1573 of file tse_info.cpp.
References m_FeatIdIndex, CTSE_Info::SFeatIdIndex::m_IndexStr, and type.
Referenced by x_MapChunkByFeatId(), x_MapFeatById(), and x_UnmapFeatById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::E_Choice | type, |
const TFeatId & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1950 of file tse_info.cpp.
References GetId(), and x_GetFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::E_Choice | type, |
const TFeatIdStr & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1909 of file tse_info.cpp.
References CSeqFeatData_Base::e_not_set, CAnnotType_Index::GetFeatTypeRange(), CAnnotType_Index::GetSubtypeForIndex(), compile_time_bits::range(), UpdateFeatIdIndex(), x_AddAllFeaturesById(), and x_AddFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::E_Choice | type, |
TFeatIdInt | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1867 of file tse_info.cpp.
References CSeqFeatData_Base::e_not_set, CAnnotType_Index::GetFeatTypeRange(), CAnnotType_Index::GetSubtypeForIndex(), compile_time_bits::range(), UpdateFeatIdIndex(), x_AddAllFeaturesById(), and x_AddFeaturesById().
Referenced by x_GetFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::ESubtype | subtype, |
const TFeatId & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1933 of file tse_info.cpp.
References GetId(), and x_GetFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::ESubtype | subtype, |
const TFeatIdStr & | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1891 of file tse_info.cpp.
References CSeqFeatData::eSubtype_any, UpdateFeatIdIndex(), x_AddAllFeaturesById(), and x_AddFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesById | ( | CSeqFeatData::ESubtype | subtype, |
TFeatIdInt | id, | ||
EFeatIdType | id_type, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1849 of file tse_info.cpp.
References CSeqFeatData::eSubtype_any, UpdateFeatIdIndex(), x_AddAllFeaturesById(), and x_AddFeaturesById().
CTSE_Info::TAnnotObjects CTSE_Info::x_GetFeaturesByLocus | ( | const string & | locus, |
bool | tag, | ||
const CSeq_annot_Info * | src_annot = 0 |
||
) | const |
Definition at line 1966 of file tse_info.cpp.
References multimap_checker< Container >::end(), CSeq_entry_Info::GetXrefTSE(), CSeq_annot_Info::GetXrefTSE(), multimap_checker< Container >::lower_bound(), m_LocusIndex, tag, and UpdateAnnotIndex().
|
private |
Definition at line 1145 of file tse_info.cpp.
References x_GetAnnotObjs(), and x_GetIdObjects().
|
private |
Definition at line 1134 of file tse_info.cpp.
References map_checker< Container >::end(), and map_checker< Container >::find().
Referenced by CSeq_annot_Finder::x_Find(), x_FindSeq_feat(), x_GetIdObjects(), x_GetUnnamedIdObjects(), x_HasIdObjects(), CAnnot_Collector::x_SearchRange(), and CAnnot_Collector::x_SearchTSE2().
void CTSE_Info::x_GetRecords | ( | const CSeq_id_Handle & | id, |
bool | bioseq | ||
) | const |
Definition at line 848 of file tse_info.cpp.
References m_Split, and CTSE_Split_Info::x_GetRecords().
Referenced by FindBioseq(), UpdateAnnotIndex(), CDataSource::x_AddTSEBioseqAnnots(), CDataSource::x_AddTSEOrphanAnnots(), and x_FindBioObject().
|
private |
Definition at line 517 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), CTSE_SetObjectInfo::m_Seq_annot_InfoMap, and m_SetObjectInfo.
Referenced by CSeq_annot_Info::x_TSEAttachContents().
CSeq_submit & CTSE_Info::x_GetTopLevelSeq_submit | ( | ) | const |
Definition at line 2091 of file tse_info.cpp.
References CRef< C, Locker >::GetNCPointerOrNull(), IsTopLevelSeq_submit(), m_TopLevelObjectPtr, and NCBI_THROW.
Referenced by GetTopLevelSeq_submit(), GetTopLevelSubmit_block(), and SetTopLevelSubmit_block().
|
private |
Definition at line 1098 of file tse_info.cpp.
References map_checker< Container >::begin(), map_checker< Container >::end(), and m_NamedAnnotObjs.
Referenced by x_GetUnnamedIdObjects().
|
private |
Definition at line 1157 of file tse_info.cpp.
References x_GetIdObjects(), and x_GetUnnamedAnnotObjs().
Referenced by CSeq_annot_Finder::x_Find(), and CAnnot_Collector::x_SearchTSE2().
bool CTSE_Info::x_HasFeaturesWithId | ( | CSeqFeatData::ESubtype | subtype | ) | const |
Definition at line 1461 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), and m_FeatIdIndex.
Referenced by CFeat_CI::x_AddFeaturesWithId().
|
private |
Definition at line 1167 of file tse_info.cpp.
References ITERATE, m_NamedAnnotObjs, and x_GetIdObjects().
Referenced by CDataSource::x_AddTSEAnnots().
|
private |
Definition at line 627 of file tse_info.cpp.
References _VERIFY, ContainsMatchingBioseq(), map_checker< Container >::end(), fAnnotIds_Matching, fAnnotIds_NonGi, GetDataSource(), HasDataSource(), map_checker< Container >::insert(), map_checker< Container >::lower_bound(), m_AnnotIdsFlags, m_IdAnnotInfoMap, and CDataSource::x_IndexAnnotTSE().
Referenced by x_SetIdObjects().
|
private |
Definition at line 404 of file tse_info.cpp.
References _ASSERT, CBioObjectId::eUnSet, CBioObjectId::GetType(), info, ITERATE, x_RegisterBioObject(), and x_SetBioseqIds().
Referenced by CBioseq_Info::x_TSEAttachContents().
|
private |
Definition at line 426 of file tse_info.cpp.
References _ASSERT, CBioObjectId::eSetId, CBioObjectId::eUnSet, info, and x_RegisterBioObject().
Referenced by CBioseq_set_Info::x_TSEAttachContents().
|
inlineprivate |
Definition at line 610 of file tse_info.cpp.
References GetDataSource(), HasDataSource(), and CDataSource::x_IndexSeqTSE().
Referenced by x_SetBioseqId().
|
private |
Definition at line 289 of file tse_info.cpp.
References eNotInCache, eNotLoaded, CTSE_Handle::eTopLevel_Seq_entry, CBioseq_Handle::fState_none, m_AnnotIdsFlags, m_BlobState, m_BlobVersion, m_CacheState, m_DataSource, m_LoadState, m_TopLevelObjectType, and m_UsedMemory.
Referenced by CTSE_Info().
void CTSE_Info::x_LoadChunk | ( | TChunkId | chunk_id | ) | const |
Definition at line 856 of file tse_info.cpp.
References m_Split, and CTSE_Split_Info::x_LoadChunk().
Referenced by CCSRADataLoader_Impl::GetRecordsOnce(), x_AddFeaturesById(), and CTSE_Info_Object::x_LoadChunk().
Definition at line 862 of file tse_info.cpp.
References m_Split, and CTSE_Split_Info::x_LoadChunks().
Referenced by x_AddFeaturesById(), and CTSE_Info_Object::x_LoadChunks().
void CTSE_Info::x_LoadDelayedMainChunk | ( | void | ) | const |
Definition at line 1413 of file tse_info.cpp.
References m_Split, and CTSE_Split_Info::x_LoadDelayedMainChunk().
Referenced by CSeq_entry_Info::x_UpdateSkeleton().
|
private |
Definition at line 1298 of file tse_info.cpp.
References ncbi::grid::netcache::search::fields::key, x_MapAnnotObject(), and x_SetAnnotObjs().
|
private |
Definition at line 1206 of file tse_info.cpp.
References CAnnotObject_Info::GetLocsTypes(), CAnnotType_Index::GetTypeIndex(), CAnnotObject_Info::IsLocs(), ITERATE, ncbi::grid::netcache::search::fields::key, SAnnotObject_Index::m_AnnotObject_Info, SIdAnnotObjs::x_GetRangeMap(), and x_MapAnnotObject().
|
private |
Definition at line 1248 of file tse_info.cpp.
References ncbi::grid::netcache::search::fields::key, x_MapAnnotObject(), and x_SetIdObjects().
|
inlineprivate |
Definition at line 1180 of file tse_info.cpp.
References CRangeMultimap< Mapped, Position >::insert(), and ncbi::grid::netcache::search::fields::key.
Referenced by CTSEAnnotObjectMapper::Map(), and x_MapAnnotObject().
|
private |
Definition at line 1802 of file tse_info.cpp.
References GetId(), and x_MapChunkByFeatId().
|
private |
Definition at line 1788 of file tse_info.cpp.
References GetId(), and x_MapChunkByFeatId().
|
private |
Definition at line 1774 of file tse_info.cpp.
References GetId(), and x_MapChunkByFeatId().
|
private |
Definition at line 1760 of file tse_info.cpp.
References CSeqFeatData::eSubtype_any, and x_MapChunkByFeatId().
|
private |
Definition at line 1745 of file tse_info.cpp.
References CAnnotType_Index::GetFeatTypeRange(), CAnnotType_Index::GetSubtypeForIndex(), compile_time_bits::range(), and x_MapChunkByFeatId().
|
private |
Definition at line 1734 of file tse_info.cpp.
References multimap_checker< Container >::insert(), rapidjson::value, and x_GetFeatIdIndexStr().
|
private |
Definition at line 1720 of file tse_info.cpp.
References CSeqFeatData::eSubtype_any, and x_MapChunkByFeatId().
|
private |
Definition at line 1705 of file tse_info.cpp.
References CAnnotType_Index::GetFeatTypeRange(), CAnnotType_Index::GetSubtypeForIndex(), compile_time_bits::range(), and x_MapChunkByFeatId().
|
private |
Definition at line 1694 of file tse_info.cpp.
References multimap_checker< Container >::insert(), rapidjson::value, and x_GetFeatIdIndexInt().
Referenced by x_MapChunkByFeatId(), and CTSE_Chunk_Info::x_UpdateAnnotIndexContents().
|
private |
Definition at line 1836 of file tse_info.cpp.
References CSeqFeatData::eSubtype_any, and x_MapChunkByFeatType().
|
private |
Definition at line 1823 of file tse_info.cpp.
References CAnnotType_Index::GetFeatTypeRange(), CAnnotType_Index::GetSubtypeForIndex(), compile_time_bits::range(), and x_MapChunkByFeatType().
|
private |
Definition at line 1816 of file tse_info.cpp.
References m_FeatIdIndex.
Referenced by x_MapChunkByFeatType(), and CTSE_Chunk_Info::x_UpdateAnnotIndexContents().
|
private |
Definition at line 1644 of file tse_info.cpp.
References GetId(), info, and x_MapFeatById().
|
private |
Definition at line 1614 of file tse_info.cpp.
References info, multimap_checker< Container >::insert(), rapidjson::value, and x_GetFeatIdIndexStr().
|
private |
Definition at line 1584 of file tse_info.cpp.
References info, multimap_checker< Container >::insert(), rapidjson::value, and x_GetFeatIdIndexInt().
Referenced by CSeq_annot_Info::AddFeatId(), CSeq_annot_Info::x_MapFeatById(), and x_MapFeatById().
|
private |
Definition at line 1670 of file tse_info.cpp.
References info, multimap_checker< Container >::insert(), m_LocusIndex, and tag.
Referenced by CSeq_annot_Info::x_MapFeatByGene().
|
private |
Definition at line 1274 of file tse_info.cpp.
References ConstRef(), ncbi::grid::netcache::search::fields::key, and x_SetIdObjects().
Referenced by CSeq_annot_SNP_Info::x_UpdateAnnotIndexContents().
bool CTSE_Info::x_NeedsDelayedMainChunk | ( | void | ) | const |
Definition at line 1407 of file tse_info.cpp.
References m_Split, and CTSE_Split_Info::x_NeedsDelayedMainChunk().
Referenced by CGBDataLoader_Native::GetCDDAnnots(), CPSGDataLoader_Impl::GetCDDAnnotsOnce(), CProcessor_AnnotInfo::LoadBlob(), CLoadLockBlob::NeedsDelayedMainChunk(), CProcessor_ExtAnnot::Process(), CPSGL_NA_Processor::ProcessItemSlow(), CPSGL_CDDAnnot_Processor::ProcessReplySlow(), CPSGL_Blob_Processor::TSE_ToOM(), CPSGDataLoader_Impl::x_CheckAnnotCache(), x_CreateLocalCDDEntry(), x_IsEmptyCDD(), and CPSGDataLoader_Impl::x_ReadCDDChunk().
|
private |
Definition at line 437 of file tse_info.cpp.
References map_checker< Container >::end(), CBioObjectId::eUniqNumber, map_checker< Container >::find(), CBioObjectId::GetType(), info, m_BioObjects, and m_InternalBioObjNumber.
Referenced by x_IndexBioseq(), x_IndexBioseq_set(), and CSeq_annot_Info::x_TSEAttachContents().
|
private |
Definition at line 1080 of file tse_info.cpp.
References map_checker< Container >::erase(), and m_NamedAnnotObjs.
Referenced by CTSEAnnotObjectMapper::Unmap(), x_UnmapAnnotObject(), and x_UnmapAnnotObjects().
|
private |
Definition at line 302 of file tse_info.cpp.
References map_checker< Container >::clear(), CSeq_entry_Base::e_not_set, m_BaseTSE, m_BioObjects, m_Bioseq_sets, m_Bioseqs, CSeq_entry_Info::m_Contents, m_EditSaver, m_FeatIdIndex, m_IdAnnotInfoMap, m_InternalBioObjNumber, m_NamedAnnotObjs, CSeq_entry_Info::m_Object, m_Removed_Bioseq_sets, m_Removed_Bioseqs, m_SetObjectInfo, m_Split, CSeq_entry_Info::m_Which, and CRef< C, Locker >::Reset().
Referenced by CTSE_LoadLock::ReleaseLoadLock().
|
private |
Definition at line 957 of file tse_info.cpp.
References _ASSERT, map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), info, map_checker< Container >::insert(), ncbi::grid::netcache::search::fields::key, map_checker< Container >::lower_bound(), m_Bioseq_sets, m_Removed_Bioseq_sets, and m_Split.
Referenced by CBioseq_set_Info::x_TSEDetachContents().
|
private |
Definition at line 918 of file tse_info.cpp.
References _ASSERT, map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), info, map_checker< Container >::insert(), map_checker< Container >::lower_bound(), m_Bioseqs, m_BioseqsMutex, m_Removed_Bioseqs, m_Split, and x_UnindexSeqTSE().
Referenced by CBioseq_Info::RemoveId(), CBioseq_Info::ResetId(), and CBioseq_Info::x_TSEDetachContents().
|
virtual |
Reimplemented from CTSE_Info_Object.
Definition at line 981 of file tse_info.cpp.
References GetDataSource(), HasDataSource(), and CDataSource::x_ResetDirtyAnnotIndex().
|
private |
Definition at line 1069 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::insert(), map_checker< Container >::lower_bound(), and m_NamedAnnotObjs.
Referenced by x_MapAnnotObject(), x_SetIdObjects(), x_UnmapAnnotObject(), and x_UnmapAnnotObjects().
|
private |
Definition at line 941 of file tse_info.cpp.
References info, map_checker< Container >::insert(), NStr::IntToString(), ncbi::grid::netcache::search::fields::key, m_Bioseq_sets, and NCBI_THROW.
Referenced by CBioseq_set_Info::x_TSEAttachContents().
|
private |
Definition at line 870 of file tse_info.cpp.
References _ASSERT, info, map_checker< Container >::insert(), m_Bioseqs, m_BioseqsMutex, NCBI_THROW_FMT, and x_IndexSeqTSE().
Referenced by CBioseq_Info::AddId().
|
private |
Definition at line 891 of file tse_info.cpp.
References _ASSERT, GetDataSource(), HasDataSource(), info, map_checker< Container >::insert(), ITERATE, m_Bioseqs, m_BioseqsMutex, m_BioseqUpdater, NCBI_THROW, CBioseqUpdater::Update(), and CDataSource::x_IndexSeqTSE().
Referenced by x_IndexBioseq().
|
virtual |
Reimplemented from CTSE_Info_Object.
Definition at line 973 of file tse_info.cpp.
References GetDataSource(), HasDataSource(), and CDataSource::x_SetDirtyAnnotIndex().
|
private |
Definition at line 1127 of file tse_info.cpp.
References x_SetAnnotObjs(), and x_SetIdObjects().
|
private |
Definition at line 1109 of file tse_info.cpp.
References _ASSERT, map_checker< Container >::end(), map_checker< Container >::find(), map_checker< Container >::insert(), and x_IndexAnnotTSE().
Referenced by x_MapAnnotObject(), x_MapSNP_Table(), x_SetIdObjects(), and x_UnmapSNP_Table().
|
private |
Definition at line 653 of file tse_info.cpp.
References _VERIFY, map_checker< Container >::end(), map_checker< Container >::erase(), GetDataSource(), HasDataSource(), map_checker< Container >::lower_bound(), m_IdAnnotInfoMap, and CDataSource::x_UnindexAnnotTSE().
Referenced by x_UnmapAnnotObject().
|
inlineprivate |
Definition at line 619 of file tse_info.cpp.
References GetDataSource(), HasDataSource(), and CDataSource::x_UnindexSeqTSE().
Referenced by x_ResetBioseqId().
|
private |
Definition at line 1306 of file tse_info.cpp.
References map_checker< Container >::empty(), info, ncbi::grid::netcache::search::fields::key, x_RemoveAnnotObjs(), x_SetAnnotObjs(), and x_UnmapAnnotObject().
|
private |
Definition at line 1230 of file tse_info.cpp.
References _ASSERT, CAnnotType_Index::GetTypeIndex(), info, ncbi::grid::netcache::search::fields::key, SIdAnnotObjs::m_SNPSet, SIdAnnotObjs::x_CleanRangeMaps(), SIdAnnotObjs::x_GetRangeMap(), SIdAnnotObjs::x_GetRangeMapCount(), and x_UnmapAnnotObject().
|
private |
Definition at line 1259 of file tse_info.cpp.
References map_checker< Container >::empty(), map_checker< Container >::end(), map_checker< Container >::erase(), map_checker< Container >::find(), info, ncbi::grid::netcache::search::fields::key, x_UnindexAnnotTSE(), and x_UnmapAnnotObject().
|
inlineprivate |
Definition at line 1190 of file tse_info.cpp.
References _ASSERT, CRangeMapBase< Traits >::empty(), CRangeMapBase< Traits >::erase(), CRangeMapBase< Traits >::find(), info, and ncbi::grid::netcache::search::fields::key.
Referenced by CTSEAnnotObjectMapper::Unmap(), x_UnmapAnnotObject(), and x_UnmapAnnotObjects().
|
private |
Definition at line 1320 of file tse_info.cpp.
References map_checker< Container >::empty(), SAnnotObjectsIndex::GetInfos(), SAnnotObjectsIndex::GetKey(), SAnnotObjectsIndex::GetName(), i, SAnnotObjectsIndex::IsIndexed(), ITERATE, x_RemoveAnnotObjs(), x_SetAnnotObjs(), and x_UnmapAnnotObject().
Referenced by CSeq_annot_Info::x_UnmapAnnotObjects().
|
private |
Definition at line 1657 of file tse_info.cpp.
References GetId(), info, and x_UnmapFeatById().
|
private |
Definition at line 1626 of file tse_info.cpp.
References _ASSERT, multimap_checker< Container >::end(), multimap_checker< Container >::erase(), info, multimap_checker< Container >::lower_bound(), and x_GetFeatIdIndexStr().
|
private |
Definition at line 1596 of file tse_info.cpp.
References _ASSERT, multimap_checker< Container >::end(), multimap_checker< Container >::erase(), info, multimap_checker< Container >::lower_bound(), and x_GetFeatIdIndexInt().
Referenced by CSeq_annot_Info::ClearFeatIds(), CSeq_annot_Info::RemoveFeatId(), CSeq_annot_Info::x_UnmapFeatById(), and x_UnmapFeatById().
|
private |
Definition at line 1677 of file tse_info.cpp.
References multimap_checker< Container >::end(), multimap_checker< Container >::erase(), info, multimap_checker< Container >::lower_bound(), m_LocusIndex, and tag.
Referenced by CSeq_annot_Info::x_UnmapFeatByGene().
|
private |
Definition at line 1284 of file tse_info.cpp.
References ConstRef(), ncbi::grid::netcache::search::fields::key, SIdAnnotObjs::m_SNPSet, and x_SetIdObjects().
Referenced by CSeq_annot_SNP_Info::x_UnmapAnnotObjects().
|
private |
Definition at line 451 of file tse_info.cpp.
References map_checker< Container >::end(), map_checker< Container >::erase(), CBioObjectId::eUniqNumber, map_checker< Container >::find(), CBioObjectId::GetType(), i, info, and m_BioObjects.
Referenced by CSeq_annot_Info::x_TSEDetachContents(), and CTSE_Info_Object::x_TSEDetachContents().
|
virtual |
Reimplemented from CSeq_entry_Info.
Definition at line 1059 of file tse_info.cpp.
References _ASSERT, m_Split, CTSE_Split_Info::x_UpdateAnnotIndex(), and CSeq_entry_Info::x_UpdateAnnotIndexContents().
|
friend |
Definition at line 499 of file tse_info.hpp.
|
friend |
Definition at line 502 of file tse_info.hpp.
|
friend |
Definition at line 503 of file tse_info.hpp.
|
friend |
Definition at line 498 of file tse_info.hpp.
|
friend |
Definition at line 495 of file tse_info.hpp.
|
friend |
Definition at line 496 of file tse_info.hpp.
|
friend |
Definition at line 511 of file tse_info.hpp.
|
friend |
Definition at line 501 of file tse_info.hpp.
|
friend |
Definition at line 507 of file tse_info.hpp.
|
friend |
Definition at line 500 of file tse_info.hpp.
|
friend |
Definition at line 505 of file tse_info.hpp.
|
friend |
Definition at line 510 of file tse_info.hpp.
|
friend |
Definition at line 494 of file tse_info.hpp.
|
friend |
Definition at line 504 of file tse_info.hpp.
|
friend |
Definition at line 674 of file tse_info.hpp.
|
friend |
Definition at line 675 of file tse_info.hpp.
|
friend |
Definition at line 673 of file tse_info.hpp.
|
friend |
Definition at line 497 of file tse_info.hpp.
|
friend |
Definition at line 506 of file tse_info.hpp.
Referenced by GetSplitInfo().
|
friend |
Definition at line 656 of file tse_info.hpp.
|
friend |
Definition at line 509 of file tse_info.hpp.
|
private |
Definition at line 758 of file tse_info.hpp.
Referenced by HasMatchingAnnotIds(), OnlyGiAnnotIds(), SetSeq_entry(), x_IndexAnnotTSE(), and x_Initialize().
|
mutableprivate |
Definition at line 748 of file tse_info.hpp.
Referenced by GetAnnotLock(), and GetMasterSeqSegments().
|
private |
Definition at line 771 of file tse_info.hpp.
Referenced by CTSE_Info(), CScope_Impl::GetEditHandle(), CTSE_ScopeInfo::SetEditTSE(), and x_Reset().
|
private |
Definition at line 776 of file tse_info.hpp.
Referenced by x_FindBioObject(), x_RegisterBioObject(), x_Reset(), and x_UnregisterBioObject().
|
private |
Definition at line 730 of file tse_info.hpp.
Referenced by x_FindBioObject(), x_GetBioseq_set(), x_Reset(), x_ResetBioseq_setId(), and x_SetBioseq_setId().
|
private |
Definition at line 731 of file tse_info.hpp.
Referenced by ContainsBioseq(), FindBioseq(), GetBioseqsIds(), SetBioseqUpdater(), x_DSAttachContents(), x_DSDetachContents(), x_FindBioObject(), x_GetBioseq(), x_Reset(), x_ResetBioseqId(), x_SetBioseqId(), and x_SetBioseqIds().
|
mutableprivate |
Definition at line 734 of file tse_info.hpp.
Referenced by ContainsBioseq(), FindBioseq(), GetBioseqsIds(), SetBioseqUpdater(), x_FindBioObject(), x_GetBioseq(), x_ResetBioseqId(), x_SetBioseqId(), and x_SetBioseqIds().
|
private |
Definition at line 781 of file tse_info.hpp.
Referenced by CTSE_Info(), SetBioseqUpdater(), and x_SetBioseqIds().
|
private |
Definition at line 684 of file tse_info.hpp.
Referenced by CTSE_Info(), GetBlobId(), and GetDescription().
|
private |
Definition at line 688 of file tse_info.hpp.
Referenced by Assign(), CTSE_Info(), GetBlobState(), GetBlobStateOrder(), IsDead(), IsUnavailable(), ResetBlobState(), SetBlobState(), and x_Initialize().
|
private |
Definition at line 685 of file tse_info.hpp.
Referenced by CTSE_Info(), GetBlobVersion(), SetBlobVersion(), and x_Initialize().
|
mutableprivate |
Definition at line 716 of file tse_info.hpp.
Referenced by CDataSource::x_ReleaseLastTSELock().
|
mutableprivate |
Definition at line 713 of file tse_info.hpp.
Referenced by x_Initialize(), and CDataSource::x_ReleaseLastTSELock().
|
private |
Definition at line 678 of file tse_info.hpp.
Referenced by GetDataSource(), HasDataSource(), x_DSAttachContents(), x_DSDetachContents(), x_Initialize(), and ~CTSE_Info().
|
private |
Definition at line 773 of file tse_info.hpp.
Referenced by CTSE_Info(), GetEditSaver(), and x_Reset().
|
private |
Definition at line 745 of file tse_info.hpp.
Referenced by x_AddAllFeaturesById(), x_AddFeaturesById(), x_GetFeatIdIndexInt(), x_GetFeatIdIndexStr(), x_HasFeaturesWithId(), x_MapChunkByFeatType(), and x_Reset().
|
private |
Definition at line 744 of file tse_info.hpp.
Referenced by x_IndexAnnotTSE(), CDataSource::x_IndexAnnotTSEs(), x_Reset(), x_UnindexAnnotTSE(), and CDataSource::x_UnindexAnnotTSEs().
|
private |
Definition at line 774 of file tse_info.hpp.
Referenced by x_RegisterBioObject(), and x_Reset().
|
private |
Definition at line 727 of file tse_info.hpp.
Referenced by CDataSource::GetTSE_LoadLock(), CDataSource::SetLoaded(), CTSE_LoadLock::SetLoaded(), and CDataSource::x_SetLoadLock().
|
private |
Definition at line 712 of file tse_info.hpp.
Referenced by CTSE_Info(), GetSplitInfo(), CDataSource::IsLoaded(), SetBlobVersion(), CDataSource::SetLoaded(), SetSeq_entry(), and x_Initialize().
|
mutableprivate |
Definition at line 719 of file tse_info.hpp.
Referenced by CDataSource::GetTSE_LoadLockIfLoaded(), IsLocked(), CTSE_LoadLock::operator=(), CTSE_LoadLock::Reset(), CDataSource::x_SetLoadLock(), and ~CTSE_Info().
|
private |
Definition at line 746 of file tse_info.hpp.
Referenced by x_GetFeaturesByLocus(), x_MapFeatByLocus(), and x_UnmapFeatByLocus().
|
mutableprivate |
Definition at line 779 of file tse_info.hpp.
Referenced by GetMasterSeqSegments().
|
mutableprivate |
Definition at line 778 of file tse_info.hpp.
Referenced by GetMasterSeqSegments().
|
private |
Definition at line 695 of file tse_info.hpp.
Referenced by Assign(), CTSE_Info(), GetName(), and SetName().
|
private |
Definition at line 743 of file tse_info.hpp.
Referenced by GetAnnotIds(), HasAnnot(), x_FindSeq_feat(), x_GetAnnotObjs(), x_GetUnnamedAnnotObjs(), x_HasIdObjects(), x_RemoveAnnotObjs(), x_Reset(), CAnnot_Collector::x_SearchTSE2(), and x_SetAnnotObjs().
|
private |
Definition at line 732 of file tse_info.hpp.
Referenced by SetSeq_entry(), x_GetBioseq_set(), x_Reset(), and x_ResetBioseq_setId().
|
private |
Definition at line 733 of file tse_info.hpp.
Referenced by SetSeq_entry(), x_GetBioseq(), x_Reset(), and x_ResetBioseqId().
|
mutableprivate |
Definition at line 749 of file tse_info.hpp.
Referenced by GetRequestedId(), SetRequestedId(), and SetSeq_entry().
|
private |
Definition at line 740 of file tse_info.hpp.
Referenced by SetSeq_entry(), x_GetSNP_Info(), and x_Reset().
|
private |
Definition at line 737 of file tse_info.hpp.
Referenced by Assign(), ContainsBioseq(), CTSE_Info(), GetBioseqsIds(), GetSplitInfo(), HasSplitInfo(), SetSeq_entry(), UpdateFeatIdIndex(), x_DoUpdate(), x_DSAttachContents(), x_DSDetachContents(), x_GetBioseq(), x_GetBioseq_set(), x_GetRecords(), x_LoadChunk(), x_LoadChunks(), x_LoadDelayedMainChunk(), x_NeedsDelayedMainChunk(), x_Reset(), x_ResetBioseq_setId(), x_ResetBioseqId(), x_UpdateAnnotIndexContents(), and ~CTSE_Info().
|
private |
Definition at line 692 of file tse_info.hpp.
Referenced by GetTopLevelObjectPtr(), SetTopLevelObject(), and x_GetTopLevelSeq_submit().
|
private |
Definition at line 691 of file tse_info.hpp.
Referenced by Assign(), CTSE_Info(), GetTopLevelObjectType(), SetTopLevelObject(), and x_Initialize().
|
private |
Definition at line 698 of file tse_info.hpp.
Referenced by AddUsedMemory(), Assign(), CTSE_Info(), GetUsedMemory(), SetUsedMemory(), and x_Initialize().