Go to the documentation of this file.Go to the SVN repository for this file.
37 #ifndef CU_TAXCLIENT_HPP
38 #define CU_TAXCLIENT_HPP
57 TaxClient(
bool refresh = REFRESH_DEFAULT);
62 virtual bool IsAlive();
74 virtual bool SetSynonyms(
bool on_off);
76 virtual short GetRankID(
TTaxId taxId,
string& rankName);
80 virtual TTaxId GetTaxIDFromBioseq(
const CBioseq& bioseq,
bool lookInBioseq);
81 virtual string GetTaxNameForTaxID(
TTaxId taxid);
82 virtual string GetSuperKingdom(
TTaxId taxid);
85 virtual bool GetDisplayCommonName(
TTaxId taxid,
string& displayCommonName);
94 virtual bool GetFullLineage(
TTaxId taxid, vector<TTaxId>& lineageFromRoot);
103 virtual bool GetFullLineage(
TTaxId taxid, vector< pair<TTaxId, string> >& lineageFromRoot,
bool useCommonName =
false);
105 virtual bool ConnectToTaxServer();
User-defined methods of the data storage class.
static const bool REFRESH_DEFAULT
CTaxon1 * m_taxonomyClient
static void DLIST_NAME() init(DLIST_LIST_TYPE *list)
SStrictId_Tax::TId TTaxId
Taxon id type.
#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.
#define NCBI_CDUTILS_EXPORT
unique_ptr< CLocalTaxon > tax1