NCBI C++ ToolKit
Public Member Functions | Public Attributes | Friends | List of all members
SSeqDBTaxInfo Struct Reference

Search Toolkit Book for SSeqDBTaxInfo

SSeqDBTaxInfo. More...

#include <objtools/blast/seqdb_reader/seqdbcommon.hpp>

Public Member Functions

 SSeqDBTaxInfo (TTaxId t=ZERO_TAX_ID)
 Default constructor. More...
 

Public Attributes

TTaxId taxid
 An identifier for this species or taxonomic group. More...
 
string scientific_name
 Scientific name, such as "Aotus vociferans". More...
 
string common_name
 Common name, such as "noisy night monkey". More...
 
string blast_name
 A simple category name, such as "birds". More...
 
string s_kingdom
 A string of length 1 indicating the "Super Kingdom". More...
 

Friends

ostream & operator<< (ostream &out, const SSeqDBTaxInfo &rhs)
 

Detailed Description

SSeqDBTaxInfo.

This structure contains the taxonomy information for a single given taxid.

Definition at line 1846 of file seqdbcommon.hpp.

Constructor & Destructor Documentation

◆ SSeqDBTaxInfo()

SSeqDBTaxInfo::SSeqDBTaxInfo ( TTaxId  t = ZERO_TAX_ID)
inline

Default constructor.

Parameters
tthe taxonomy ID to set for this structure

Definition at line 1849 of file seqdbcommon.hpp.

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  out,
const SSeqDBTaxInfo rhs 
)
friend

Definition at line 1869 of file seqdbcommon.hpp.

Member Data Documentation

◆ blast_name

string SSeqDBTaxInfo::blast_name

◆ common_name

string SSeqDBTaxInfo::common_name

◆ s_kingdom

string SSeqDBTaxInfo::s_kingdom

A string of length 1 indicating the "Super Kingdom".

Definition at line 1867 of file seqdbcommon.hpp.

Referenced by CBlastDBExtractor::ExtractSuperKingdom(), CBlastTabularInfo::x_SetTaxInfo(), and CBlastTabularInfo::x_SetTaxInfoAll().

◆ scientific_name

string SSeqDBTaxInfo::scientific_name

◆ taxid

TTaxId SSeqDBTaxInfo::taxid

The documentation for this struct was generated from the following file:
Modified on Wed Apr 17 13:08:11 2024 by modify_doxy.py rev. 669887