61 biosource.
SetOrg().ResetDb();
84 CSeq_feat::TDbxref::iterator dbtag = feat->
SetDbxref().begin();
85 while ( dbtag != feat->
SetDbxref().end() )
87 if ((*dbtag)->IsSetDb() && (*dbtag)->GetDb() ==
"taxon")
107 COrg_ref::TDb::iterator dbtag = biosource.
SetOrg().SetDb().begin();
108 while ( dbtag != biosource.
SetOrg().SetDb().end() )
110 if ((*dbtag)->IsSetDb() && (*dbtag)->GetDb() ==
"taxon")
112 dbtag = biosource.
SetOrg().SetDb().erase(dbtag);
118 biosource.
SetOrg().ResetDb();
static void rm_dbxref_from_biosource_and_feats(objects::CSeq_entry_Handle seh, ICommandProccessor *cmd_processor)
static void rm_dbxref_from_biosource(objects::CSeq_entry_Handle seh, ICommandProccessor *cmd_processor)
static void ModifyBioSource(objects::CBioSource &biosource)
static void ModifyFeature(CRef< objects::CSeq_feat > feat)
static void rm_dbxref_from_feat(objects::CSeq_entry_Handle seh, objects::CSeqFeatData::E_Choice type, ICommandProccessor *cmd_processor)
static void ModifyBioSource(objects::CBioSource &biosource)
static void rm_taxon_from_feats_and_biosource(objects::CSeq_entry_Handle seh, ICommandProccessor *cmd_processor)
static void rm_taxon_from_feats(objects::CSeq_entry_Handle seh, ICommandProccessor *cmd_processor)
static void ModifyFeature(CRef< objects::CSeq_feat > feat)
static void FindFeatures(objects::CSeq_entry_Handle seh, objects::CSeqFeatData::E_Choice type, CRef< CCmdComposite > cmd)
static void FindBioSource(objects::CSeq_entry_Handle tse, CRef< CCmdComposite > composite)
Undo/Redo interface for editing operations.
virtual void Execute(IEditCommand *command, wxWindow *window=0)=0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const TOrg & GetOrg(void) const
Get the Org member data.
void SetOrg(TOrg &value)
Assign a value to Org data member.
const TDb & GetDb(void) const
Get the Db member data.
TDbxref & SetDbxref(void)
Assign a value to Dbxref data member.
void ResetDbxref(void)
Reset Dbxref data member.
bool IsSetDbxref(void) const
support for xref to other databases Check if a value has been assigned to Dbxref data member.
@ e_not_set
No variant selected.
USING_SCOPE(ncbi::objects)
Utility macros and typedefs for exploring NCBI objects from seqfeat.asn.
Utility macros and typedefs for exploring NCBI objects from seqset.asn.