46 set <const CSeqdesc*> psds;
49 if (psds.find(&*it) != psds.end())
continue;
51 if (it->GetSource().IsSetOrgMod()) {
54 if (it->GetSource().IsSetTaxname()) {
55 const string& taxname = it->GetSource().GetTaxname();
56 const string authority = (*mit)->GetSubname();
60 new_mod->
SetSubname(taxname +
" " + authority);
61 add_to_cmd <COrgMod> ( (CObject*)((*mit).GetPointer()),
@OrgMod.hpp User-defined methods of the data storage class.
virtual void apply_to(const CSeq_entry_Handle &tse, CRef< CCmdComposite > composite)
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
void SetSubname(const TSubname &value)
Assign a value to Subname data member.
@ e_Source
source of materials, includes Org-ref
Magic spell ;-) needed for some weird compilers... very empiric.