NCBI C++ ToolKit
|
#include <corelib/ncbistd.hpp>
#include <objmgr/scope.hpp>
#include <objmgr/bioseq_handle.hpp>
#include <objects/seq/Seqdesc.hpp>
#include <objects/seqfeat/Seq_feat.hpp>
#include <objtools/edit/string_constraint.hpp>
#include <objtools/edit/apply_object.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CFieldHandler |
class | CFieldHandlerFactory |
Functions | |
bool | DoesObjectMatchFieldConstraint (const CObject &object, const string &field_name, CRef< CStringConstraint > string_constraint, CRef< CScope > scope) |
bool | DoesApplyObjectMatchFieldConstraint (const CApplyObject &object, const string &field_name, CRef< CStringConstraint > string_constraint) |
vector< CConstRef< CSeq_feat > > | GetRelatedFeatures (const CSeq_feat &obj_feat, CSeqFeatData::ESubtype constraint_type, CRef< CScope > scope) |
Variables | |
static const string | kFieldTypeSeqId = "SeqId" |
const string | kDefinitionLineLabel = "Definition Line" |
const string | kCommentDescriptorLabel = "Comment Descriptor" |
const string | kGenbankBlockKeyword = "Keyword" |
bool DoesApplyObjectMatchFieldConstraint | ( | const CApplyObject & | object, |
const string & | field_name, | ||
CRef< CStringConstraint > | string_constraint | ||
) |
Definition at line 3613 of file miscedit_util.cpp.
References CFieldHandlerFactory::Create(), CStringConstraint::DoesListMatch(), CMiscSeqTableColumn::GetRelatedObjects(), CMiscSeqTableColumn::GetVals(), NStr::IsBlank(), and ITERATE.
bool DoesObjectMatchFieldConstraint | ( | const CObject & | object, |
const string & | field_name, | ||
CRef< CStringConstraint > | string_constraint, | ||
CRef< CScope > | scope | ||
) |
Definition at line 3592 of file miscedit_util.cpp.
References CFieldHandlerFactory::Create(), CStringConstraint::DoesListMatch(), CMiscSeqTableColumn::GetRelatedObjects(), CMiscSeqTableColumn::GetVals(), NStr::IsBlank(), and ITERATE.
vector<CConstRef<CSeq_feat> > GetRelatedFeatures | ( | const CSeq_feat & | obj_feat, |
CSeqFeatData::ESubtype | constraint_type, | ||
CRef< CScope > | scope | ||
) |
Definition at line 3130 of file miscedit_util.cpp.
References CSeqFeatData_Base::e_Cdregion, CSeqFeatData_Base::e_Prot, eOverlap_Contained, eOverlap_Contains, CSeqFeatData::eSubtype_any, CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mRNA, f(), GetBestCdsForMrna(), GetBestMrnaForCds(), CScope::GetBioseqHandle(), GetCDSForProduct(), GetCdssForGene(), CSeq_feat_Base::GetData(), CSeq_feat_Base::GetLocation(), GetOverlappingFeatures(), GetOverlappingGene(), CSeq_feat_Base::GetProduct(), CScope::GetSeq_featHandle(), CSeqFeatData::GetSubtype(), CSeqFeatData::GetTypeFromSubtype(), CSeq_feat_Base::IsSetProduct(), ITERATE, and s_GetProtFeatures().
Referenced by CMacroFunction_SetRelFeatQual::TheFunction(), CMacroFunction_EditRelFeatQual::TheFunction(), CMacroFunction_ConvertFeatQual::TheFunction(), CMacroFunction_ConvertRNARelQual::TheFunction(), CMacroFunction_ParseFeatQual::TheFunction(), CMacroFunction_ParseRNARelQual::TheFunction(), CMacroFunction_AddParsedToFeatQual::TheFunction(), CMacroFunction_ParsedTextFrom::TheFunction(), CMacroFunction_CopyFeatQual::TheFunction(), CMacroFunction_CopyRNARelQual::TheFunction(), CMacroFunction_RmvOutsideRelFeatQual::TheFunction(), and CMacroFunction_SwapRelFeatQual::x_DoDestFeatFieldsExist().
Definition at line 92 of file field_handler.hpp.
Definition at line 91 of file field_handler.hpp.
Definition at line 90 of file field_handler.hpp.
Definition at line 93 of file field_handler.hpp.