((m_ref->GetCde())&0xff)-1;
69 return(m_ref->GetCde()>>8)&0x3f;
75 return(m_ref->GetCde()>>(8+6))&0x3f;
81 return(m_ref->GetCde()>>(8+6+6))&0x3f;
101 returnm_name.size()+10 == vt->GetDb().size() &&
111 stringsProp =
"taxlookup$"+prop_name;
114pDb->SetTag().SetStr( prop_val );
118COrg_ref::TDb::iterator
i= find_if( org.
SetDb().begin(), org.
SetDb().end(), ppdb );
119 if(
i!= org.
SetDb().end() ) {
124org.
SetDb().push_back( pDb );
130 stringsProp =
"taxlookup%"+prop_name;
133pDb->SetTag().SetId( prop_val );
137COrg_ref::TDb::iterator
i= find_if( org.
SetDb().begin(), org.
SetDb().end(), ppdb );
138 if(
i!= org.
SetDb().end() ) {
143org.
SetDb().push_back( pDb );
149 stringsProp =
"taxlookup?"+prop_name;
152pDb->SetTag().SetId( prop_val ? 1 : 0 );
156COrg_ref::TDb::iterator
i= find_if( org.
SetDb().begin(), org.
SetDb().end(), ppdb );
157 if(
i!= org.
SetDb().end() ) {
162org.
SetDb().push_back( pDb );
170COrg_ref::TDb::const_iterator
i= find_if( org.
GetDb().begin(), org.
GetDb().end(), ppdb );
171 return i!= org.
GetDb().end();
181COrg_ref::TDb::const_iterator
i= find_if( org.
GetDb().begin(), org.
GetDb().end(), ppdb );
182 if(
i!= org.
GetDb().end() && (*i)->IsSetTag() && (*i)->GetTag().IsStr() ) {
183 return(*i)->GetTag().GetStr();
195COrg_ref::TDb::const_iterator
i= find_if( org.
GetDb().begin(), org.
GetDb().end(), ppdb );
196 if(
i!= org.
GetDb().end() && (*i)->IsSetTag() && (*i)->GetTag().IsId() ) {
197 return(*i)->GetTag().GetId() != 0;
209COrg_ref::TDb::const_iterator
i= find_if( org.
GetDb().begin(), org.
GetDb().end(), ppdb );
210 if(
i!= org.
GetDb().end() && (*i)->IsSetTag() && (*i)->GetTag().IsId() ) {
211 return(*i)->GetTag().GetId();
222 for( COrg_ref::TDb::iterator
i= org.
SetDb().begin();
i!= org.
SetDb().end(); ) {
223 if( prop_name.size()+10 == (*i)->GetDb().size() &&
static const std::string & GetOrgrefProp(const ncbi::objects::COrg_ref &org, const std::string &prop_name)
static int GetOrgrefPropInt(const ncbi::objects::COrg_ref &org, const std::string &prop_name)
static bool GetOrgrefPropBool(const ncbi::objects::COrg_ref &org, const std::string &prop_name)
static void SetOrgrefProp(ncbi::objects::COrg_ref &org, const std::string &prop_name, const std::string &prop_val)
static void RemoveOrgrefProp(ncbi::objects::COrg_ref &org, const std::string &prop_name)
static bool HasOrgrefProp(const ncbi::objects::COrg_ref &org, const std::string &prop_name)
virtual TTaxGeneticCode GetMGC() const
virtual TTaxGeneticCode GetGC() const
virtual TTaxRank GetRank() const
virtual TTaxDivision GetDivision() const
virtual bool IsGenBankHidden() const
virtual bool IsUncultured() const
PPredDbTagByName(const string &sName)
bool operator()(const COrg_ref::TDb::value_type &vt) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool EndsWith(const CTempString str, const CTempString end, ECase use_case=eCase)
Check if a string ends with a specified suffix value.
static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)
Check if a string starts with a specified prefix value.
static const string & Get(void)
Get string.
bool IsSetDb(void) const
ids in taxonomic or culture dbases Check if a value has been assigned to Db data member.
TDb & SetDb(void)
Assign a value to Db data member.
const TDb & GetDb(void) const
Get the Db member data.
double value_type
The numeric datatype used by the parser.
short int TTaxRank
Primitive types for some taxon1 object fields.
short int TTaxGeneticCode
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