Go to the SVN repository for this file.
41 using namespace ncbi;
46set <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 stringauthority = (*mit)->GetSubname();
60new_mod->
SetSubname(taxname +
" "+ authority);
61add_to_cmd <COrgMod> ( (CObject*)((*mit).GetPointer()),
62(CObject*)(new_mod.
GetPointer()), composite);
@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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4