1 #ifndef OBJTOOLS__PUBSEQ_GATEWAY__IPG__IPG_REPORT_ENTRY_HPP_
2 #define OBJTOOLS__PUBSEQ_GATEWAY__IPG__IPG_REPORT_ENTRY_HPP_
71 m_Accession = move(
value);
86 m_NucAccession =
value;
91 m_NucAccession = move(
value);
96 m_ProductName =
value;
101 m_ProductName = move(
value);
111 m_Strain = move(
value);
151 m_Assembly = move(
value);
181 m_Weights = move(
value);
191 m_BioProject =
value;
196 m_BioProject = move(
value);
241 m_PubMedIds.insert(
id);
246 m_PubMedIds = move(ids);
261 m_DefLine = move(
value);
288 return m_NucAccession;
292 return m_ProductName;
380 return !m_PubMedIds.empty();
388 return m_DefLine.empty() ? m_ProductName : m_DefLine;
394 m_Flags |=
static_cast<Int4>(flag_value);
396 m_Flags &= ~(
static_cast<Int4>(flag_value));
401 return m_Flags &
static_cast<Int4>(flag_value);
438 objects::CBioSource::EGenome m_Genome{objects::CBioSource::eGenome_unknown};
445 bool m_IsPatent{
false};
Include a standard set of the NCBI C++ Toolkit most basic headers.
SStrictId_Tax::TId TTaxId
Taxon id type.
void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)
int32_t Int4
4-byte (32-bit) signed integer
#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.
function< bool(vector< CIpgStorageReportEntry > &&, bool is_last)> CPubseqGatewayIpgReportConsumeCallback
vector< double > TIpgWeights
Defines: CTimeFormat - storage class for time format.
CIpgStorageReportEntry & SetPatent(bool value)
CIpgStorageReportEntry & SetDefLine(string const &defline)
bool x_GetFlag(EIpgProteinFlags flag_value) const
CIpgStorageReportEntry & SetAssembly(string &&value)
CIpgStorageReportEntry & SetDiv(string const &value)
CIpgStorageReportEntry & SetSatkey(Int4 value)
CIpgStorageReportEntry & SetProductName(string const &value)
CIpgStorageReportEntry & SetIpg(TIpg value)
CIpgStorageReportEntry & SetProtGi(TGi &value)
CIpgStorageReportEntry & SetGenome(objects::CBioSource::EGenome value)
CIpgStorageReportEntry & SetNucAccession(string const &value)
CIpgStorageReportEntry & SetRefseq(list< string > &&value)
CIpgStorageReportEntry & SetBioProject(string const &value)
objects::CBioSource::EGenome GetGenome() const
CIpgStorageReportEntry & SetWriteTime(CTime value)
CIpgStorageReportEntry & SetTaxid(TTaxId value)
CIpgStorageReportEntry & SetAccession(string &&value)
CIpgStorageReportEntry()=default
string const & GetAssembly() const
CIpgStorageReportEntry(CIpgStorageReportEntry &&)=default
CIpgStorageReportEntry & SetWeights(TIpgWeights &&value)
CIpgStorageReportEntry & SetUpdated(CTime value)
CIpgStorageReportEntry & SetPartial(bool value)
CIpgStorageReportEntry & SetUnverified(bool value=true)
string const & GetProductName() const
CIpgStorageReportEntry & SetDiv(string &&value)
CIpgStorageReportEntry & SetAssembly(string const &value)
CIpgStorageReportEntry & SetStrain(string const &value)
CIpgStorageReportEntry(CIpgStorageReportEntry const &)=default
CIpgStorageReportEntry & SetPubMedIds(TPubMedIds &&ids)
CIpgStorageReportEntry & SetProductName(string &&value)
CIpgStorageReportEntry & SetDefLine(string &&value)
CIpgStorageReportEntry & SetMatPeptide(bool value=true)
CIpgStorageReportEntry & SetFlags(Int4 value)
CIpgStorageReportEntry & SetCds(TIpgCds value)
CIpgStorageReportEntry & SetNucAccession(string &&value)
string const & GetAccession() const
CIpgStorageReportEntry & SetPubMedIds(TPubMedIds const &ids)
const TPubMedIds & GetPubMedLinks() const
CTime GetWriteTime() const
bool GetUnverified() const
CIpgStorageReportEntry & SetStrain(string &&value)
TGbState GetGbState() const
CIpgStorageReportEntry & SetBioProject(string &&value)
bool GetMatPeptide() const
CIpgStorageReportEntry & operator=(CIpgStorageReportEntry &&)=default
CIpgStorageReportEntry & AddPubMedId(int id)
string const & GetBioProject() const
CIpgStorageReportEntry & SetRemote(bool value=true)
list< string > const & GetRefseq() const
void x_SetFlag(bool set_flag, EIpgProteinFlags flag_value)
CIpgStorageReportEntry & SetAccession(string const &value)
string const & GetDiv() const
CIpgStorageReportEntry & SetCreated(CTime value)
TIpgWeights const & GetWeights() const
string const & GetDefLine() const
string const & GetStrain() const
CIpgStorageReportEntry & SetWeights(TIpgWeights const &value)
CIpgStorageReportEntry & SetRefseq(list< string > const &value)
CIpgStorageReportEntry & SetLength(Int4 value)
TIpgCds const & GetCds() const
CIpgStorageReportEntry & SetGbState(TGbState value)
CIpgStorageReportEntry & SetSrcDb(Int4 value)
CIpgStorageReportEntry & operator=(CIpgStorageReportEntry const &)=default
string const & GetNucAccession() const
@ NCBI_gb_state_eWGSGenBankLive