29 #ifndef _EDITING_ACTION_FEATURES_H_
30 #define _EDITING_ACTION_FEATURES_H_
56 const string& ncRNA_class,
108 const string& ncRNA_class);
122 const string& ncRNA_class);
136 const string& ncRNA_class,
137 const string &qual,
const string &name =
"CEditingActionFeatGbQual");
156 const string& ncRNA_class,
157 const string &qual1,
const string &qual2);
170 const string& ncRNA_class,
185 const string& ncRNA_class,
200 const string& ncRNA_class);
218 const string& ncRNA_class);
232 const string& ncRNA_class);
246 const string& ncRNA_class);
260 const string& ncRNA_class);
276 const string& ncRNA_class);
294 const string& ncRNA_class,
const string &qual);
314 const string& ncRNA_class);
328 const string& ncRNA_class);
342 const string& ncRNA_class);
358 const string& ncRNA_class);
372 const string& ncRNA_class);
386 const string& ncRNA_class);
400 const string& ncRNA_class);
414 const string& ncRNA_class);
434 const string& ncRNA_class);
448 const string& ncRNA_class);
468 const string& ncRNA_class);
482 const string& ncRNA_class);
496 const string& ncRNA_class);
518 const string& ncRNA_class);
540 const string& ncRNA_class);
563 const string& ncRNA_class,
579 const string& ncRNA_class)
591 const string& ncRNA_class)
605 const string& ncRNA_class)
618 const string& ncRNA_class);
631 const string& ncRNA_class);
644 const string& ncRNA_class);
657 const string& ncRNA_class);
670 const string& ncRNA_class);
684 const string& ncRNA_class);
696 const string& ncRNA_class);
701 const string& ncRNA_class);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
CEditingActionFeatActivity(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
virtual bool IsSetValue(void)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void Modify(EActionType action)
CRef< CGb_qual > m_GBqual
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
CEditingActionFeatAllele(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
CEditingActionFeatAnticodon(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
string GetIntervalString(const CSeq_interval &seq_int)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatCodonStart(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatCodonsRecognized(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void Modify(EActionType action)
virtual bool IsSetValue(void)
virtual string GetValue(void)
virtual void ResetValue(void)
CEditingActionFeatDbxref(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual void ResetValue(void)
virtual string GetValue(void)
CEditingActionFeatDesc(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual bool IsSetValue(void)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatDualVal1(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &qual)
virtual void ResetValue(void)
CEditingActionFeatDualVal2(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &qual)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual void Modify(EActionType action)
virtual void FindRelated(EActionType action)
virtual bool IsSetValue(void)
virtual void Find(EActionType action)
CEditingActionFeatEcNumber(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void ResetValue(void)
virtual string GetValue(void)
CRef< CGb_qual > m_GBqual
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual void SetValue(const string &value)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
CEditingActionFeatEvidence(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
CEditingActionFeatException(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
virtual bool IsSetValue(void)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual void ResetValue(void)
CEditingActionFeatFunction(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
CRef< CGb_qual > m_GBqual
virtual void Modify(EActionType action)
virtual void Modify(EActionType action)
CEditingActionFeatGbQualTwoNames(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &qual1, const string &qual2)
virtual void SetValue(const string &value)
virtual void ResetValue(void)
CRef< CGb_qual > m_GBqual
virtual void Modify(EActionType action)
virtual bool IsSetValue(void)
CEditingActionFeatGbQual(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &qual, const string &name="CEditingActionFeatGbQual")
virtual string GetValue(void)
virtual void SetFeat(CSeq_feat_Handle fh)
CEditingActionFeatGeneLocusCdsGeneProt(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void Find(EActionType action)
virtual void Find(EActionType action)
CEditingActionFeatGeneLocusPlain(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void Find(EActionType action)
virtual bool SameObject()
virtual void SetFeat(CSeq_feat_Handle fh)
CEditingActionFeatGeneLocusRna(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
CEditingActionFeatGeneLocus(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &name)
virtual void FindRelated(EActionType action)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual bool IsSetValue(void)
CEditingActionFeatLocus_tag(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatMaploc(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual bool IsSetValue(void)
CEditingActionFeatNcRnaClass(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual string GetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatPartial(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
virtual void Modify(EActionType action)
virtual void SetValue(const string &value)
CRef< CGb_qual > m_GBqual
virtual void Find(EActionType action)
virtual string GetValue(void)
virtual void FindRelated(EActionType action)
CEditingActionFeatProduct(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void ResetValue(void)
CEditingActionFeatPseudo(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual string GetValue(void)
virtual bool IsSetValue(void)
virtual void ResetValue(void)
CEditingActionFeatRegion(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
virtual bool IsSetValue(void)
CEditingActionFeatRnaQual(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &qual)
virtual void ResetValue(void)
virtual void Modify(EActionType action)
virtual string GetValue(void)
CRef< CGb_qual > m_GBqual
virtual void SetValue(const string &value)
CRef< CRNA_qual > m_RnaQual
virtual void SetFeat(CSeq_feat_Handle fh)
virtual void Find(EActionType action)
virtual bool SameObject()
virtual void FindRelated(EActionType action)
CEditingActionFeatRnaToGeneDesc(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class)
virtual void FindRelated(EActionType action)
virtual void Find(EActionType action)
virtual void SetFeat(CSeq_feat_Handle fh)
virtual bool SameObject()
CEditingActionFeatRnaToGeneLocus_tag(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class)
virtual void SetFeat(CSeq_feat_Handle fh)
virtual void Find(EActionType action)
virtual void FindRelated(EActionType action)
virtual bool SameObject()
CEditingActionFeatRnaToGeneMaploc(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class)
CEditingActionFeatRnaToGeneSynonym(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class)
virtual void SetFeat(CSeq_feat_Handle fh)
virtual bool SameObject()
virtual void FindRelated(EActionType action)
virtual void Find(EActionType action)
virtual bool IsSetValue(void)
virtual string GetValue(void)
CEditingActionFeatSynonym(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void ResetValue(void)
virtual void Modify(EActionType action)
virtual void SetValue(const string &value)
CRef< CGb_qual > m_GBqual
virtual bool IsSetValue(void)
virtual void ResetValue(void)
CEditingActionFeatTranscriptId(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual void SetValue(const string &value)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
virtual void Modify(EActionType action)
virtual string GetValue(void)
CEditingActionFeatTranslExcept(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual bool IsSetValue(void)
CRef< CCode_break > m_CodeBreak
const CGenetic_code_table & m_code_table
virtual string GetValue(void)
CEditingActionFeatTranslTable(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
virtual bool IsSetValue(void)
virtual void SetValue(const string &value)
virtual void ResetValue(void)
virtual bool IsSetValue(void)
virtual string GetValue(void)
virtual void ResetValue(void)
virtual void SetValue(const string &value)
CEditingActionFeatTranslation(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
CRef< CSeq_loc > x_GetSublocOnBioseq(CBioseq_Handle bsh, const CSeq_loc &loc)
void SetFeatForAnotherFeat(CSeq_feat_Handle fh, const CSeqFeatData::ESubtype subtype)
CSeq_feat_Handle x_FindGeneForFeature(const CSeq_loc &loc, CScope &scope, CSeqFeatData::ESubtype subtype)
virtual void SwapContext(IEditingAction *source)
CSeq_feat_Handle GetFeatHandle(void)
void FindFeatForAnotherFeat(EActionType action, SAnnotSelector other_selector)
virtual void SetFeat(CSeq_feat_Handle fh)
CSeqFeatData::ESubtype GetActionFeatSubtype()
void RemoveGeneXref(void)
CRef< CSeq_feat > m_EditedFeat
IEditingActionFeat(CSeq_entry_Handle seh, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class, const string &name)
CSeq_entry_Handle GetCurrentSeqEntryHandleFromFeatHandle(CSeq_feat_Handle fh)
virtual void Find(EActionType action)
bool MatchBioseqConstraintForFeatHandle(CSeq_feat_Handle fh)
CRef< CSeq_feat > m_SavedEditedFeat
bool m_saved_feat_enabled
virtual void FindRelated(EActionType action)
void GoToOrigFeature(void)
static const string & s_GetncRNAClass(const objects::CRNA_ref &rna_ref)
bool OtherFeatIs(const CSeqFeatData::ESubtype subtype)
virtual void ResetScope()
CRef< CSeq_loc > x_MergeFeatureLocation(const CSeq_loc &loc, CScope &scope)
static bool s_IsSetncRNAClass(const objects::CRNA_ref &rna_ref)
virtual void Modify(EActionType action)
void GoToProtFeature(void)
SAnnotSelector m_selector
CSeq_feat_Handle m_SavedFeat
bool x_TestGeneForFeature(const CSeq_loc &gene_loc, const CSeq_loc &feat_loc, CScope &scope, bool &exact, TSeqPos &diff)
void FindRelatedFeatForAnotherFeat(EActionType action, SAnnotSelector other_selector)
void FindRelatedOrCreateProtFeat(EActionType action)
void FindOrCreateProtFeat(EActionType action)
virtual bool SameObject()
Include a standard set of the NCBI C++ Toolkit most basic headers.
IEditingActionFeat * CreateActionCdsGeneProt(CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class=kEmptyStr)
IEditingActionFeat * CreateActionFeat(CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const CSeqFeatData::E_Choice feat_type, const string &ncRNA_class)
IEditingActionFeat * CreateActionRna(CSeq_entry_Handle seh, string field, const CSeqFeatData::ESubtype subtype, const string &ncRNA_class)
unsigned int TSeqPos
Type for sequence locations and lengths.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const GenericPointer< typename T::ValueType > T2 value
const CharType(& source)[N]
TFeatSubtype GetFeatSubtype(void) const