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/source__edit_8cpp_source.html below:

NCBI C++ ToolKit: src/objtools/edit/source_edit.cpp Source File

56  if

(src.IsSetOrg() && src.GetOrg().IsSetCommon()) {

57

src.SetOrg().ResetCommon();

60  if

(src.IsSetOrg() && src.GetOrg().IsSetSyn()) {

61

src.SetOrg().ResetSyn();

77

COrgName::TMod::iterator it = src.

SetOrg

().SetOrgname().SetMod().begin();

78  while

(it != src.

SetOrg

().SetOrgname().SetMod().end()) {

79  if

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

80

it = src.

SetOrg

().SetOrgname().SetMod().erase(it);

87

src.

SetOrg

().SetOrgname().ResetMod();

97

COrg_ref::TDb::iterator it = src.

SetOrg

().SetDb().begin();

98  while

(it != src.

SetOrg

().SetDb().end()) {

100

it = src.

SetOrg

().SetDb().erase(it);

123  ERR_POST

(

"Taxonomy service failure"

);

135  bool

found_in_both =

false

;

137  if

((*it1)->Equals(**it2)) {

138

found_in_both =

true

;

143  bool

already_in_common =

false

;

146  if

((*it3)->Equals(**it1)) {

147

already_in_common =

true

;

152  if

(!already_in_common) {

155

common.

SetOrgname

().SetMod().push_back(add);

173

vector<CRef<COrg_ref> > rq_list;

176

rq_list.push_back(o1);

179

rq_list.push_back(o2);

181  if

(!reply || reply->GetReply().size() != 2) {

182  ERR_POST

(

"Taxonomy service failure"

);

198

}

else if

(taxid1 == taxid2) {

201  tmp1

->SetOrg().Assign(*o1);

204

tmp2->

SetOrg

().Assign(*o2);

205

common =

tmp1

->MakeCommon(*tmp2);

208

rq->SetJoin().Set().push_back(

TAX_ID_TO

(

int

, taxid1));

209

rq->SetJoin().Set().push_back(

TAX_ID_TO

(

int

, taxid2));

214  if

(!reply || reply->GetReply().size() != 1) {

215  ERR_POST

(

"Taxonomy service failure"

+ err_nums);

218  const CT3Reply

& join_reply = *(reply->GetReply().front());

219  if

(join_reply.

IsData

()) {

222  bool

is_species_level =

false

, force_consult =

false

, has_nucleomorphs =

false

;

223

join_reply.

GetData

().

GetTaxFlags

(is_species_level, force_consult, has_nucleomorphs);

224  if

(is_species_level) {

228  ERR_POST

(

"Taxonomy join reply is not species level"

+ err_nums);

231  ERR_POST

(

"Taxonomy join reply Org-ref does not contain taxname"

+ err_nums);

234  ERR_POST

(

"Taxonomy join reply does not contain Org-ref"

+ err_nums);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

CRef< CBioSource > MakeCommonExceptOrg(const CBioSource &other) const

@OrgMod.hpp User-defined methods of the data storage class.

bool IsSetOrgMod(void) const

void GetTaxFlags(bool &is_species_level, bool &force_consult, bool &has_nucleomorphs) const

virtual CRef< CTaxon3_reply > SendRequest(const CTaxon3_request &request)

virtual CRef< CTaxon3_reply > SendOrgRefList(const vector< CRef< COrg_ref > > &list, COrg_ref::fOrgref_parts result_parts=COrg_ref::eOrgref_default, fT3reply_parts t3result_parts=eT3reply_default)

Include a standard set of the NCBI C++ Toolkit most basic headers.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define TAX_ID_TO(T, tax_id)

SStrictId_Tax::TId TTaxId

Taxon id type.

#define ERR_POST(message)

Error posting with file, line number information but without error codes.

virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)

Set object to copy of another one.

#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 bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

bool IsSetOrg(void) const

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

const TOrg & GetOrg(void) const

Get the Org member data.

void SetOrg(TOrg &value)

Assign a value to Org data member.

const TMod & GetMod(void) const

Get the Mod member data.

bool IsSetDb(void) const

ids in taxonomic or culture dbases Check if a value has been assigned to Db data member.

const TTaxname & GetTaxname(void) const

Get the Taxname member data.

const TDb & GetDb(void) const

Get the Db member data.

bool IsSetMod(void) const

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

list< CRef< COrgMod > > TMod

bool IsSetOrgname(void) const

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

bool IsSetTaxname(void) const

preferred formal name Check if a value has been assigned to Taxname data member.

void SetOrgname(TOrgname &value)

Assign a value to Orgname data member.

const TOrgname & GetOrgname(void) const

Get the Orgname member data.

bool IsData(void) const

Check if variant Data is selected.

const TData & GetData(void) const

Get the variant data.

bool IsSetOrg(void) const

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

TRequest & SetRequest(void)

Assign a value to Request data member.

bool IsError(void) const

Check if variant Error is selected.

const TError & GetError(void) const

Get the variant data.

const TOrg & GetOrg(void) const

Get the Org member data.

const TMessage & GetMessage(void) const

Get the Message member data.

bool IsSetMessage(void) const

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

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

bool RemoveMod(CBioSource &src, COrgMod::ESubtype subtype)

bool CleanupForTaxnameChange(CBioSource &src)

bool RemoveTaxId(CBioSource &src)

CRef< CBioSource > MakeCommonBioSource(const CBioSource &src1, const CBioSource &src2)

bool RemoveOldName(CBioSource &src)

void AddMissingCommonOrgMods(const COrg_ref &o1, const COrg_ref &o2, COrg_ref &common)

bool s_ProcessReply(const CT3Reply &reply, CRef< COrg_ref > org)


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