NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CPSG_IpgInfo Class Reference

Search Toolkit Book for CPSG_IpgInfo

Ipg info – result of the IPG resolution. More...

#include <objtools/pubseq_gateway/client/psg_client.hpp>

+ Inheritance diagram for CPSG_IpgInfo:
+ Collaboration diagram for CPSG_IpgInfo:

Public Types

typedef int TState
 
- Public Types inherited from CPSG_ReplyItem
enum  EType {
  eBlobData , eBlobInfo , eSkippedBlob , eBioseqInfo ,
  eNamedAnnotInfo , ePublicComment , eProcessor , eIpgInfo ,
  eNamedAnnotStatus , eEndOfReply
}
 

Public Member Functions

string GetProtein () const
 Get protein. More...
 
Int8 GetIpg () const
 Get Ipg. More...
 
string GetNucleotide () const
 Get nucleotide. More...
 
TTaxId GetTaxId () const
 Get taxonomy ID. More...
 
TState GetGbState () const
 Get state. More...
 
- Public Member Functions inherited from CPSG_ReplyItem
EType GetType () const
 
EPSG_Status GetStatus (CDeadline deadline) const
 Get the final result of this blob's retrieval. More...
 
SPSG_Message GetNextMessage (EDiagSev min_severity=eDiag_Error) const
 Unstructured text containing auxiliary info about the result – such as messages and errors that came from the PSG server or occured while trying to send request or to read and to process the reply. More...
 
shared_ptr< CPSG_ReplyGetReply () const
 Get the reply that contains this item. More...
 
const stringGetProcessorId ()
 Get processor ID. More...
 
virtual ~CPSG_ReplyItem ()
 

Private Member Functions

 CPSG_IpgInfo ()
 

Private Attributes

CJsonNode m_Data
 

Friends

class CPSG_Reply
 

Additional Inherited Members

- Protected Member Functions inherited from CPSG_ReplyItem
 CPSG_ReplyItem (EType type)
 

Detailed Description

Ipg info – result of the IPG resolution.

Definition at line 1035 of file psg_client.hpp.

Member Typedef Documentation

◆ TState

Definition at line 1050 of file psg_client.hpp.

Constructor & Destructor Documentation

◆ CPSG_IpgInfo()

CPSG_IpgInfo::CPSG_IpgInfo ( )
private

Definition at line 1364 of file psg_client.cpp.

Member Function Documentation

◆ GetGbState()

CPSG_IpgInfo::TState CPSG_IpgInfo::GetGbState ( ) const

Get state.

Definition at line 1389 of file psg_client.cpp.

References CJsonNode::GetInteger(), and m_Data.

◆ GetIpg()

Int8 CPSG_IpgInfo::GetIpg ( ) const

Get Ipg.

Definition at line 1374 of file psg_client.cpp.

References CJsonNode::GetInteger(), and m_Data.

◆ GetNucleotide()

string CPSG_IpgInfo::GetNucleotide ( void  ) const

Get nucleotide.

Definition at line 1379 of file psg_client.cpp.

References CJsonNode::GetString(), and m_Data.

◆ GetProtein()

string CPSG_IpgInfo::GetProtein ( void  ) const

Get protein.

Definition at line 1369 of file psg_client.cpp.

References CJsonNode::GetString(), and m_Data.

◆ GetTaxId()

TTaxId CPSG_IpgInfo::GetTaxId ( void  ) const

Get taxonomy ID.

Definition at line 1384 of file psg_client.cpp.

References CJsonNode::GetInteger(), m_Data, and TAX_ID_FROM.

Friends And Related Function Documentation

◆ CPSG_Reply

friend class CPSG_Reply
friend

Definition at line 1060 of file psg_client.hpp.

Member Data Documentation

◆ m_Data

CJsonNode CPSG_IpgInfo::m_Data
private

Definition at line 1058 of file psg_client.hpp.

Referenced by GetGbState(), GetIpg(), GetNucleotide(), GetProtein(), and GetTaxId().


The documentation for this class was generated from the following files:
Modified on Tue Apr 23 07:38:34 2024 by modify_doxy.py rev. 669887