NCBI C++ ToolKit
|
Search Toolkit Book for CBioseq_Info
#include <objmgr/impl/bioseq_info.hpp>
Protected Member Functions | |
TObjAnnot & | x_SetObjAnnot (void) |
void | x_ResetObjAnnot (void) |
void | x_ResetSeqMap (void) |
void | x_SetChangedSeqMap (void) |
![]() | |
bool | x_IsEndNextDesc (TDesc_CI iter) const |
TDesc_CI | x_FindDesc (TDescrMutexGuard &guard, TDesc_CI iter, TDescTypeMask types) const |
void | x_PrefetchDesc (TDescrMutexGuard &guard, TDesc_CI last, TDescTypeMask types) const |
![]() | |
void | x_BaseParentAttach (CTSE_Info_Object &parent) |
void | x_BaseParentDetach (CTSE_Info_Object &parent) |
void | x_AttachObject (CTSE_Info_Object &object) |
void | x_DetachObject (CTSE_Info_Object &object) |
![]() | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Private Types | |
typedef CBioseq_Base_Info | TParent |
Static Private Member Functions | |
static CRef< TObject > | sx_ShallowCopy (const TObject &obj) |
static CRef< TInst > | sx_ShallowCopy (const TInst &inst) |
Private Attributes | |
CRef< TObject > | m_Object |
TId | m_Id |
CRef< CSeqMap > | m_SeqMap |
CFastMutex | m_SeqMap_Mtx |
TChunkIds | m_Seq_dataChunks |
TChunkId | m_AssemblyChunk |
int | m_FeatureFetchPolicy |
atomic< int > | m_IdChangeCounter |
Friends | |
class | CDataSource |
class | CScope_Impl |
class | CTSE_Info |
class | CSeq_entry_Info |
class | CBioseq_set_Info |
class | CSeqMap |
Additional Inherited Members | |
![]() | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
Define method to throw null pointer exception. More... | |
static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
static EAllocFillMode | GetAllocFillMode (void) |
static void | SetAllocFillMode (EAllocFillMode mode) |
static void | SetAllocFillMode (const string &value) |
Set mode from configuration parameter value. More... | |
![]() | |
static void | EnableDebugDump (bool on) |
![]() | |
static const TCount | eCounterBitsCanBeDeleted = 1 << 0 |
Define possible object states. More... | |
static const TCount | eCounterBitsInPlainHeap = 1 << 1 |
Heap signature was found. More... | |
static const TCount | eCounterBitsPlaceMask |
Mask for 'in heap' state flags. More... | |
static const int | eCounterStep = 1 << 2 |
Skip over the "in heap" bits. More... | |
static const TCount | eCounterValid = TCount(1) << (sizeof(TCount) * 8 - 2) |
Minimal value for valid objects (reference counter is zero) Must be a single bit value. More... | |
static const TCount | eCounterStateMask |
Valid object, and object in heap. More... | |
![]() | |
typedef CFastMutex | TDescrMutex |
typedef CFastMutexGuard | TDescrMutexGuard |
typedef vector< TDescTypeMask > | TDescTypeMasks |
![]() | |
TAnnot | m_Annot |
TObjAnnot * | m_ObjAnnot |
TChunkIds | m_DescrChunks |
TDescTypeMasks | m_DescrTypeMasks |
TChunkIds | m_AnnotChunks |
TDescrMutex | m_DescrMutex |
Definition at line 75 of file bioseq_info.hpp.
typedef vector<CSeq_id_Handle> CBioseq_Info::TId |
Definition at line 91 of file bioseq_info.hpp.
typedef TObject::TInst CBioseq_Info::TInst |
Definition at line 109 of file bioseq_info.hpp.
typedef TInst::TExt CBioseq_Info::TInst_Ext |
Definition at line 174 of file bioseq_info.hpp.
typedef TInst::TFuzz CBioseq_Info::TInst_Fuzz |
Definition at line 142 of file bioseq_info.hpp.
typedef TInst::THist CBioseq_Info::TInst_Hist |
Definition at line 182 of file bioseq_info.hpp.
Definition at line 190 of file bioseq_info.hpp.
Definition at line 211 of file bioseq_info.hpp.
Definition at line 204 of file bioseq_info.hpp.
Definition at line 197 of file bioseq_info.hpp.
Definition at line 133 of file bioseq_info.hpp.
typedef TInst::TMol CBioseq_Info::TInst_Mol |
Definition at line 125 of file bioseq_info.hpp.
typedef TInst::TRepr CBioseq_Info::TInst_Repr |
Definition at line 117 of file bioseq_info.hpp.
Definition at line 166 of file bioseq_info.hpp.
Definition at line 158 of file bioseq_info.hpp.
Definition at line 150 of file bioseq_info.hpp.
typedef CBioseq CBioseq_Info::TObject |
Definition at line 84 of file bioseq_info.hpp.
|
private |
Definition at line 77 of file bioseq_info.hpp.
|
explicit |
Definition at line 95 of file bioseq_info.cpp.
References info, CBioseq_Base_Info::m_AnnotChunks, m_AssemblyChunk, CBioseq_Base_Info::m_DescrChunks, m_Seq_dataChunks, and x_SetObject().
|
explicit |
Definition at line 86 of file bioseq_info.cpp.
|
virtual |
Definition at line 113 of file bioseq_info.cpp.
References x_ResetSeqMap().
bool CBioseq_Info::AddId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 431 of file bioseq_info.cpp.
References CSeq_id::Assign(), GetSeqId(), CTSE_Info_Object::GetTSE_Info(), m_Id, m_IdChangeCounter, m_Object, and CTSE_Info::x_SetBioseqId().
Referenced by x_ApplyCmd().
bool CBioseq_Info::CanGetId | ( | void | ) | const |
Definition at line 401 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::CanGetId().
bool CBioseq_Info::CanGetInst | ( | void | ) | const |
Definition at line 535 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::CanGetInst(), CanGetInst_Fuzz(), CanGetInst_Hist(), CanGetInst_Length(), CanGetInst_Mol(), CanGetInst_Repr(), CanGetInst_Strand(), and CanGetInst_Topology().
bool CBioseq_Info::CanGetInst_Ext | ( | void | ) | const |
Definition at line 875 of file bioseq_info.cpp.
References IsSetInst_Ext().
Referenced by CBioseq_Handle::CanGetInst_Ext().
bool CBioseq_Info::CanGetInst_Fuzz | ( | void | ) | const |
Definition at line 725 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Fuzz().
bool CBioseq_Info::CanGetInst_Hist | ( | void | ) | const |
Definition at line 917 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Hist(), CanGetInst_Hist_Assembly(), CanGetInst_Hist_Deleted(), CanGetInst_Hist_Replaced_by(), and CanGetInst_Hist_Replaces().
bool CBioseq_Info::CanGetInst_Hist_Assembly | ( | void | ) | const |
Definition at line 959 of file bioseq_info.cpp.
References CanGetInst_Hist().
bool CBioseq_Info::CanGetInst_Hist_Deleted | ( | void | ) | const |
Definition at line 1051 of file bioseq_info.cpp.
References CanGetInst_Hist(), and m_Object.
bool CBioseq_Info::CanGetInst_Hist_Replaced_by | ( | void | ) | const |
Definition at line 1021 of file bioseq_info.cpp.
References CanGetInst_Hist(), and m_Object.
bool CBioseq_Info::CanGetInst_Hist_Replaces | ( | void | ) | const |
Definition at line 991 of file bioseq_info.cpp.
References CanGetInst_Hist(), and m_Object.
bool CBioseq_Info::CanGetInst_Length | ( | void | ) | const |
Definition at line 670 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Length().
bool CBioseq_Info::CanGetInst_Mol | ( | void | ) | const |
Definition at line 627 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Mol().
bool CBioseq_Info::CanGetInst_Repr | ( | void | ) | const |
Definition at line 585 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Repr().
bool CBioseq_Info::CanGetInst_Seq_data | ( | void | ) | const |
Definition at line 833 of file bioseq_info.cpp.
References IsSetInst_Seq_data().
Referenced by CBioseq_Handle::CanGetInst_Seq_data().
bool CBioseq_Info::CanGetInst_Strand | ( | void | ) | const |
Definition at line 793 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Strand().
bool CBioseq_Info::CanGetInst_Topology | ( | void | ) | const |
Definition at line 759 of file bioseq_info.cpp.
References CanGetInst(), and m_Object.
Referenced by CBioseq_Handle::CanGetInst_Topology().
Definition at line 126 of file bioseq_info.cpp.
References m_Object, and CTSE_Info_Object::x_UpdateCore().
Referenced by CScope_Impl::AddSharedBioseq(), and CBioseq_Handle::GetBioseqCore().
CBioseq_Info::TInst_Length CBioseq_Info::GetBioseqLength | ( | void | ) | const |
Definition at line 704 of file bioseq_info.cpp.
References GetInst_Length(), IsSetInst_Length(), and x_CalcBioseqLength().
Referenced by CDataLoader::GetSequenceLength(), x_CalcBioseqLength(), and CSeqMap::x_ResolveSegmentLength().
Definition at line 119 of file bioseq_info.cpp.
References m_Object, and CTSE_Info_Object::x_UpdateComplete().
Referenced by CBioseq_Handle::GetCompleteBioseq().
int CBioseq_Info::GetFeatureFetchPolicy | ( | void | ) | const |
Definition at line 243 of file bioseq_info.cpp.
References CSeqdesc_Base::e_User, CBioseq_Handle::eFeatureFetchPolicy_allow_far, CBioseq_Handle::eFeatureFetchPolicy_default, CBioseq_Handle::eFeatureFetchPolicy_only_near, CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_object_Base::GetType(), CSeqdesc_Base::GetUser(), CBioseq_Base_Info::IsSetDescr(), CObject_id_Base::IsStr(), CUser_field_Base::C_Data::IsStr(), CSeqdesc_Base::IsUser(), ITERATE, m_FeatureFetchPolicy, str(), CBioseq_Base_Info::x_GetFirstDesc(), CBioseq_Base_Info::x_GetNextDesc(), and CBioseq_Base_Info::x_IsEndDesc().
const CBioseq_Info::TId & CBioseq_Info::GetId | ( | void | ) | const |
Definition at line 407 of file bioseq_info.cpp.
References m_Id.
Referenced by CMasterSeqSegments::CMasterSeqSegments(), CTSE_ScopeInfo::GetBioseqLock(), CDataLoader::GetExternalAnnotRecords(), CGBDataLoader_Native::GetExternalAnnotRecordsNA(), CPSGDataLoader::GetExternalAnnotRecordsNA(), CDataLoader::GetExternalRecords(), CLDS2_DataLoader::GetExternalRecords(), CGBDataLoader_Native::GetExternalRecords(), CBioseq_Handle::GetId(), CDataLoader::GetIds(), GetSequenceClass(), CDataSource::GetTSESetWithBioseqAnnots(), s_FormatCall(), s_HasMasterId(), CDataSource::x_AddTSEBioseqAnnots(), and CSeq_entry_Info::x_GetBioseqsIds().
const CBioseq_Info::TInst & CBioseq_Info::GetInst | ( | void | ) | const |
Definition at line 541 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_Handle::GetInst(), and x_CalcBioseqLength().
const CBioseq_Info::TInst_Ext & CBioseq_Info::GetInst_Ext | ( | void | ) | const |
Definition at line 881 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_Handle::GetInst_Ext().
const CBioseq_Info::TInst_Fuzz & CBioseq_Info::GetInst_Fuzz | ( | void | ) | const |
Definition at line 731 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::GetInst_Fuzz().
const CBioseq_Info::TInst_Hist & CBioseq_Info::GetInst_Hist | ( | void | ) | const |
Definition at line 923 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_Handle::GetInst_Hist().
const CBioseq_Info::TInst_Hist_Assembly & CBioseq_Info::GetInst_Hist_Assembly | ( | void | ) | const |
Definition at line 966 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, m_Object, and CTSE_Info_Object::x_Update().
const CBioseq_Info::TInst_Hist_Deleted & CBioseq_Info::GetInst_Hist_Deleted | ( | void | ) | const |
Definition at line 1058 of file bioseq_info.cpp.
References m_Object.
const CBioseq_Info::TInst_Hist_Replaced_by & CBioseq_Info::GetInst_Hist_Replaced_by | ( | void | ) | const |
Definition at line 1029 of file bioseq_info.cpp.
References m_Object.
const CBioseq_Info::TInst_Hist_Replaces & CBioseq_Info::GetInst_Hist_Replaces | ( | void | ) | const |
Definition at line 998 of file bioseq_info.cpp.
References m_Object.
CBioseq_Info::TInst_Length CBioseq_Info::GetInst_Length | ( | void | ) | const |
Definition at line 676 of file bioseq_info.cpp.
References CSeqMap::GetLength(), m_Object, m_SeqMap, and m_SeqMap_Mtx.
Referenced by GetBioseqLength(), and CBioseq_Handle::GetInst_Length().
CBioseq_Info::TInst_Mol CBioseq_Info::GetInst_Mol | ( | void | ) | const |
Definition at line 633 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::GetInst_Mol(), CDataLoader::GetSequenceType(), CDataSource::x_CollectBioseqs(), and CBioseq_CI::x_IsValidMolType().
CBioseq_Info::TInst_Repr CBioseq_Info::GetInst_Repr | ( | void | ) | const |
Definition at line 591 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::GetInst_Repr().
const CBioseq_Info::TInst_Seq_data & CBioseq_Info::GetInst_Seq_data | ( | void | ) | const |
Definition at line 839 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_Handle::GetInst_Seq_data().
CBioseq_Info::TInst_Strand CBioseq_Info::GetInst_Strand | ( | void | ) | const |
Definition at line 799 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::GetInst_Strand().
CBioseq_Info::TInst_Topology CBioseq_Info::GetInst_Topology | ( | void | ) | const |
Definition at line 765 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::GetInst_Topology().
Definition at line 1245 of file bioseq_info.cpp.
References CSeqMap::CreateSeqMapForBioseq(), CSeqMap::m_Bioseq, m_Object, m_SeqMap, and m_SeqMap_Mtx.
Referenced by CMasterSeqSegments::CMasterSeqSegments(), CBioseq_Handle::GetSeqMap(), and CTSE_Default_Assigner::LoadSequence().
int CBioseq_Info::GetSequenceClass | ( | void | ) | const |
Definition at line 1277 of file bioseq_info.cpp.
References CSeq_id_Base::e_Ddbj, CSeq_id_Base::e_Embl, CSeq_id_Base::e_Genbank, CSeq_id_Base::e_Other, CSeq_id_Base::e_Tpd, CSeq_id_Base::e_Tpe, CSeq_id_Base::e_Tpg, CBioseq_Handle::eSequenceClass_INSD, CBioseq_Handle::eSequenceClass_none, CBioseq_Handle::eSequenceClass_REFSEQ, CBioseq_Handle::eSequenceClass_TPA, GetId(), and ITERATE.
Referenced by CSeqMap::x_GetSequenceClass().
TTaxId CBioseq_Info::GetTaxId | ( | void | ) | const |
Definition at line 1256 of file bioseq_info.cpp.
References CSeqdesc_Base::e_Org, CSeqdesc_Base::e_Source, COrg_ref::GetTaxId(), CBioseq_Base_Info::x_SearchFirstDesc(), and ZERO_TAX_ID.
Referenced by CDataLoader::GetTaxId().
bool CBioseq_Info::HasId | ( | const CSeq_id_Handle & | id | ) | const |
Definition at line 425 of file bioseq_info.cpp.
References m_Id.
string CBioseq_Info::IdString | ( | void | ) | const |
Definition at line 1221 of file bioseq_info.cpp.
bool CBioseq_Info::IsAa | ( | void | ) | const |
Definition at line 1076 of file bioseq_info.cpp.
References m_Object.
bool CBioseq_Info::IsNa | ( | void | ) | const |
Definition at line 1070 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_CI::x_IsValidMolType().
bool CBioseq_Info::IsSetId | ( | void | ) | const |
Definition at line 395 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::IsSetId().
bool CBioseq_Info::IsSetInst | ( | void | ) | const |
Definition at line 529 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_Handle::IsSetInst(), IsSetInst_Ext(), IsSetInst_Fuzz(), IsSetInst_Hist(), IsSetInst_Length(), IsSetInst_Mol(), IsSetInst_Repr(), IsSetInst_Seq_data(), IsSetInst_Strand(), IsSetInst_Topology(), and ResetInst().
bool CBioseq_Info::IsSetInst_Ext | ( | void | ) | const |
Definition at line 869 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CanGetInst_Ext(), CBioseq_Handle::IsSetInst_Ext(), and ResetInst_Ext().
bool CBioseq_Info::IsSetInst_Fuzz | ( | void | ) | const |
Definition at line 719 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Fuzz(), and ResetInst_Fuzz().
bool CBioseq_Info::IsSetInst_Hist | ( | void | ) | const |
Definition at line 911 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Hist(), IsSetInst_Hist_Assembly(), IsSetInst_Hist_Deleted(), IsSetInst_Hist_Replaced_by(), IsSetInst_Hist_Replaces(), and ResetInst_Hist().
bool CBioseq_Info::IsSetInst_Hist_Assembly | ( | void | ) | const |
Definition at line 952 of file bioseq_info.cpp.
References IsSetInst_Hist(), m_AssemblyChunk, and m_Object.
bool CBioseq_Info::IsSetInst_Hist_Deleted | ( | void | ) | const |
Definition at line 1045 of file bioseq_info.cpp.
References IsSetInst_Hist(), and m_Object.
bool CBioseq_Info::IsSetInst_Hist_Replaced_by | ( | void | ) | const |
Definition at line 1014 of file bioseq_info.cpp.
References IsSetInst_Hist(), and m_Object.
bool CBioseq_Info::IsSetInst_Hist_Replaces | ( | void | ) | const |
Definition at line 985 of file bioseq_info.cpp.
References IsSetInst_Hist(), and m_Object.
bool CBioseq_Info::IsSetInst_Length | ( | void | ) | const |
Definition at line 664 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by GetBioseqLength(), CBioseq_Handle::IsSetInst_Length(), and ResetInst_Length().
bool CBioseq_Info::IsSetInst_Mol | ( | void | ) | const |
Definition at line 621 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Mol(), and ResetInst_Mol().
bool CBioseq_Info::IsSetInst_Repr | ( | void | ) | const |
Definition at line 579 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Repr(), and ResetInst_Repr().
bool CBioseq_Info::IsSetInst_Seq_data | ( | void | ) | const |
Definition at line 822 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, IsSetInst(), m_Object, m_Seq_dataChunks, and CTSE_Info_Object::x_NeedUpdate().
Referenced by CanGetInst_Seq_data(), CBioseq_Handle::IsSetInst_Seq_data(), and ResetInst_Seq_data().
bool CBioseq_Info::IsSetInst_Strand | ( | void | ) | const |
Definition at line 787 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Strand(), and ResetInst_Strand().
bool CBioseq_Info::IsSetInst_Topology | ( | void | ) | const |
Definition at line 753 of file bioseq_info.cpp.
References IsSetInst(), and m_Object.
Referenced by CBioseq_Handle::IsSetInst_Topology(), and ResetInst_Topology().
|
private |
bool CBioseq_Info::RemoveId | ( | const CSeq_id_Handle & | id | ) |
Definition at line 447 of file bioseq_info.cpp.
References CTSE_Info_Object::GetBioObjectId(), CSeq_id_Handle::GetHandle(), CTSE_Info_Object::GetTSE_Info(), m_Id, m_IdChangeCounter, m_Object, NON_CONST_ITERATE, CTSE_Info_Object::SetBioObjectId(), and CTSE_Info::x_ResetBioseqId().
Referenced by x_ApplyCmd().
void CBioseq_Info::ResetId | ( | void | ) |
Definition at line 413 of file bioseq_info.cpp.
References CTSE_Info_Object::GetTSE_Info(), ITERATE, m_Id, m_IdChangeCounter, m_Object, CTSE_Info_Object::SetBioObjectId(), and CTSE_Info::x_ResetBioseqId().
Referenced by x_ApplyCmd().
void CBioseq_Info::ResetInst | ( | void | ) |
Definition at line 555 of file bioseq_info.cpp.
References IsSetInst(), m_Object, m_Seq_dataChunks, and x_ResetSeqMap().
Referenced by CBioseq_EditHandle::x_RealResetInst().
void CBioseq_Info::ResetInst_Ext | ( | ) |
Definition at line 896 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, IsSetInst_Ext(), m_Object, m_Seq_dataChunks, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealResetInst_Ext().
void CBioseq_Info::ResetInst_Fuzz | ( | ) |
Definition at line 742 of file bioseq_info.cpp.
References IsSetInst_Fuzz(), and m_Object.
Referenced by CBioseq_EditHandle::x_RealResetInst_Fuzz().
void CBioseq_Info::ResetInst_Hist | ( | ) |
Definition at line 938 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, IsSetInst_Hist(), m_AssemblyChunk, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealResetInst_Hist().
void CBioseq_Info::ResetInst_Length | ( | ) |
Definition at line 695 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, IsSetInst_Length(), m_Object, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealResetInst_Length().
void CBioseq_Info::ResetInst_Mol | ( | ) |
Definition at line 648 of file bioseq_info.cpp.
References IsSetInst_Mol(), m_Object, m_SeqMap, m_SeqMap_Mtx, and CSeqMap::ResetMol().
Referenced by CBioseq_EditHandle::x_RealResetInst_Mol().
void CBioseq_Info::ResetInst_Repr | ( | ) |
Definition at line 606 of file bioseq_info.cpp.
References IsSetInst_Repr(), m_Object, m_SeqMap, m_SeqMap_Mtx, and CSeqMap::ResetRepr().
Referenced by CBioseq_EditHandle::x_RealResetInst_Repr().
void CBioseq_Info::ResetInst_Seq_data | ( | ) |
Definition at line 854 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, IsSetInst_Seq_data(), m_Object, m_Seq_dataChunks, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealResetInst_Seq_data().
void CBioseq_Info::ResetInst_Strand | ( | ) |
Definition at line 810 of file bioseq_info.cpp.
References IsSetInst_Strand(), and m_Object.
Referenced by CBioseq_EditHandle::x_RealResetInst_Strand().
void CBioseq_Info::ResetInst_Topology | ( | ) |
Definition at line 776 of file bioseq_info.cpp.
References IsSetInst_Topology(), and m_Object.
Referenced by CBioseq_EditHandle::x_RealResetInst_Topology().
void CBioseq_Info::SetInst | ( | TInst & | v | ) |
Definition at line 548 of file bioseq_info.cpp.
References m_Object, m_Seq_dataChunks, and x_ResetSeqMap().
Referenced by CBioseq_EditHandle::x_RealSetInst().
void CBioseq_Info::SetInst_Ext | ( | TInst_Ext & | v | ) |
Definition at line 888 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, m_Seq_dataChunks, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealSetInst_Ext().
void CBioseq_Info::SetInst_Fuzz | ( | TInst_Fuzz & | v | ) |
Definition at line 737 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_EditHandle::x_RealSetInst_Fuzz().
void CBioseq_Info::SetInst_Hist | ( | TInst_Hist & | v | ) |
Definition at line 930 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, m_AssemblyChunk, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealSetInst_Hist().
void CBioseq_Info::SetInst_Hist_Assembly | ( | const TInst_Hist_Assembly & | v | ) |
Definition at line 973 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_assembly, m_AssemblyChunk, m_Object, and CTSE_Info_Object::x_Update().
Referenced by CTSE_Default_Assigner::LoadAssembly().
void CBioseq_Info::SetInst_Hist_Deleted | ( | TInst_Hist_Deleted & | v | ) |
Definition at line 1064 of file bioseq_info.cpp.
References m_Object.
void CBioseq_Info::SetInst_Hist_Replaced_by | ( | TInst_Hist_Replaced_by & | v | ) |
Definition at line 1035 of file bioseq_info.cpp.
References m_Object.
void CBioseq_Info::SetInst_Hist_Replaces | ( | TInst_Hist_Replaces & | v | ) |
Definition at line 1004 of file bioseq_info.cpp.
References m_Object.
void CBioseq_Info::SetInst_Length | ( | TInst_Length | v | ) |
Definition at line 688 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealSetInst_Length().
void CBioseq_Info::SetInst_Mol | ( | TInst_Mol | v | ) |
Definition at line 639 of file bioseq_info.cpp.
References m_Object, m_SeqMap, m_SeqMap_Mtx, and CSeqMap::SetMol().
Referenced by CBioseq_EditHandle::x_RealSetInst_Mol().
void CBioseq_Info::SetInst_Repr | ( | TInst_Repr | v | ) |
Definition at line 597 of file bioseq_info.cpp.
References m_Object, m_SeqMap, m_SeqMap_Mtx, and CSeqMap::SetRepr().
Referenced by CBioseq_EditHandle::x_RealSetInst_Repr().
void CBioseq_Info::SetInst_Seq_data | ( | TInst_Seq_data & | v | ) |
Definition at line 846 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Object, m_Seq_dataChunks, x_ResetSeqMap(), and CTSE_Info_Object::x_Update().
Referenced by CBioseq_EditHandle::x_RealSetInst_Seq_data().
void CBioseq_Info::SetInst_Strand | ( | TInst_Strand | v | ) |
Definition at line 805 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_EditHandle::x_RealSetInst_Strand().
void CBioseq_Info::SetInst_Topology | ( | TInst_Topology | v | ) |
Definition at line 771 of file bioseq_info.cpp.
References m_Object.
Referenced by CBioseq_EditHandle::x_RealSetInst_Topology().
Definition at line 357 of file bioseq_info.cpp.
References CSeq_inst_Base::GetExt(), CSeq_inst_Base::GetFuzz(), CSeq_inst_Base::GetHist(), CSeq_inst_Base::GetLength(), CSeq_inst_Base::GetMol(), CSeq_inst_Base::GetRepr(), CSeq_inst_Base::GetSeq_data(), CSeq_inst_Base::GetStrand(), CSeq_inst_Base::GetTopology(), CSeq_inst_Base::IsSetExt(), CSeq_inst_Base::IsSetFuzz(), CSeq_inst_Base::IsSetHist(), CSeq_inst_Base::IsSetLength(), CSeq_inst_Base::IsSetMol(), CSeq_inst_Base::IsSetRepr(), CSeq_inst_Base::IsSetSeq_data(), CSeq_inst_Base::IsSetStrand(), and CSeq_inst_Base::IsSetTopology().
Definition at line 337 of file bioseq_info.cpp.
References CSeq_descr_Base::Get(), CBioseq_Base::GetAnnot(), CBioseq_Base::GetDescr(), CBioseq_Base::GetId(), CBioseq_Base::GetInst(), CBioseq_Base::IsSetAnnot(), CBioseq_Base::IsSetDescr(), CBioseq_Base::IsSetId(), and CBioseq_Base::IsSetInst().
Referenced by x_SetObject().
void CBioseq_Info::x_AddAssemblyChunkId | ( | TChunkId | chunk_id | ) |
Definition at line 146 of file bioseq_info.cpp.
References _ASSERT, CTSE_Info_Object::fNeedUpdate_assembly, m_AssemblyChunk, and CTSE_Info_Object::x_SetNeedUpdate().
Referenced by CTSE_Default_Assigner::AddAssemblyInfo().
void CBioseq_Info::x_AddSeq_dataChunkId | ( | TChunkId | chunk_id | ) |
Definition at line 139 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, m_Seq_dataChunks, and CTSE_Info_Object::x_SetNeedUpdate().
void CBioseq_Info::x_AttachMap | ( | CSeqMap & | seq_map | ) |
Definition at line 1233 of file bioseq_info.cpp.
References CSeqMap::m_Bioseq, m_SeqMap, m_SeqMap_Mtx, NCBI_THROW, and CRef< C, Locker >::Reset().
|
private |
Definition at line 1196 of file bioseq_info.cpp.
References delta(), ITERATE, and x_CalcBioseqLength().
|
private |
Definition at line 1206 of file bioseq_info.cpp.
References CDelta_seq_Base::e_Literal, CDelta_seq_Base::e_Loc, CSeq_literal_Base::GetLength(), CDelta_seq_Base::GetLiteral(), CDelta_seq_Base::GetLoc(), NCBI_THROW, CDelta_seq_Base::Which(), and x_CalcBioseqLength().
|
private |
Definition at line 1127 of file bioseq_info.cpp.
References CPacked_seqint_Base::Get(), and ITERATE.
Definition at line 1186 of file bioseq_info.cpp.
References CSeg_ext_Base::Get(), ITERATE, and x_CalcBioseqLength().
Definition at line 1114 of file bioseq_info.cpp.
References CTSE_Info::FindMatchingBioseq(), GetBioseqLength(), CSeq_id_Handle::GetHandle(), CTSE_Info_Object::GetTSE_Info(), NCBI_THROW, and whole.
Definition at line 1092 of file bioseq_info.cpp.
References CSeq_ext_Base::e_Delta, CSeq_ext_Base::e_Ref, CSeq_ext_Base::e_Seg, CRef_ext_Base::Get(), CSeq_ext_Base::GetDelta(), CSeq_inst_Base::GetExt(), CSeq_ext_Base::GetRef(), CSeq_ext_Base::GetSeg(), CSeq_inst_Base::IsSetExt(), NCBI_THROW, CSeq_ext_Base::Which(), and x_CalcBioseqLength().
Definition at line 1137 of file bioseq_info.cpp.
References CSeq_loc_Base::e_Empty, CSeq_loc_Base::e_Equiv, CSeq_loc_Base::e_Int, CSeq_loc_Base::e_Mix, CSeq_loc_Base::e_not_set, CSeq_loc_Base::e_Null, CSeq_loc_Base::e_Packed_int, CSeq_loc_Base::e_Packed_pnt, CSeq_loc_Base::e_Pnt, CSeq_loc_Base::e_Whole, CSeq_loc_Base::GetEquiv(), CSeq_loc_Base::GetInt(), CSeq_interval::GetLength(), CSeq_loc_Base::GetMix(), CSeq_loc_Base::GetPacked_int(), CSeq_loc_Base::GetPacked_pnt(), CPacked_seqpnt_Base::GetPoints(), CSeq_loc_Base::GetWhole(), NCBI_THROW, CSeq_loc_Base::Which(), and x_CalcBioseqLength().
|
private |
Definition at line 1176 of file bioseq_info.cpp.
References CSeq_loc_equiv_Base::Get(), ITERATE, and x_CalcBioseqLength().
|
private |
Definition at line 1166 of file bioseq_info.cpp.
References CSeq_loc_mix_Base::Get(), ITERATE, and x_CalcBioseqLength().
|
private |
Definition at line 1086 of file bioseq_info.cpp.
References GetInst().
Referenced by GetBioseqLength(), and x_CalcBioseqLength().
|
virtual |
|
virtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 155 of file bioseq_info.cpp.
References flags, CTSE_Info_Object::fNeedUpdate_assembly, CTSE_Info_Object::fNeedUpdate_seq_data, m_AssemblyChunk, m_Object, m_Seq_dataChunks, m_SeqMap, m_SeqMap_Mtx, CBioseq_Base_Info::x_DoUpdate(), CTSE_Info_Object::x_LoadChunk(), CTSE_Info_Object::x_LoadChunks(), and CSeqMap::x_UpdateSeq_inst().
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 176 of file bioseq_info.cpp.
References m_Object, CBioseq_Base_Info::x_DSAttachContents(), and x_DSMapObject().
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 183 of file bioseq_info.cpp.
References m_Object, CBioseq_Base_Info::x_DSDetachContents(), and x_DSUnmapObject().
|
private |
Definition at line 190 of file bioseq_info.cpp.
References CDataSource::x_Map().
Referenced by x_DSAttachContents(), and x_SetObject().
|
private |
Definition at line 196 of file bioseq_info.cpp.
References CDataSource::x_Unmap().
Referenced by x_DSDetachContents().
|
virtual |
|
inlineprivate |
Definition at line 311 of file bioseq_info.hpp.
References m_Object.
Definition at line 318 of file bioseq_info.hpp.
References m_Object.
|
virtual |
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 224 of file bioseq_info.cpp.
References _ASSERT, CSeq_entry_Base::GetSeq(), m_Object, CSeq_entry::ParentizeOneLevel(), CSeq_entry_Info::x_GetObject(), and CBioseq_Base_Info::x_ParentAttach().
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 236 of file bioseq_info.cpp.
References CBioseq_Base_Info::x_ParentDetach().
|
virtual |
|
protectedvirtual |
|
protected |
Definition at line 565 of file bioseq_info.cpp.
References CSeqMap::m_Bioseq, m_SeqMap, m_SeqMap_Mtx, and CRef< C, Locker >::Reset().
Referenced by ResetInst(), ResetInst_Ext(), ResetInst_Length(), ResetInst_Seq_data(), SetInst(), SetInst_Ext(), SetInst_Length(), SetInst_Seq_data(), and ~CBioseq_Info().
|
protected |
Definition at line 133 of file bioseq_info.cpp.
References CTSE_Info_Object::fNeedUpdate_seq_data, and CTSE_Info_Object::x_SetNeedUpdate().
Referenced by CSeqMap::x_SetChanged().
|
virtual |
|
virtual |
Implements CBioseq_Base_Info.
Definition at line 491 of file bioseq_info.cpp.
References m_Object.
Referenced by AddMasterDescr().
|
protectedvirtual |
|
private |
Definition at line 312 of file bioseq_info.cpp.
References _ASSERT, CTSE_Info_Object::GetDataSource(), CTSE_Info_Object::HasDataSource(), info, CSeqMap::m_Bioseq, m_FeatureFetchPolicy, m_Id, m_Object, m_SeqMap, m_SeqMap_Mtx, sx_ShallowCopy(), x_DSMapObject(), and CBioseq_Base_Info::x_SetAnnot().
|
private |
Definition at line 292 of file bioseq_info.cpp.
References _ASSERT, CTSE_Info_Object::GetDataSource(), CSeq_id_Handle::GetHandle(), CBioseq_Base::GetId(), CTSE_Info_Object::HasDataSource(), CBioseq_Base::IsSetAnnot(), CBioseq_Base::IsSetId(), ITERATE, m_FeatureFetchPolicy, m_Id, m_Object, CRef< C, Locker >::Reset(), x_DSMapObject(), and CBioseq_Base_Info::x_SetAnnot().
Referenced by CBioseq_Info().
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 202 of file bioseq_info.cpp.
References CTSE_Info_Object::SetBioObjectId(), CTSE_Info::x_IndexBioseq(), and CBioseq_Base_Info::x_TSEAttachContents().
|
privatevirtual |
Reimplemented from CBioseq_Base_Info.
Definition at line 215 of file bioseq_info.cpp.
References ITERATE, m_Id, CTSE_Info::x_ResetBioseqId(), and CBioseq_Base_Info::x_TSEDetachContents().
|
friend |
Definition at line 241 of file bioseq_info.hpp.
|
friend |
Definition at line 236 of file bioseq_info.hpp.
|
friend |
Definition at line 237 of file bioseq_info.hpp.
|
friend |
Definition at line 240 of file bioseq_info.hpp.
|
friend |
Definition at line 242 of file bioseq_info.hpp.
|
friend |
Definition at line 239 of file bioseq_info.hpp.
|
private |
Definition at line 296 of file bioseq_info.hpp.
Referenced by CBioseq_Info(), IsSetInst_Hist_Assembly(), ResetInst_Hist(), SetInst_Hist(), SetInst_Hist_Assembly(), x_AddAssemblyChunkId(), and x_DoUpdate().
|
mutableprivate |
Definition at line 297 of file bioseq_info.hpp.
Referenced by GetFeatureFetchPolicy(), and x_SetObject().
|
private |
Definition at line 289 of file bioseq_info.hpp.
Referenced by AddId(), GetId(), HasId(), IdString(), RemoveId(), ResetId(), x_SetObject(), and x_TSEDetachContents().
|
private |
Definition at line 298 of file bioseq_info.hpp.
Referenced by AddId(), RemoveId(), ResetId(), and CScope_Impl::x_GetTSESetWithAnnots().
Definition at line 286 of file bioseq_info.hpp.
Referenced by AddId(), CanGetId(), CanGetInst(), CanGetInst_Fuzz(), CanGetInst_Hist(), CanGetInst_Hist_Deleted(), CanGetInst_Hist_Replaced_by(), CanGetInst_Hist_Replaces(), CanGetInst_Length(), CanGetInst_Mol(), CanGetInst_Repr(), CanGetInst_Strand(), CanGetInst_Topology(), GetBioseqCore(), GetCompleteBioseq(), GetInst(), GetInst_Ext(), GetInst_Fuzz(), GetInst_Hist(), GetInst_Hist_Assembly(), GetInst_Hist_Deleted(), GetInst_Hist_Replaced_by(), GetInst_Hist_Replaces(), GetInst_Length(), GetInst_Mol(), GetInst_Repr(), GetInst_Seq_data(), GetInst_Strand(), GetInst_Topology(), GetSeqMap(), IsAa(), IsNa(), IsSetId(), IsSetInst(), IsSetInst_Ext(), IsSetInst_Fuzz(), IsSetInst_Hist(), IsSetInst_Hist_Assembly(), IsSetInst_Hist_Deleted(), IsSetInst_Hist_Replaced_by(), IsSetInst_Hist_Replaces(), IsSetInst_Length(), IsSetInst_Mol(), IsSetInst_Repr(), IsSetInst_Seq_data(), IsSetInst_Strand(), IsSetInst_Topology(), RemoveId(), ResetId(), ResetInst(), ResetInst_Ext(), ResetInst_Fuzz(), ResetInst_Hist(), ResetInst_Length(), ResetInst_Mol(), ResetInst_Repr(), ResetInst_Seq_data(), ResetInst_Strand(), ResetInst_Topology(), SetInst(), SetInst_Ext(), SetInst_Fuzz(), SetInst_Hist(), SetInst_Hist_Assembly(), SetInst_Hist_Deleted(), SetInst_Hist_Replaced_by(), SetInst_Hist_Replaces(), SetInst_Length(), SetInst_Mol(), SetInst_Repr(), SetInst_Seq_data(), SetInst_Strand(), SetInst_Topology(), x_CanGetDescr(), x_DoUpdate(), x_DSAttachContents(), x_DSDetachContents(), x_GetDescr(), x_GetObject(), x_IsSetDescr(), x_ParentAttach(), x_ResetDescr(), x_ResetObjAnnot(), x_SetDescr(), x_SetObjAnnot(), and x_SetObject().
|
private |
Definition at line 295 of file bioseq_info.hpp.
Referenced by CBioseq_Info(), IsSetInst_Seq_data(), ResetInst(), ResetInst_Ext(), ResetInst_Seq_data(), SetInst(), SetInst_Ext(), SetInst_Seq_data(), x_AddSeq_dataChunkId(), and x_DoUpdate().
Definition at line 292 of file bioseq_info.hpp.
Referenced by GetInst_Length(), GetSeqMap(), ResetInst_Mol(), ResetInst_Repr(), SetInst_Mol(), SetInst_Repr(), x_AttachMap(), x_DoUpdate(), x_ResetSeqMap(), and x_SetObject().
|
mutableprivate |
Definition at line 293 of file bioseq_info.hpp.
Referenced by GetInst_Length(), GetSeqMap(), ResetInst_Mol(), ResetInst_Repr(), SetInst_Mol(), SetInst_Repr(), x_AttachMap(), x_DoUpdate(), x_ResetSeqMap(), and x_SetObject().