#include <seq_id_handle.hpp>
Inheritance diagram for CSeq_id_Handle:


Definition at line 144 of file seq_id_handle.hpp.
Public Types | |
| typedef set< CSeq_id_Handle > | TMatches |
Public Member Functions | |
| CSeq_id_Handle (void) | |
| CSeq_id_Handle (const CSeq_id_Info *info, int packed=0) | |
| CSeq_id_Handle (ENull) | |
| bool | operator== (const CSeq_id_Handle &handle) const |
| bool | operator!= (const CSeq_id_Handle &handle) const |
| bool | operator< (const CSeq_id_Handle &handle) const |
| bool | operator== (const CSeq_id &id) const |
| DECLARE_OPERATOR_BOOL_REF (m_Info) | |
| Check if the handle is a valid or an empty one. | |
| void | Reset (void) |
| Reset the handle (remove seq-id reference). | |
| bool | HaveMatchingHandles (void) const |
| bool | HaveReverseMatch (void) const |
| void | GetMatchingHandles (TMatches &matches) const |
| void | GetReverseMatchingHandles (TMatches &matches) const |
| bool | MatchesTo (const CSeq_id_Handle &h) const |
| True if *this matches to h. | |
| bool | IsBetter (const CSeq_id_Handle &h) const |
| True if "this" is a better bioseq than "h". | |
| string | AsString (void) const |
| CSeq_id::E_Choice | Which (void) const |
| bool | IsPacked (void) const |
| int | GetPacked (void) const |
| bool | IsGi (void) const |
| int | GetGi (void) const |
| unsigned | GetHash (void) const |
| CSeq_id::EAccessionInfo | IdentifyAccession (void) const |
| CConstRef< CSeq_id > | GetSeqId (void) const |
| CConstRef< CSeq_id > | GetSeqIdOrNull (void) const |
| CSeq_id_Mapper & | GetMapper (void) const |
| void | Swap (CSeq_id_Handle &idh) |
| const CSeq_id_Info * | x_GetInfo (void) const |
Static Public Member Functions | |
| static CSeq_id_Handle | GetHandle (const CSeq_id &id) |
| Normal way of getting a handle, works for any seq-id. | |
| static CSeq_id_Handle | GetHandle (const string &str_id) |
| Construct CSeq_id from string representation and return handle for it. | |
| static CSeq_id_Handle | GetHandle (int gi) |
| Faster way to create a handle for a gi. | |
| static CSeq_id_Handle | GetGiHandle (int gi) |
| Faster way to create a handle for a gi. | |
Private Attributes | |
| CConstRef< CSeq_id_Info, CSeq_id_InfoLocker > | m_Info |
| int | m_Packed |
Friends | |
| class | CSeq_id_Mapper |
| class | CSeq_id_Which_Tree |
|
|
Definition at line 210 of file seq_id_handle.hpp. |
|
|
Definition at line 148 of file seq_id_handle.hpp. |
|
||||||||||||
|
Definition at line 152 of file seq_id_handle.hpp. References _ASSERT. |
|
|
Definition at line 157 of file seq_id_handle.hpp. |
|
|
Reimplemented in CAlnSeqId. Definition at line 170 of file seq_id_handle.cpp. References GetSeqId(), IsGi(), m_Info, and m_Packed. Referenced by CAlnSeqId::AsString(), CSplitCacheApp::GetBioseqHandle(), CFeatGlyph::GetHTMLActiveAreas(), GetLabel(), CGBDataLoader::GetNamedAnnotAccessions(), CIdMapperApp::GetTargetString(), CReadDispatcher::LogStat(), CIdMapper::MapErrorString(), PConvertToString< CSeq_id_Handle >::operator()(), CSplitCacheApp::ProcessBlob(), CSGSegmentMapJob::x_Execute(), CGBDataLoader::x_GetRecords(), and CScope_Impl::x_ReportNewDataConflict(). |
|
|
Check if the handle is a valid or an empty one.
|
|
|
|
Faster way to create a handle for a gi.
Definition at line 172 of file seq_id_handle.hpp. References GetHandle(). Referenced by CSeqFetchQueue::Add(), ForEach(), GetId(), CSeq_feat_Handle::GetLocationId(), CSplitParser::Load(), CEditBioseqSampleApp::Run(), s_GetNewIdHandle(), s_RetrieveAlign(), s_RetrieveFeat(), CSplitParser::x_AddGiInterval(), CSplitParser::x_AddGiWhole(), CFeatureGraph::x_CreateMapRanges(), CSeq_annot_SNP_Info::x_UnmapAnnotObjects(), and CSeq_annot_SNP_Info::x_UpdateAnnotIndexContents(). |
|
|
Faster way to create a handle for a gi.
Definition at line 106 of file seq_id_handle.cpp. References CSeq_id_Mapper::GetInstance(). |
|
|
Construct CSeq_id from string representation and return handle for it.
Definition at line 118 of file seq_id_handle.cpp. References CSeq_id_Mapper::GetInstance(), and id. |
|
|
|
Definition at line 186 of file seq_id_handle.cpp. References CConstRef< C, Locker >::GetPointerOrNull(), m_Info, and m_Packed. |
|
|
Definition at line 276 of file seq_id_handle.hpp. References m_Info. Referenced by GetMatchingHandles(), GetReverseMatchingHandles(), HaveMatchingHandles(), HaveReverseMatch(), IsBetter(), MatchesTo(), and operator==(). |
|
|
Definition at line 137 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::GetMatchingHandles(). Referenced by CTSE_Info::GetSeqMatch(), CDataSource_ScopeInfo::x_GetSeqMatch(), and CDataSource::x_GetSeqMatch(). |
|
|
Definition at line 232 of file seq_id_handle.hpp. References m_Packed. Referenced by operator<<(). |
|
|
Definition at line 143 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::GetReverseMatchingHandles(). Referenced by CScope_Impl::GetTSESetWithAnnots(). |
|
|
|
Definition at line 262 of file seq_id_handle.hpp. References m_Info, and m_Packed. Referenced by CBioseq_Handle::GetInitialSeqIdOrNull(). |
|
|
Definition at line 125 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::HaveMatchingHandles(). Referenced by GetAccession(), CDataSource_ScopeInfo::x_GetSeqMatch(), and CDataSource::x_GetSeqMatch(). |
|
|
Definition at line 131 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::HaveReverseMatch(). |
|
|
Definition at line 246 of file seq_id_handle.hpp. References GetSeqId(). Referenced by BOOST_AUTO_TEST_CASE(), and CAlnSeqId::GetSequenceType(). |
|
|
True if "this" is a better bioseq than "h".
Definition at line 149 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::x_IsBetter(). Referenced by CBlobSplitterImpl::CopySkeleton(), CDataSource_ScopeInfo::x_GetSeqMatch(), and CDataSource::x_GetSeqMatch(). |
|
|
Definition at line 236 of file seq_id_handle.hpp. References CSeq_id_Base::e_Gi, m_Info, and m_Packed. Referenced by AsString(), BOOST_AUTO_TEST_CASE(), CCachedSequence::CCachedSequence(), CBlobSplitterImpl::CopySkeleton(), CFtableFormatter::FormatFeatHeader(), GetDirectLabel(), GetGi(), CId1Reader::GetGiBlob_ids(), GetGiForId(), CId1Reader::GetGiSeq_ids(), GetId(), GetLabel(), operator<<(), operator==(), s_GetAlignedSeqGi(), s_GetSeqIDString(), CSeq_id_Mapper::x_GetTree(), and CBuildDatabase::x_ResolveRemoteId(). |
|
|
Definition at line 228 of file seq_id_handle.hpp. References m_Packed. |
|
|
True if *this matches to h. This mean that *this is either the same as h, or more generic version of h. Definition at line 155 of file seq_id_handle.cpp. References GetMapper(), and CSeq_id_Mapper::x_Match(). |
|
|
Definition at line 181 of file seq_id_handle.hpp. References m_Info, and m_Packed. Referenced by CAlnSeqId::operator!=(). |
|
|
Definition at line 185 of file seq_id_handle.hpp. |
|
|
Definition at line 161 of file seq_id_handle.cpp. References CSeq_id_Mapper::GetHandle(), GetMapper(), IsGi(), and m_Packed. |
|
|
Definition at line 177 of file seq_id_handle.hpp. References m_Info, and m_Packed. Referenced by CAlnSeqId::operator==(). |
|
|
Reset the handle (remove seq-id reference).
Definition at line 199 of file seq_id_handle.hpp. References m_Info, m_Packed, and CConstRef< C, Locker >::Reset(). Referenced by CIdMapper::AddMapping(), BOOST_AUTO_TEST_CASE(), CAlnMix::ChooseSeqId(), CwxDemoTableCtrlFrame::LoadAccession(), CwxDemoFeatureTableFrame::LoadAccession(), CwxDemoAlignTableFrame::LoadAccession(), CwxDemoTableCtrlFrame::LoadFile(), CwxDemoFeatureTableFrame::LoadFile(), CwxDemoAlignTableFrame::LoadFile(), CBioseq_Handle::Reset(), CDemoApp::Run(), s_OOFBlastHSP2SeqAlign(), s_TestFastaRoundTrip(), and CTSE_Info::SetSeq_entry(). |
|
|
Definition at line 281 of file seq_id_handle.hpp. References m_Info, m_Packed, swap(), and CConstRef< C, Locker >::Swap(). |
|
|
Definition at line 224 of file seq_id_handle.hpp. References m_Info. Referenced by CId1Reader::GetGiBlob_ids(), CId1Reader::GetGiSeq_ids(), GetTitle(), s_ScoreForDBSource(), SameCDAccession(), CSeq_id_Textseq_Tree::x_FindStrInfo(), CDBSourceItem::x_GatherInfo(), CBuildDatabase::x_ResolveRemoteId(), and CGFFReader::x_ResolveSeqName(). |
|
|
Definition at line 288 of file seq_id_handle.hpp. References m_Info. |
|
|
Definition at line 293 of file seq_id_handle.hpp. |
|
|
Definition at line 294 of file seq_id_handle.hpp. |
|
|
Definition at line 297 of file seq_id_handle.hpp. Referenced by AsString(), GetHash(), GetMapper(), GetSeqId(), GetSeqIdOrNull(), IsGi(), operator!=(), operator<(), operator==(), Reset(), Swap(), Which(), and x_GetInfo(). |
|
|
Definition at line 298 of file seq_id_handle.hpp. Referenced by AsString(), GetGi(), GetHash(), GetPacked(), GetSeqId(), GetSeqIdOrNull(), IsGi(), IsPacked(), operator!=(), operator<(), operator==(), Reset(), and Swap(). |
1.4.6
Modified on Wed Dec 09 08:19:52 2009 by modify_doxy.py rev. 173732