NCBI C++ ToolKit
|
Search Toolkit Book for CBioseqContext
#include <objtools/format/context.hpp>
Public Types | |
enum | FUnverified { fUnverified_None = 0 , fUnverified_Organism = 1 << 0 , fUnverified_SequenceOrAnnotation = 1 << 1 , fUnverified_Misassembled = 1 << 2 , fUnverified_Contaminant = 1 << 3 } |
enum | FUnreviewed { fUnreviewed_None = 0 , fUnreviewed_Unannotated = 1 << 0 } |
typedef CRef< CReferenceItem > | TRef |
typedef vector< TRef > | TReferences |
typedef CRange< TSeqPos > | TRange |
typedef Int8 | TUnverified |
typedef Int8 | TUnreviewed |
Public Types inherited from CObject | |
enum | EAllocFillMode { eAllocFillNone = 1 , eAllocFillZero , eAllocFillPattern } |
Control filling of newly allocated memory. More... | |
typedef CObjectCounterLocker | TLockerType |
Default locker type for CRef. More... | |
typedef atomic< Uint8 > | TCounter |
Counter type is CAtomiCounter. More... | |
typedef Uint8 | TCount |
Alias for value type of counter. More... | |
Private Member Functions | |
void | x_Init (const CBioseq_Handle &seq, const CSeq_loc *user_loc) |
void | x_SetId (void) |
bool | x_HasParts (void) const |
bool | x_IsDeltaLitOnly (void) const |
bool | x_IsPart (void) const |
CBioseq_Handle | x_GetMasterForPart (void) const |
SIZE_TYPE | x_GetPartNumber (void) |
bool | x_IsInSGS (void) const |
bool | x_IsInGPS (void) const |
bool | x_IsInNucProt (void) const |
void | x_SetLocation (const CSeq_loc *user_loc=nullptr) |
void | x_SetMapper (const CSeq_loc &loc) |
void | x_SetHasMultiIntervalGenes (void) const |
void | x_SetDataFromUserObjects (void) |
void | x_CheckForShowComments () const |
void | x_SetTaxname (void) const |
void | x_SetFiletrackURL (const CUser_object &uo) |
void | x_SetAuthorizedAccess (const CUser_object &uo) |
void | x_SetOpticalMapPoints (void) |
void | x_SetEncode (const CUser_object &uo) |
CSeq_inst::TRepr | x_GetRepr (void) const |
const CMolInfo * | x_GetMolInfo (void) const |
bool | x_HasOperon (void) const |
Additional Inherited Members | |
Static Public Member Functions inherited from CObject | |
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 Public Member Functions inherited from CDebugDumpable | |
static void | EnableDebugDump (bool on) |
Static Public Attributes inherited from CObject | |
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... | |
Protected Member Functions inherited from CObject | |
virtual void | DeleteThis (void) |
Virtual method "deleting" this object. More... | |
Definition at line 72 of file context.hpp.
typedef CRange<TSeqPos> CBioseqContext::TRange |
Definition at line 78 of file context.hpp.
typedef CRef<CReferenceItem> CBioseqContext::TRef |
Definition at line 76 of file context.hpp.
typedef vector<TRef> CBioseqContext::TReferences |
Definition at line 77 of file context.hpp.
typedef Int8 CBioseqContext::TUnreviewed |
Definition at line 239 of file context.hpp.
typedef Int8 CBioseqContext::TUnverified |
Definition at line 230 of file context.hpp.
Enumerator | |
---|---|
fUnreviewed_None | |
fUnreviewed_Unannotated |
Definition at line 232 of file context.hpp.
Enumerator | |
---|---|
fUnverified_None | |
fUnverified_Organism | |
fUnverified_SequenceOrAnnotation | |
fUnverified_Misassembled | |
fUnverified_Contaminant |
Definition at line 220 of file context.hpp.
CBioseqContext::CBioseqContext | ( | const CBioseq_Handle & | seq, |
CFlatFileContext & | ffctx, | ||
CMasterContext * | mctx = nullptr , |
||
CTopLevelSeqEntryContext * | tlsec = nullptr |
||
) |
Definition at line 77 of file context.cpp.
CBioseqContext::CBioseqContext | ( | const CBioseq_Handle & | prev_seq, |
const CBioseq_Handle & | seq, | ||
const CBioseq_Handle & | next_seq, | ||
CFlatFileContext & | ffctx, | ||
CMasterContext * | mctx = nullptr , |
||
CTopLevelSeqEntryContext * | tlsec = nullptr |
||
) |
Definition at line 137 of file context.cpp.
References CFlatFileContext::GetLocation(), m_FFCtx, and x_Init().
CBioseqContext::~CBioseqContext | ( | void | ) |
Definition at line 202 of file context.cpp.
References CBioseq_Handle::GetEditHandle(), m_Virtual, and CBioseq_EditHandle::Remove().
|
inline |
Definition at line 133 of file context.hpp.
References m_Master, and CRef< C, Locker >::NotNull().
|
inline |
Definition at line 138 of file context.hpp.
References m_TLSeqEntryCtx, and CRef< C, Locker >::NotNull().
|
inline |
Definition at line 689 of file context.hpp.
References CFlatFileContext::GetConfig(), and m_FFCtx.
Referenced by DoContigStyle(), CGenbankFormatter::FormatAccession(), CGenbankFormatter::FormatDBSource(), CGenbankFormatter::FormatGenomeProject(), CGenbankFormatter::FormatKeywords(), CGenbankFormatter::FormatPrimary(), CGenbankFormatter::FormatTSA(), CGenbankFormatter::FormatWGS(), IsGenbankFormat(), s_FormatRegularSequencePiece(), s_GetLinkFeatureKey(), ThrowIfCanceled(), CFeatureItem::x_AddFTableCdregionQuals(), CFeatureItem::x_AddFTableQuals(), CFeatureItem::x_AddFTableRnaQuals(), CFeatureItem::x_AddProductIdQuals(), CFeatureItem::x_AddQualProteinId(), CGenbankFormatter::x_Authors(), CGenbankFormatter::x_Consortium(), CDBSourceItem::x_FormatDBSourceID(), CFeatureItem::x_FormatNoteQuals(), CDBSourceItem::x_FormatPDBSource(), CFeatureItem::x_FormatQuals(), CFlatGatherer::x_GatherSourceFeatures(), CGenbankFormatter::x_Journal(), CGenbankFormatter::x_Reference(), CGenbankFormatter::x_SmartWrapQuals(), and CGenbankFormatter::x_Title().
bool CBioseqContext::DoContigStyle | ( | void | ) | const |
Definition at line 1076 of file context.cpp.
References Config(), HasParts(), IsDelta(), IsDeltaLitOnly(), IsSegmented(), CFlatFileConfig::IsStyleContig(), and CFlatFileConfig::IsStyleNormal().
Definition at line 110 of file context.hpp.
References m_Accession.
Referenced by CGBSeqFormatter::FormatGap(), CGenbankFormatter::FormatSequence(), s_FormatRegularSequencePiece(), and x_SetMapper().
|
inline |
Definition at line 707 of file context.hpp.
References CFlatFileContext::GetAnnotSelector(), and m_FFCtx.
Definition at line 275 of file context.hpp.
References m_AuthorizedAccess.
|
inline |
Definition at line 739 of file context.hpp.
References CMolInfo_Base::eBiomol_unknown, CMolInfo_Base::GetBiomol(), and m_Molinfo.
|
inline |
Definition at line 525 of file context.hpp.
References CBioseq_Handle::GetBioseqCore(), CBioseq_Base::GetId(), and m_Handle.
|
inline |
Definition at line 639 of file context.hpp.
References _ASSERT, IsEncode(), and m_Encode.
|
inline |
Definition at line 103 of file context.hpp.
References m_FeatTree.
Referenced by CFlatFeatureRetrieveJob::x_Run().
Definition at line 646 of file context.hpp.
References m_FinishingStatus.
|
inline |
|
inline |
Definition at line 99 of file context.hpp.
References m_Handle.
Referenced by CFlatGatherer::x_GatherCDSReferences(), and CFlatGatherer::x_MergeEqualBioSources().
|
inline |
Definition at line 100 of file context.hpp.
References m_Handle.
Definition at line 169 of file context.hpp.
References m_Location.
Referenced by CGenbankFormatter::FormatAccession(), CGenbankGatherer::x_DoSingleSection(), CFlatGatherer::x_GatherReferences(), and CFlatGatherer::x_GatherSequence().
|
inline |
Definition at line 170 of file context.hpp.
References m_Mapper.
|
inline |
Definition at line 132 of file context.hpp.
References m_Master.
Definition at line 719 of file context.hpp.
References CFlatFileContext::GetLocation(), and m_FFCtx.
|
inline |
Definition at line 118 of file context.hpp.
References m_Mol.
Definition at line 119 of file context.hpp.
References m_Molinfo.
|
inline |
Definition at line 101 of file context.hpp.
References m_NextHandle.
|
inline |
Empty or NULL if no points or if this bioseq isn't an optical map.
Definition at line 278 of file context.hpp.
References m_pOpticalMapPoints.
|
inline |
Definition at line 130 of file context.hpp.
References m_PartNumber.
|
inline |
Definition at line 246 of file context.hpp.
References m_PatSeqid.
CSeq_id_Handle CBioseqContext::GetPreferredSynonym | ( | const CSeq_id & | id | ) | const |
Definition at line 210 of file context.cpp.
References eGetId_Best, CSeq_id_Handle::GetHandle(), GetId(), CBioseq_Handle::GetScope(), m_Gi, m_Handle, and m_PrimaryId.
|
inline |
Definition at line 98 of file context.hpp.
References m_PrevHandle.
|
inline |
Definition at line 108 of file context.hpp.
References m_PrimaryId.
Referenced by CFlatGatherer::x_GatherCDSReferences().
|
inline |
Definition at line 281 of file context.hpp.
References m_RefCache.
|
inline |
Definition at line 165 of file context.hpp.
References m_References.
|
inline |
Definition at line 117 of file context.hpp.
References m_Repr.
Referenced by x_CheckForShowComments(), CFlatGatherer::x_GatherCDSReferences(), and x_SetOpticalMapPoints().
|
inline |
Definition at line 102 of file context.hpp.
References CBioseq_Handle::GetScope(), and m_Handle.
Referenced by IsSeqIdInSameTopLevelSeqEntry(), s_CombineRefs(), CFeatureItem::x_AddQualSeqfeatNote(), CFlatGatherer::x_BiosourcesEqualForMergingPurposes(), CGenbankGatherer::x_DoSingleSection(), CFlatGatherer::x_GatherCDSReferences(), CFlatGatherer::x_GatherReferences(), CFlatGatherer::x_GatherReferencesIdx(), CFlatGatherer::x_GatherSequence(), CFlatGatherer::x_MergeEqualBioSources(), x_SetMapper(), and CFlatGatherer::x_SubtractFromFocus().
|
inline |
Definition at line 682 of file context.hpp.
References CFlatFileContext::GetSeqEntryIndex(), and m_FFCtx.
Referenced by GetTaxname(), HasMultiIntervalGenes(), HasOperon(), and IsCrossKingdom().
|
inline |
Definition at line 726 of file context.hpp.
References CFlatFileContext::GetSGS(), and m_FFCtx.
|
inline |
Definition at line 695 of file context.hpp.
References CFlatFileContext::GetSubmitBlock(), and m_FFCtx.
Referenced by CFlatGatherer::x_GatherReferences().
Empty string if unavailable.
Definition at line 447 of file context.cpp.
References CSeqEntryIndex::GetBioseqIndex(), GetSeqEntryIndex(), CBioseqIndex::GetTaxname(), m_Handle, m_Taxname, UsingSeqEntryIndex(), and x_SetTaxname().
|
inline |
Definition at line 732 of file context.hpp.
References CMolInfo_Base::eTech_unknown, CMolInfo_Base::GetTech(), and m_Molinfo.
Referenced by x_SetId().
|
inline |
Definition at line 137 of file context.hpp.
References m_TLSeqEntryCtx.
Definition at line 161 of file context.hpp.
References m_TLSMasterAccn.
Definition at line 162 of file context.hpp.
References m_TLSMasterName.
Referenced by CGenbankFormatter::FormatTSA().
|
inline |
Definition at line 701 of file context.hpp.
References CFlatFileContext::GetEntry(), and m_FFCtx.
Referenced by CFlatGatherer::x_GatherReferences(), and x_IsPart().
|
inline |
Definition at line 531 of file context.hpp.
References CMasterContext::GetNumParts(), and m_Master.
Definition at line 155 of file context.hpp.
References m_TSAMasterAccn.
Definition at line 156 of file context.hpp.
References m_TSAMasterName.
Referenced by CGenbankFormatter::FormatTSA().
|
inline |
Definition at line 670 of file context.hpp.
References m_fUnreviewed.
|
inline |
Definition at line 664 of file context.hpp.
References m_fUnverified.
Definition at line 149 of file context.hpp.
References m_WGSMasterAccn.
Definition at line 150 of file context.hpp.
References m_WGSMasterName.
bool CBioseqContext::HasMultiIntervalGenes | ( | void | ) | const |
Definition at line 358 of file context.cpp.
References CSeqEntryIndex::GetBioseqIndex(), GetSeqEntryIndex(), CBioseqIndex::HasMultiIntervalGenes(), m_Handle, m_HasMultiIntervalGenes, UsingSeqEntryIndex(), and x_SetHasMultiIntervalGenes().
bool CBioseqContext::HasOperon | ( | void | ) | const |
Definition at line 751 of file context.cpp.
References CSeqEntryIndex::GetBioseqIndex(), GetSeqEntryIndex(), CBioseqIndex::HasOperon(), m_Handle, m_HasOperon, UsingSeqEntryIndex(), and x_HasOperon().
|
inline |
|
inline |
Definition at line 542 of file context.hpp.
References CBioseq_Handle::GetTopLevelEntry(), and m_Handle.
bool CBioseqContext::IsCrossKingdom | ( | void | ) | const |
Definition at line 466 of file context.cpp.
References CSeqEntryIndex::GetBioseqIndex(), GetSeqEntryIndex(), CBioseqIndex::IsCrossKingdom(), m_Handle, m_IsCrossKingdom, UsingSeqEntryIndex(), and x_SetTaxname().
|
inline |
Definition at line 183 of file context.hpp.
References m_IsDDBJ.
Referenced by CFeatureItem::x_AddQualsGene().
|
inline |
Definition at line 143 of file context.hpp.
References CSeq_inst_Base::eRepr_delta, and m_Repr.
Referenced by DoContigStyle(), x_Init(), and x_IsDeltaLitOnly().
|
inline |
Definition at line 144 of file context.hpp.
References m_IsDeltaLitOnly.
Referenced by DoContigStyle().
|
inline |
Definition at line 182 of file context.hpp.
References m_IsEMBL.
Referenced by CFeatureItem::x_AddQualsGene().
|
inline |
Definition at line 633 of file context.hpp.
References m_Encode, and CConstRef< C, Locker >::NotEmpty().
Referenced by GetEncode().
|
inline |
Definition at line 189 of file context.hpp.
References m_IsGbGenomeProject.
|
inline |
Definition at line 180 of file context.hpp.
References m_IsGED.
|
inline |
Definition at line 181 of file context.hpp.
References m_IsGenbank.
|
inline |
Definition at line 746 of file context.hpp.
References Config().
|
inline |
Definition at line 652 of file context.hpp.
References m_IsGenomeAssembly.
|
inline |
Definition at line 243 of file context.hpp.
References m_IsHup.
|
inline |
Definition at line 176 of file context.hpp.
References m_IsInGPS.
|
inline |
Definition at line 177 of file context.hpp.
References m_IsInNucProt.
|
inline |
Definition at line 175 of file context.hpp.
References m_IsInSGS.
|
inline |
Definition at line 187 of file context.hpp.
References m_IsJournalScan.
|
inline |
Definition at line 190 of file context.hpp.
References m_IsNcbiCONDiv.
|
inline |
Definition at line 191 of file context.hpp.
References m_IsNcbiGenomes.
|
inline |
Definition at line 115 of file context.hpp.
References m_IsProt.
|
inline |
Definition at line 129 of file context.hpp.
References m_IsPart.
|
inline |
Definition at line 188 of file context.hpp.
References m_IsPatent.
|
inline |
Definition at line 184 of file context.hpp.
References m_IsPDB.
|
inline |
Definition at line 114 of file context.hpp.
References m_IsProt.
Referenced by CGenbankFormatter::FormatSequence(), CFlatGatherer::x_GatherCDSReferences(), and CFlatGatherer::x_GatherReferences().
|
inline |
|
inline |
Definition at line 554 of file context.hpp.
References CSeq_id::eAcc_refseq_chromosome, and m_RefseqInfo.
|
inline |
Definition at line 584 of file context.hpp.
References CSeq_id::eAcc_refseq_contig, and m_RefseqInfo.
|
inline |
Definition at line 560 of file context.hpp.
References CSeq_id::eAcc_refseq_genomic, and m_RefseqInfo.
|
inline |
Definition at line 590 of file context.hpp.
References CSeq_id::eAcc_refseq_wgs_intermed, and m_RefseqInfo.
|
inline |
Definition at line 566 of file context.hpp.
References CSeq_id::eAcc_refseq_mrna, and m_RefseqInfo.
|
inline |
Definition at line 572 of file context.hpp.
References CSeq_id::eAcc_refseq_ncrna, and m_RefseqInfo.
|
inline |
Definition at line 596 of file context.hpp.
References CSeq_id::eAcc_refseq_mrna_predicted, and m_RefseqInfo.
|
inline |
Definition at line 602 of file context.hpp.
References CSeq_id::eAcc_refseq_ncrna_predicted, and m_RefseqInfo.
|
inline |
Definition at line 608 of file context.hpp.
References CSeq_id::eAcc_refseq_prot_predicted, and m_RefseqInfo.
|
inline |
Definition at line 578 of file context.hpp.
References CSeq_id::eAcc_refseq_prot, and m_RefseqInfo.
|
inline |
Definition at line 627 of file context.hpp.
References CSeq_id::eAcc_refseq_unique_prot.
|
inline |
Definition at line 614 of file context.hpp.
References CSeq_id::eAcc_refseq_wgs_nuc, CSeq_id::fAcc_master, and m_RefseqInfo.
|
inline |
Definition at line 621 of file context.hpp.
References CSeq_id::eAcc_refseq_wgs_prot, and m_RefseqInfo.
|
inline |
Definition at line 125 of file context.hpp.
References CSeq_inst_Base::eRepr_seg, and m_Repr.
Referenced by DoContigStyle(), x_HasParts(), and x_Init().
Definition at line 548 of file context.hpp.
References CScope::GetBioseqHandleFromTSE(), GetScope(), and m_Handle.
|
inline |
Definition at line 185 of file context.hpp.
References m_IsSP.
|
inline |
Definition at line 159 of file context.hpp.
References m_IsTLS.
|
inline |
Definition at line 160 of file context.hpp.
References m_IsTLSMaster.
|
inline |
Definition at line 186 of file context.hpp.
References m_IsTPA.
|
inline |
Definition at line 153 of file context.hpp.
References m_IsTSA.
|
inline |
Definition at line 154 of file context.hpp.
References m_IsTSAMaster.
|
inline |
Definition at line 658 of file context.hpp.
References fUnverified_None, and m_fUnverified.
|
inline |
Definition at line 147 of file context.hpp.
References m_IsWGS.
|
inline |
Definition at line 148 of file context.hpp.
References m_IsWGSMaster.
|
inline |
Definition at line 713 of file context.hpp.
References m_FFCtx, and CFlatFileContext::SetAnnotSelector().
Referenced by CFlatGatherer::x_GatherReferences(), and x_Init().
|
inline |
Definition at line 537 of file context.hpp.
References m_Master, and CRef< C, Locker >::Reset().
void CBioseqContext::SetPDBCompoundForComment | ( | bool | value | ) |
Definition at line 491 of file context.cpp.
References m_UsePDBCompoundForComment, and rapidjson::value.
|
inline |
Definition at line 282 of file context.hpp.
References m_RefCache.
Referenced by CFlatGatherer::x_DoMultipleSections(), and CFlatGatherer::x_GatherBioseq().
|
inline |
Definition at line 164 of file context.hpp.
References m_References.
Referenced by CFlatGatherer::x_GatherReferences().
bool CBioseqContext::ShowAnnotCommentAsCOMMENT | ( | ) | const |
Definition at line 676 of file context.cpp.
References m_ShowAnnotCommentAsCOMMENT, m_ShowAnnotCommentAsCOMMENT_checked, and x_CheckForShowComments().
|
inline |
Definition at line 173 of file context.hpp.
References m_ShowGBBSource.
|
inline |
Checks if CFlatFileConfig has an ICanceled, and throws if it indicates cancellation.
Definition at line 755 of file context.hpp.
References Config(), and CFlatFileConfig::ThrowIfCanceled().
bool CBioseqContext::UsePDBCompoundForComment | ( | void | ) | const |
Definition at line 485 of file context.cpp.
References m_UsePDBCompoundForComment.
|
inline |
Definition at line 676 of file context.hpp.
References m_FFCtx, and CFlatFileContext::UsingSeqEntryIndex().
Referenced by GetTaxname(), HasMultiIntervalGenes(), HasOperon(), and IsCrossKingdom().
|
private |
Definition at line 685 of file context.cpp.
References CSeq_annot_Base::C_Data::e_Ftable, CSeq_inst_Base::eRepr_map, CAnnot_descr_Base::Get(), CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), GetRepr(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_object_Base::GetType(), CAnnotdesc_Base::GetUser(), CUser_field_Base::IsSetData(), CUser_object_Base::IsSetData(), CUser_field_Base::IsSetLabel(), CUser_object_Base::IsSetType(), CObject_id_Base::IsStr(), CUser_field_Base::C_Data::IsStr(), CAnnotdesc_Base::IsUser(), ITERATE, m_Handle, m_ShowAnnotCommentAsCOMMENT, m_ShowAnnotCommentAsCOMMENT_checked, CSeq_annot_Handle::Seq_annot_GetDesc(), CSeq_annot_Handle::Seq_annot_IsSetDesc(), and SAnnotSelector::SetAnnotType().
Referenced by ShowAnnotCommentAsCOMMENT().
|
private |
Definition at line 956 of file context.cpp.
References CSeqdesc_Base::e_Molinfo, CSeqdesc_Base::GetMolinfo(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 1046 of file context.cpp.
References CMasterContext::GetPartNumber(), m_Handle, and m_Master.
Referenced by x_Init().
|
private |
Definition at line 949 of file context.cpp.
References CSeq_inst_Base::eRepr_not_set, CBioseq_Handle::GetInst_Repr(), CBioseq_Handle::IsSetInst_Repr(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 744 of file context.cpp.
References CSeqFeatData::eSubtype_operon, CBioseq_Handle::GetScope(), m_Handle, and m_Location.
Referenced by HasOperon().
|
private |
Definition at line 988 of file context.cpp.
References _ASSERT, CBioseq_set_Base::eClass_parts, CBioseq_set_Base::eClass_segset, CBioseq_Handle::GetExactComplexityLevel(), IsSegmented(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 224 of file context.cpp.
References _ASSERT, CBioseq_Handle::GetInst_Mol(), CSeq_inst::IsAa(), IsDelta(), IsRefSeq(), IsSegmented(), CBioseq_Handle::IsSetInst(), m_FFCtx, m_HasParts, m_IsDeltaLitOnly, m_IsInGPS, m_IsInNucProt, m_IsInSGS, m_IsPart, m_IsProt, m_Master, m_Mol, m_Molinfo, m_PartNumber, m_Repr, m_ShowAnnotCommentAsCOMMENT, m_ShowAnnotCommentAsCOMMENT_checked, CConstRef< C, Locker >::Reset(), SetAnnotSelector(), CFlatFileContext::SetConfig(), CFlatFileConfig::SetRefSeqConventions(), SAnnotSelector::SetResolveAll(), x_GetMolInfo(), x_GetPartNumber(), x_GetRepr(), x_HasParts(), x_IsDeltaLitOnly(), x_IsInGPS(), x_IsInNucProt(), x_IsInSGS(), x_IsPart(), x_SetDataFromUserObjects(), x_SetId(), x_SetLocation(), and x_SetOpticalMapPoints().
Referenced by CBioseqContext().
|
private |
Definition at line 1026 of file context.cpp.
References _ASSERT, CDelta_ext_Base::Get(), CSeq_ext_Base::GetDelta(), CBioseq_Handle::GetInst_Ext(), CSeq_ext_Base::IsDelta(), IsDelta(), CSeq_loc_Base::IsNull(), CBioseq_Handle::IsSetInst_Ext(), ITERATE, and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 1060 of file context.cpp.
References CBioseq_set_Base::eClass_gen_prod_set, CBioseq_Handle::GetExactComplexityLevel(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 1068 of file context.cpp.
References CBioseq_set_Base::eClass_nuc_prot, CBioseq_Handle::GetExactComplexityLevel(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 1052 of file context.cpp.
References CBioseq_set_Base::eClass_small_genome_set, CBioseq_Handle::GetExactComplexityLevel(), and m_Handle.
Referenced by x_Init().
|
private |
Definition at line 963 of file context.cpp.
References _ASSERT, CBioseq_set_Base::eClass_parts, CSeq_inst_Base::eRepr_const, CSeq_inst_Base::eRepr_delta, CSeq_inst_Base::eRepr_raw, CSeq_inst_Base::eRepr_virtual, CBioseq_set_Handle::GetClass(), CBioseq_Handle::GetParentEntry(), CSeq_entry_Handle::GetParentEntry(), CSeq_entry_Handle::GetSet(), GetTopLevelEntry(), CSeq_entry_Handle::IsSeq(), CSeq_entry_Handle::IsSet(), CBioseq_set_Handle::IsSetClass(), m_Handle, and m_Repr.
Referenced by x_Init().
|
private |
Definition at line 537 of file context.cpp.
References NStr::EqualNocase(), FIELD_IS_SET_AND_IS, CUser_field_Base::GetData(), CUser_object::GetFieldRef(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_object_Base::GetType(), m_AuthorizedAccess, and Type.
Referenced by x_SetDataFromUserObjects().
|
private |
Definition at line 602 of file context.cpp.
References DEFINE_STATIC_ARRAY_MAP, CSeqdesc_Base::e_User, CUser_object::eObjectType_FileTrack, CUser_object::eObjectType_StructuredComment, CUser_object::eObjectType_Unreviewed, CUser_object::eObjectType_Unverified, NStr::EqualNocase(), fUnreviewed_Unannotated, fUnverified_Contaminant, fUnverified_Misassembled, fUnverified_None, fUnverified_Organism, fUnverified_SequenceOrAnnotation, CUser_field_Base::GetData(), CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), CUser_object::GetObjectType(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_object_Base::GetType(), CUser_field_Base::IsSetData(), CUser_object_Base::IsSetData(), CUser_field_Base::IsSetLabel(), CUser_object_Base::IsSetType(), CObject_id_Base::IsStr(), CUser_field_Base::C_Data::IsStr(), CUser_object::IsUnreviewedUnannotated(), CUser_object::IsUnverifiedContaminant(), CUser_object::IsUnverifiedFeature(), CUser_object::IsUnverifiedMisassembled(), CUser_object::IsUnverifiedOrganism(), ITERATE, m_FinishingStatus, m_fUnreviewed, m_fUnverified, m_Handle, m_IsGenomeAssembly, x_SetAuthorizedAccess(), x_SetEncode(), and x_SetFiletrackURL().
Referenced by x_Init().
|
private |
Definition at line 1092 of file context.cpp.
References NStr::EqualNocase(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CUser_object_Base::IsSetType(), CObject_id_Base::IsStr(), m_Encode, and CConstRef< C, Locker >::Reset().
Referenced by x_SetDataFromUserObjects().
|
private |
Definition at line 497 of file context.cpp.
References NStr::EqualNocase(), FIELD_IS_SET_AND_IS, FOR_EACH_STRING_IN_VECTOR, CUser_field_Base::GetData(), CUser_object::GetFieldRef(), CObject_id_Base::GetStr(), CUser_field_Base::C_Data::GetStr(), CUser_field_Base::C_Data::GetStrs(), CUser_object_Base::GetType(), m_BasemodURLs, m_FiletrackURL, str(), and Type.
Referenced by x_SetDataFromUserObjects().
|
private |
Definition at line 333 of file context.cpp.
References CSeq_loc_Base::e_Equiv, CSeqFeatData_Base::e_Gene, CSeq_loc_Base::e_Mix, CSeq_loc_Base::e_Packed_int, CSeq_loc_Base::e_Packed_pnt, CMappedFeat::GetLocation(), m_Handle, m_HasMultiIntervalGenes, and CSeq_loc_Base::Which().
Referenced by HasMultiIntervalGenes().
|
private |
Definition at line 767 of file context.cpp.
References CSeq_id::Assign(), CTextseq_id_Base::CanGetAccession(), CTextseq_id_Base::CanGetName(), NStr::CompareCase(), CSeq_id_Base::e_Ddbj, CSeq_id_Base::e_Embl, CSeq_id_Base::e_Genbank, CSeq_id_Base::e_General, CSeq_id_Base::e_Gi, CSeq_id_Base::e_Gibbmt, CSeq_id_Base::e_Gibbsq, CSeq_id_Base::e_Giim, CSeq_id_Base::e_Local, CSeq_id_Base::e_not_set, CSeq_id_Base::e_Other, CSeq_id_Base::e_Patent, CSeq_id_Base::e_Pdb, CSeq_id_Base::e_Pir, CSeq_id_Base::e_Prf, CSeq_id_Base::e_Swissprot, CSeq_id_Base::e_Tpd, CSeq_id_Base::e_Tpe, CSeq_id_Base::e_Tpg, CSeqdesc_Base::e_User, CSeq_id::eAcc_division_mask, CSeq_id::eAcc_gb_con, CSeq_id::eAcc_gb_genome, CSeq_id::eAcc_gb_segset, CSeq_id::eAcc_gsdb_dirsub, CSeq_id::eAcc_wgs, CSeq_id::eContent, eGetId_Best, NStr::Equal(), CSeq_inst_Base::eRepr_virtual, CMolInfo_Base::eTech_targeted, CMolInfo_Base::eTech_tsa, CSeq_id::fAcc_master, CTextseq_id_Base::GetAccession(), CBioseq_Handle::GetBioseqCore(), GetId(), CBioseq_Base::GetId(), CSeq_id::GetLabel(), CTextseq_id_Base::GetName(), GetSeqId(), CObject_id_Base::GetStr(), GetTech(), CUser_object_Base::GetType(), CObject_id_Base::IsStr(), ITERATE, kEmptyStr, m_Accession, m_Gi, m_Handle, m_IsDDBJ, m_IsEMBL, m_IsGbGenomeProject, m_IsGED, m_IsGenbank, m_IsGI, m_IsJournalScan, m_IsNcbiCONDiv, m_IsNcbiGenomes, m_IsPatent, m_IsPDB, m_IsRefSeq, m_IsSP, m_IsTLS, m_IsTLSMaster, m_IsTPA, m_IsTSA, m_IsTSAMaster, m_IsWGS, m_IsWGSMaster, m_PatSeqid, m_PrimaryId, m_RefseqInfo, m_Repr, m_ShowGBBSource, m_TLSMasterAccn, m_TLSMasterName, m_TSAMasterAccn, m_TSAMasterName, m_WGSMasterAccn, m_WGSMasterName, and CRef< C, Locker >::Reset().
Referenced by x_Init().
Definition at line 276 of file context.cpp.
References CSeq_loc::Assign(), CSeq_loc_Mapper::eSeqMap_Up, CSeq_id_Handle::GetHandle(), GetIdHandle(), CBioseq_Handle::GetInst_Length(), CBioseq_Handle::GetScope(), CBioseq_Handle::GetSeqId(), CSeq_loc::GetStrand(), CSeq_loc::GetTotalRange(), CSeq_loc_Base::IsInt(), IsReverse(), IsSameBioseq(), CSeq_loc_Base::IsWhole(), m_Handle, m_Location, m_PrimaryId, CSeq_loc_Mapper_Base::Map(), compile_time_bits::range(), CRef< C, Locker >::Reset(), CSeq_loc::SetWhole(), and x_SetMapper().
Referenced by x_Init().
Definition at line 316 of file context.cpp.
References _ASSERT, CScope::AddBioseq(), CSeq_inst_Base::eRepr_virtual, CSeq_loc_Mapper::eSeqMap_Up, GetAccession(), GetBioseqFromSeqLoc(), GetScope(), m_Handle, m_Mapper, CRef< C, Locker >::Reset(), CSeq_loc_Mapper_Base::SetGapRemove(), CBioseq_Base::SetInst(), and CSeq_loc_Mapper_Base::SetMergeAbutting().
Referenced by x_SetLocation().
|
private |
Definition at line 555 of file context.cpp.
References ASSIGN_IF_SET_ELSE_RESET, CLONE_IF_SET_ELSE_RESET, CSeq_loc_Base::e_Packed_pnt, CSeq_loc_Base::e_Pnt, CSeq_inst_Base::eRepr_map, FIELD_IS_SET_AND_IS, FOR_EACH_SEQFEAT_ON_MAPEXT, CBioseq_Handle::GetInst_Ext(), CSeq_feat_Base::GetLocation(), CSeq_ext_Base::GetMap(), CSeq_loc_Base::GetPacked_pnt(), CSeq_loc_Base::GetPnt(), CSeq_point_Base::GetPoint(), GetRepr(), CSeq_feat_Base::IsSetLocation(), CSeq_point_Base::IsSetPoint(), m_Handle, m_pOpticalMapPoints, m_pOpticalMapPointsDestroyer, Map(), and CSeq_loc_Base::Which().
Referenced by x_Init().
|
private |
Definition at line 372 of file context.cpp.
References CSeqFeatData_Base::e_Biosrc, CSeqdesc_Base::e_Source, NStr::EqualNocase(), CPartialOrgName_Base::Get(), CSeqFeatData_Base::GetBiosrc(), CSeq_feat_Base::GetData(), CTaxElement_Base::GetFixed_level(), CTaxElement_Base::GetLevel(), COrgName_Base::GetName(), CTaxElement_Base::GetName(), CBioSource::GetOrgname(), COrgName_Base::C_Name::GetPartial(), CMappedFeat::GetSeq_feat(), CSeqdesc_Base::GetSource(), CBioSource::GetTaxname(), CSeqFeatData_Base::IsBiosrc(), COrgName_Base::C_Name::IsPartial(), CPartialOrgName_Base::IsSet(), CSeq_feat_Base::IsSetData(), CTaxElement_Base::IsSetFixed_level(), CTaxElement_Base::IsSetLevel(), COrgName_Base::IsSetName(), CTaxElement_Base::IsSetName(), CBioSource::IsSetOrgname(), CBioSource::IsSetTaxname(), CSeqdesc_Base::IsSource(), ITERATE, m_Handle, m_IsCrossKingdom, m_Taxname, and SAnnotSelector::SetFeatType().
Referenced by GetTaxname(), and IsCrossKingdom().
|
private |
Definition at line 316 of file context.hpp.
Referenced by GetAccession(), and x_SetId().
|
private |
Definition at line 327 of file context.hpp.
Referenced by GetAuthorizedAccess(), and x_SetAuthorizedAccess().
|
private |
Definition at line 326 of file context.hpp.
Referenced by GetBasemodURLs(), and x_SetFiletrackURL().
|
private |
Definition at line 384 of file context.hpp.
Referenced by GetEncode(), IsEncode(), and x_SetEncode().
|
private |
Definition at line 314 of file context.hpp.
Referenced by GetFeatTree().
|
private |
Definition at line 390 of file context.hpp.
Referenced by CBioseqContext(), Config(), GetAnnotSelector(), GetMasterLocation(), GetSeqEntryIndex(), GetSGS(), GetSubmitBlock(), GetTopLevelEntry(), SetAnnotSelector(), UsingSeqEntryIndex(), and x_Init().
|
private |
Definition at line 325 of file context.hpp.
Referenced by GetFiletrackURL(), and x_SetFiletrackURL().
|
private |
Definition at line 323 of file context.hpp.
Referenced by GetFinishingStatus(), and x_SetDataFromUserObjects().
|
private |
Definition at line 380 of file context.hpp.
Referenced by GetUnreviewedType(), and x_SetDataFromUserObjects().
|
private |
Definition at line 379 of file context.hpp.
Referenced by GetUnverifiedType(), IsUnverified(), and x_SetDataFromUserObjects().
|
private |
Definition at line 371 of file context.hpp.
Referenced by GetGI(), GetPreferredSynonym(), and x_SetId().
|
private |
Definition at line 312 of file context.hpp.
Referenced by GetBioseqIds(), GetHandle(), GetPreferredSynonym(), GetScope(), GetTaxname(), HasMultiIntervalGenes(), HasOperon(), IsBioseqInSameTopLevelSeqEntry(), IsCrossKingdom(), IsSeqIdInSameTopLevelSeqEntry(), x_CheckForShowComments(), x_GetMolInfo(), x_GetPartNumber(), x_GetRepr(), x_HasOperon(), x_HasParts(), x_IsDeltaLitOnly(), x_IsInGPS(), x_IsInNucProt(), x_IsInSGS(), x_IsPart(), x_SetDataFromUserObjects(), x_SetHasMultiIntervalGenes(), x_SetId(), x_SetLocation(), x_SetMapper(), x_SetOpticalMapPoints(), and x_SetTaxname().
|
mutableprivate |
Definition at line 375 of file context.hpp.
Referenced by HasMultiIntervalGenes(), and x_SetHasMultiIntervalGenes().
|
mutableprivate |
Definition at line 374 of file context.hpp.
Referenced by HasOperon().
|
private |
Definition at line 338 of file context.hpp.
Referenced by HasParts(), and x_Init().
|
mutableprivate |
Definition at line 377 of file context.hpp.
Referenced by IsCrossKingdom(), and x_SetTaxname().
|
private |
Definition at line 352 of file context.hpp.
|
private |
Definition at line 343 of file context.hpp.
Referenced by IsDeltaLitOnly(), and x_Init().
|
private |
Definition at line 351 of file context.hpp.
|
private |
Definition at line 359 of file context.hpp.
Referenced by IsGbGenomeProject(), and x_SetId().
|
private |
Definition at line 349 of file context.hpp.
|
private |
Definition at line 350 of file context.hpp.
Referenced by IsGenbank(), and x_SetId().
|
private |
Definition at line 376 of file context.hpp.
Referenced by IsGenomeAssembly(), and x_SetDataFromUserObjects().
|
private |
Definition at line 363 of file context.hpp.
Referenced by x_SetId().
|
private |
Definition at line 370 of file context.hpp.
Referenced by IsHup().
|
private |
Definition at line 347 of file context.hpp.
|
private |
Definition at line 348 of file context.hpp.
Referenced by IsInNucProt(), and x_Init().
|
private |
Definition at line 346 of file context.hpp.
|
private |
Definition at line 356 of file context.hpp.
Referenced by IsJournalScan(), and x_SetId().
|
private |
Definition at line 360 of file context.hpp.
Referenced by IsNcbiCONDiv(), and x_SetId().
|
private |
Definition at line 361 of file context.hpp.
Referenced by IsNcbiGenomes(), and x_SetId().
|
private |
Definition at line 340 of file context.hpp.
|
private |
Definition at line 362 of file context.hpp.
Referenced by IsPatent(), and x_SetId().
|
private |
Definition at line 353 of file context.hpp.
|
private |
Definition at line 345 of file context.hpp.
|
private |
Definition at line 357 of file context.hpp.
Referenced by IsRefSeq(), and x_SetId().
|
private |
Definition at line 354 of file context.hpp.
|
private |
Definition at line 368 of file context.hpp.
|
private |
Definition at line 369 of file context.hpp.
Referenced by IsTLSMaster(), and x_SetId().
|
private |
Definition at line 355 of file context.hpp.
|
private |
Definition at line 366 of file context.hpp.
|
private |
Definition at line 367 of file context.hpp.
Referenced by IsTSAMaster(), and x_SetId().
|
private |
Definition at line 364 of file context.hpp.
|
private |
Definition at line 365 of file context.hpp.
Referenced by IsWGSMaster(), and x_SetId().
Definition at line 387 of file context.hpp.
Referenced by GetLocation(), x_HasOperon(), and x_SetLocation().
|
private |
Definition at line 388 of file context.hpp.
Referenced by GetMapper(), and x_SetMapper().
|
private |
Definition at line 392 of file context.hpp.
Referenced by CanGetMaster(), GetMaster(), GetTotalNumParts(), SetMaster(), x_GetPartNumber(), and x_Init().
|
private |
Definition at line 334 of file context.hpp.
Definition at line 335 of file context.hpp.
Referenced by GetBiomol(), GetMolinfo(), GetTech(), and x_Init().
|
private |
Definition at line 313 of file context.hpp.
Referenced by GetNextHandle().
|
private |
Definition at line 341 of file context.hpp.
Referenced by GetPartNumber(), and x_Init().
|
private |
Definition at line 373 of file context.hpp.
Referenced by GetPatentSeqId(), and x_SetId().
|
private |
Definition at line 328 of file context.hpp.
Referenced by GetOpticalMapPoints(), and x_SetOpticalMapPoints().
|
private |
Definition at line 331 of file context.hpp.
Referenced by x_SetOpticalMapPoints().
|
private |
Definition at line 311 of file context.hpp.
Referenced by GetPrevHandle().
Definition at line 315 of file context.hpp.
Referenced by GetPreferredSynonym(), GetPrimaryId(), x_SetId(), and x_SetLocation().
|
mutableprivate |
Definition at line 391 of file context.hpp.
Referenced by GetRefCache(), and SetRefCache().
|
private |
Definition at line 386 of file context.hpp.
Referenced by GetReferences(), and SetReferences().
|
private |
Definition at line 358 of file context.hpp.
Referenced by IsRSCompleteGenomic(), IsRSContig(), IsRSIncompleteGenomic(), IsRSIntermedWGS(), IsRSMRna(), IsRSNonCodingRna(), IsRSPredictedMRna(), IsRSPredictedNCRna(), IsRSPredictedProtein(), IsRSProtein(), IsRSWGSNuc(), IsRSWGSProt(), and x_SetId().
|
private |
Definition at line 333 of file context.hpp.
Referenced by GetRepr(), IsDelta(), IsSegmented(), x_Init(), x_IsPart(), and x_SetId().
|
mutableprivate |
Definition at line 381 of file context.hpp.
Referenced by ShowAnnotCommentAsCOMMENT(), x_CheckForShowComments(), and x_Init().
|
mutableprivate |
Definition at line 382 of file context.hpp.
Referenced by ShowAnnotCommentAsCOMMENT(), x_CheckForShowComments(), and x_Init().
|
private |
Definition at line 372 of file context.hpp.
Referenced by ShowGBBSource(), and x_SetId().
|
mutableprivate |
Definition at line 324 of file context.hpp.
Referenced by GetTaxname(), and x_SetTaxname().
|
private |
Definition at line 393 of file context.hpp.
Referenced by CanGetTLSeqEntryCtx(), and GetTLSeqEntryCtx().
|
private |
Definition at line 321 of file context.hpp.
Referenced by GetTLSMasterAccn(), and x_SetId().
|
private |
Definition at line 322 of file context.hpp.
Referenced by GetTLSMasterName(), and x_SetId().
|
private |
Definition at line 319 of file context.hpp.
Referenced by GetTSAMasterAccn(), and x_SetId().
|
private |
Definition at line 320 of file context.hpp.
Referenced by GetTSAMasterName(), and x_SetId().
|
mutableprivate |
Definition at line 378 of file context.hpp.
Referenced by SetPDBCompoundForComment(), and UsePDBCompoundForComment().
|
private |
Definition at line 389 of file context.hpp.
Referenced by ~CBioseqContext().
|
private |
Definition at line 317 of file context.hpp.
Referenced by GetWGSMasterAccn(), and x_SetId().
|
private |
Definition at line 318 of file context.hpp.
Referenced by GetWGSMasterName(), and x_SetId().