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

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

60  table

->SetColumns().push_back(id_col);

62

old_tax->

SetHeader

().SetTitle(

"old taxname"

);

63  table

->SetColumns().push_back(old_tax);

65

is_barcode->

SetHeader

().SetTitle(

"is_barcode"

);

66  table

->SetColumns().push_back(is_barcode);

75  id

->Assign(*(bi->GetSeqId()));

76

id_col->

SetData

().SetId().push_back(

id

);

77

old_tax->

SetData

().SetString().push_back(taxname);

78  bool

barcode =

false

;

83

is_barcode->

SetData

().SetInt().push_back(barcode ? 1 : 0);

93

new_tax->

SetHeader

().SetTitle(

"new taxname"

);

94  table

.SetColumns().push_back(new_tax);

96

taxon->

SetHeader

().SetTitle(

"tax ID"

);

97  table

.SetColumns().push_back(taxon);

99

vector<CRef<COrg_ref> > org_ref_list;

113

new_tax->

SetData

().SetString().push_back(taxname);

114

org_ref_list.push_back(org);

118

pub_stat->

SetHeader

().SetTitle(

"is_unpublished"

);

119  table

.SetColumns().push_back(pub_stat);

124  bool

is_unpub =

false

;

126  if

((*reply_it)->IsData()) {

128  if

((*reply_it)->GetData().IsSetStatus()) {

130  if

((*status_it)->IsSetProperty()

137  if

((*reply_it)->GetData().IsSetOrg() && (*reply_it)->GetData().GetOrg().IsSetDb()) {

140

&& (*db_it)->IsSetTag() && (*db_it)->GetTag().IsId()) {

141

taxid = (*db_it)->GetTag().GetId();

146

taxon->

SetData

().SetInt().push_back(taxid);

147

pub_stat->

SetData

().SetInt().push_back(is_unpub ? 1 : 0);

150  for

(

size_t i

= 0;

i

<

table

.GetColumn(0).GetData().GetSize();

i

++) {

151

pub_stat->

SetData

().SetInt().push_back(0);

152

taxon->

SetData

().SetInt().push_back(0);

160

lines <<

"Accession\tOld Name\tNew Name\n"

;

179

lines <<

table

.GetColumns()[1]->GetData().GetString()[

i

];

181

lines <<

table

.GetColumns()[3]->GetData().GetString()[

i

];

190

lines <<

"Failed Lookups\n"

;

192  for

(

size_t i

= 0;

i

<

table

.GetColumns().

front

()->GetData().GetSize();

i

++) {

193  if

(

table

.GetColumns()[4]->GetData().GetInt()[

i

] == 0) {

197

lines <<

"\n\nSp. Replaced with Real\n"

;

199  for

(

size_t i

= 0;

i

<

table

.GetColumns().

front

()->GetData().GetSize();

i

++) {

200  if

(

NStr::Find

(

table

.GetColumns()[1]->GetData().GetString()[

i

],

" sp."

) != string::npos

201

&&

NStr::Find

(

table

.GetColumns()[3]->GetData().GetString()[

i

],

" sp."

) == string::npos) {

206

lines <<

"\n\nUnpublished Names\n"

;

208  for

(

size_t i

= 0;

i

<

table

.GetColumns().

front

()->GetData().GetSize();

i

++) {

209  if

(

table

.GetColumns()[5]->GetData().GetInt()[

i

] != 0) {

User-defined methods of the data storage class.

User-defined methods of the data storage class.

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.

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

Set object to copy of another one.

void GetLabel(string *label, ELabelType type=eDefault, TLabelFlags flags=fLabel_Default) const

Append a label for this Seq-id to the supplied string.

CConstRef< CSeq_id > GetSeqId(void) const

@ eContent

Untagged human-readable accession or the like.

const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)

If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...

@ eGetId_Best

return the "best" gi (uses FindBestScore(), with CSeq_id::CalculateScore() as the score function

CBioseq_Handle GetBioseqHandle(const CSeq_id &id)

Get bioseq handle by seq-id.

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

Case-insensitive equality of a substring with another 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.

vector< CRef< CDbtag > > TDb

const TTaxname & GetTaxname(void) const

Get the Taxname member data.

void SetTaxname(const TTaxname &value)

Assign a value to Taxname data member.

bool IsSetTaxname(void) const

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

void SetHeader(THeader &value)

Assign a value to Header data member.

void SetData(TData &value)

Assign a value to Data data member.

vector< CRef< CSeq_id > > TId

const TSource & GetSource(void) const

Get the variant data.

TTech GetTech(void) const

Get the Tech member data.

bool IsSetTech(void) const

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

const TMolinfo & GetMolinfo(void) const

Get the variant data.

@ eTech_barcode

barcode of life project

@ e_Molinfo

info on the molecule and techniques

@ e_Source

source of materials, includes Org-ref

@ eMol_na

just a nucleic acid

list< CRef< CT3StatusFlags > > TStatus

list< CRef< CT3Reply > > TReply

<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table

void MakeMailReportPostReport(CSeq_table &table, CScope &scope)

void PrintReportLineHeader(ostringstream &lines)

CRef< CSeq_table > MakeMailReportPreReport(CSeq_entry_Handle seh)

string GetReportFromMailReportTable(const CSeq_table &table, CScope *scope)

void ReportMailReportLine(ostringstream &lines, const CSeq_table &table, size_t i, CScope *scope=nullptr)

constexpr auto front(list< Head, As... >, T=T()) noexcept -> Head

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


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