A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/autodef__source__desc_8cpp_source.html below:

NCBI C++ ToolKit: src/objmgr/util/autodef_source_desc.cpp Source File

53

m_FeatureClauses = feature_clauses;

55  if

(bs.CanGetOrg() && bs.GetOrg().CanGetTaxname()) {

56

m_DescStrings.push_back (bs.GetOrg().GetTaxname());

58  if

(bs.CanGetOrg() && bs.GetOrg().CanGetOrgname() && bs.GetOrg().GetOrgname().CanGetMod()) {

66  std::sort

(m_Modifiers.begin(), m_Modifiers.end());

98

TModifierVector::iterator it;

103  if

(it->IsOrgMod() && it->GetSubtype() == subtype) {

104  string val

= it->GetValue();

105  if

(!keepAfterSemicolon) {

107  if

(end != NCBI_NS_STD::string::npos) {

108  val

=

val

.substr(0, end);

118  if

(!it->IsOrgMod() && it->GetSubtype() == subtype) {

119  string val

= it->GetValue();

120  if

(!keepAfterSemicolon) {

122  if

(end != NCBI_NS_STD::string::npos) {

123  val

=

val

.substr(0, end);

141

TModifierVector::iterator it;

146  if

(it->IsOrgMod() && it->GetSubtype() == subtype) {

153  if

(!it->IsOrgMod() && it->GetSubtype() == subtype) {

169

TDescString::const_iterator s_it, this_it;

210  for

(k = 0; k < modifier_list.size(); k++) {

212  if

(modifier_list[k].IsOrgMod()) {

215  if

((*modI)->GetSubtype() == modifier_list[k].GetOrgModType()) {

217

modifier_list[k].ValueFound((*modI)->GetSubname() );

225  if

((*subSrcI)->GetSubtype() == modifier_list[k].GetSubSourceType()) {

227

modifier_list[k].ValueFound((*subSrcI)->GetName());

233

modifier_list[k].ValueFound(

""

);

336

rank2 =

mod

.GetRank();

340

}

else if

(rank1 > rank2) {

~CAutoDefSourceDescription()

list< string > TDescString

void GetAvailableModifiers(TAvailableModifierVector &modifier_list)

int Compare(const CAutoDefSourceDescription &s) const

vector< CAutoDefSourceModifierInfo > TModifierVector

TDescString m_DescStrings

bool RemoveQual(bool isOrgMod, int subtype)

TModifierVector m_Modifiers

vector< CAutoDefAvailableModifier > TAvailableModifierVector

const TDescString & GetStrings() const

string GetComboDescription(IAutoDefCombo *mod_combo)

const TModifierVector & GetModifiers() const

const string & GetFeatureClauses() const

bool AddQual(bool isOrgMod, int subtype, bool keepAfterSemicolon)

CAutoDefSourceDescription(const CBioSource &bs, string feature_clauses="")

const CBioSource & GetBioSource() const

CAutoDefSourceModifierInfo(bool isOrgMod, int subtype, string value)

int Compare(const CAutoDefSourceModifierInfo &mod) const

~CAutoDefSourceModifierInfo()

unsigned int GetRank() const

virtual string GetSourceDescriptionString(const CBioSource &biosrc)=0

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

const CBioSource * GetBioSource(const CBioseq &bioseq)

Retrieve the BioSource object for a given bioseq handle.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)

Find the pattern in the string.

static int Compare(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Compare of a substring with another string.

static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Test for equality of a substring with another string.

const TSubtype & GetSubtype(void) const

Get the Subtype member data.

bool CanGetSubtype(void) const

Check if it is safe to call GetSubtype method.

bool CanGetOrg(void) const

Check if it is safe to call GetOrg method.

list< CRef< CSubSource > > TSubtype

const TOrg & GetOrg(void) const

Get the Org member data.

@ eSubtype_endogenous_virus_name

const TMod & GetMod(void) const

Get the Mod member data.

const TTaxname & GetTaxname(void) const

Get the Taxname member data.

bool IsSetMod(void) const

Check if a value has been assigned to Mod data member.

list< CRef< COrgMod > > TMod

bool CanGetOrgname(void) const

Check if it is safe to call GetOrgname method.

const TOrgname & GetOrgname(void) const

Get the Orgname member data.

@ eSubtype_specimen_voucher

constexpr auto sort(_Init &&init)

const GenericPointer< typename T::ValueType > T2 value

Miscellaneous common-use basic types and functionality.


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