NCBI C++ ToolKit
|
Search Toolkit Book for CTSE_Default_Assigner
#include <objmgr/impl/tse_assigner.hpp>
Public Member Functions | |
CTSE_Default_Assigner () | |
virtual | ~CTSE_Default_Assigner () |
virtual void | AddDescInfo (CTSE_Info &, const TDescInfo &info, TChunkId chunk_id) |
virtual void | AddAnnotPlace (CTSE_Info &, const TPlace &place, TChunkId chunk_id) |
virtual void | AddBioseqPlace (CTSE_Info &, TBioseq_setId place_id, TChunkId chunk_id) |
virtual void | AddSeq_data (CTSE_Info &, const TLocationSet &location, CTSE_Chunk_Info &chunk) |
virtual void | AddAssemblyInfo (CTSE_Info &, const TAssemblyInfo &info, TChunkId chunk_id) |
virtual void | UpdateAnnotIndex (CTSE_Info &, CTSE_Chunk_Info &chunk) |
virtual void | LoadDescr (CTSE_Info &, const TPlace &place, const CSeq_descr &descr) |
virtual void | LoadAnnot (CTSE_Info &, const TPlace &place, CRef< CSeq_annot > annot, int chunk_id) |
virtual void | LoadBioseq (CTSE_Info &, const TPlace &place, CRef< CSeq_entry > entry, int chunk_id) |
virtual void | LoadChunkBioseqs (CTSE_Info &, const TPlace &place, const list< CRef< CBioseq > > &bioseqs, int chunk_id) |
virtual void | LoadSequence (CTSE_Info &, const TPlace &place, TSeqPos pos, const TSequence &sequence) |
virtual void | LoadAssembly (CTSE_Info &, const TBioseqId &seq_id, const TAssembly &assembly) |
virtual void | LoadSeq_entry (CTSE_Info &, CSeq_entry &entry, CTSE_SetObjectInfo *set_info) |
![]() | |
virtual | ~ITSE_Assigner () |
![]() | |
CObject (void) | |
Constructor. More... | |
CObject (const CObject &src) | |
Copy constructor. More... | |
virtual | ~CObject (void) |
Destructor. More... | |
CObject & | operator= (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 |
Private Member Functions | |
CTSE_Default_Assigner (const CTSE_Default_Assigner &) | |
CTSE_Default_Assigner & | operator= (const CTSE_Default_Assigner &) |
Definition at line 99 of file tse_assigner.hpp.
CTSE_Default_Assigner::CTSE_Default_Assigner | ( | ) |
Definition at line 106 of file tse_assigner.cpp.
|
virtual |
Definition at line 110 of file tse_assigner.cpp.
|
private |
|
virtual |
Implements ITSE_Assigner.
Definition at line 122 of file tse_assigner.cpp.
References CBioseq_Base_Info::x_AddAnnotChunkId(), and ITSE_Assigner::x_GetBase().
|
virtual |
Implements ITSE_Assigner.
Definition at line 160 of file tse_assigner.cpp.
References info, CBioseq_Info::x_AddAssemblyChunkId(), and ITSE_Assigner::x_GetBioseq().
|
virtual |
Implements ITSE_Assigner.
Definition at line 129 of file tse_assigner.cpp.
References kTSE_Place_id, CBioseq_set_Info::x_AddBioseqChunkId(), ITSE_Assigner::x_GetBioseq_set(), and CSeq_entry_Info::x_SetBioseqChunkId().
|
virtual |
Implements ITSE_Assigner.
Definition at line 114 of file tse_assigner.cpp.
References info, CBioseq_Base_Info::x_AddDescrChunkId(), and ITSE_Assigner::x_GetBase().
|
virtual |
Implements ITSE_Assigner.
Definition at line 140 of file tse_assigner.cpp.
References CTSE_Chunk_Info::GetChunkId(), ITERATE, CSeqMap::SetRegionInChunk(), and ITSE_Assigner::x_GetBioseq().
|
virtual |
Implements ITSE_Assigner.
Definition at line 186 of file tse_assigner.cpp.
References eEmptyGuard, CTSE_Info::GetDataSource(), CDataSource::GetMainLock(), CDSAnnotLockWriteGuard::Guard(), CGuard< Resource, Lock, Unlock, ReportExceptions >::Guard(), CTSE_Info::HasDataSource(), CRef< C, Locker >::Reset(), and ITSE_Assigner::x_GetBase().
|
virtual |
Implements ITSE_Assigner.
Definition at line 265 of file tse_assigner.cpp.
References CBioseq_Info::SetInst_Hist_Assembly(), and ITSE_Assigner::x_GetBioseq().
|
virtual |
Implements ITSE_Assigner.
Definition at line 206 of file tse_assigner.cpp.
References CBioseq_set_Info::AddEntry(), eEmptyGuard, CTSE_Info::GetDataSource(), CDataSource::GetMainLock(), CDSAnnotLockWriteGuard::Guard(), CGuard< Resource, Lock, Unlock, ReportExceptions >::Guard(), CTSE_Info::HasDataSource(), kTSE_Place_id, ITSE_Assigner::x_GetBioseq_set(), and CSeq_entry_Info::x_SetObject().
|
virtual |
Implements ITSE_Assigner.
Definition at line 232 of file tse_assigner.cpp.
References _ASSERT, eEmptyGuard, CTSE_Info::GetDataSource(), CDataSource::GetMainLock(), CGuard< Resource, Lock, Unlock, ReportExceptions >::Guard(), CTSE_Info::HasDataSource(), kTSE_Place_id, CSeq_entry_Base::SetSeq(), ITSE_Assigner::x_GetBioseq_set(), CBioseq_set_Info::x_SetChunkBioseqs(), and CSeq_entry_Info::x_SetObject().
|
virtual |
Implements ITSE_Assigner.
Definition at line 179 of file tse_assigner.cpp.
References ITSE_Assigner::x_GetBase(), and CBioseq_Base_Info::x_RealLoadDescr().
|
virtual |
Implements ITSE_Assigner.
Definition at line 272 of file tse_assigner.cpp.
References CTSE_Info::SetSeq_entry().
|
virtual |
Implements ITSE_Assigner.
Definition at line 252 of file tse_assigner.cpp.
References CBioseq_Info::GetSeqMap(), ITERATE, literal(), CSeqMap::LoadSeq_data(), and ITSE_Assigner::x_GetBioseq().
|
private |
|
virtual |
Implements ITSE_Assigner.
Definition at line 168 of file tse_assigner.cpp.
References eEmptyGuard, CTSE_Info::GetAnnotLock(), CTSE_Info::GetDataSource(), CDSAnnotLockWriteGuard::Guard(), CTSE_Info::HasDataSource(), and CTSE_Chunk_Info::x_UpdateAnnotIndex().