NCBI C++ ToolKit
Functions | Variables
fetch_ipg_report.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbitime.hpp>
#include <objtools/pubseq_gateway/impl/ipg/fetch_ipg_report.hpp>
#include <objtools/pubseq_gateway/impl/ipg/ipg_huge_report_helper.hpp>
+ Include dependency graph for fetch_ipg_report.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

constexpr int FieldIndex (const char *field_name)
 
string GetSelectFieldList ()
 
void PopulateEntry (shared_ptr< CCassQuery > &query, CIpgStorageReportEntry &entry)
 

Variables

static constexpr array< pair< const char *, const char * >, 22 > ipg_report_fields
 

Function Documentation

◆ FieldIndex()

constexpr int FieldIndex ( const char *  field_name)
constexpr

Definition at line 66 of file fetch_ipg_report.cpp.

References i, and ipg_report_fields.

Referenced by PopulateEntry().

◆ GetSelectFieldList()

string GetSelectFieldList ( )

Definition at line 78 of file fetch_ipg_report.cpp.

References ipg_report_fields.

Referenced by CPubseqGatewayFetchIpgReport::Wait1().

◆ PopulateEntry()

void PopulateEntry ( shared_ptr< CCassQuery > &  query,
CIpgStorageReportEntry entry 
)

Variable Documentation

◆ ipg_report_fields

constexpr array<pair<const char*, const char *>, 22> ipg_report_fields
inlinestaticconstexpr
Initial value:
{{
{"ipg", "ipg"},
{"accession", "accession"},
{"assembly", "assembly"},
{"product_name", "product_name"},
{"nuc_accession", "nuc_accession"},
{"length", "length"},
{"div", "div"},
{"src_db", "src_db"},
{"src_refseq", "src_refseq"},
{"taxid", "taxid"},
{"cds", "cds"},
{"strain", "strain"},
{"gb_state", "gb_state"},
{"weights", "weights"},
{"bioproject", "bioproject"},
{"compartment", "compartment"},
{"updated", "updated"},
{"created", "created"},
{"flags", "flags"},
{"pubmedids", "pubmedids"},
{"def_line", "def_line"},
{"write_time", "writetime(gb_state)"},
}}

Definition at line 41 of file fetch_ipg_report.cpp.

Referenced by FieldIndex(), and GetSelectFieldList().

Modified on Wed Feb 21 09:57:57 2024 by modify_doxy.py rev. 669887