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

Search Toolkit Book for CPSG_PublicComment

Public comment. More...

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

+ Inheritance diagram for CPSG_PublicComment:
+ Collaboration diagram for CPSG_PublicComment:

Public Member Functions

template<class TDataId = CPSG_DataId>
const TDataId * GetId () const
 Get data ID for this public comment. More...
 
const stringGetText () const
 Get text. 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_PublicComment (unique_ptr< CPSG_DataId > id, string text)
 

Private Attributes

unique_ptr< CPSG_DataIdm_Id
 
string m_Text
 

Friends

class CPSG_Reply
 

Additional Inherited Members

- Public Types inherited from CPSG_ReplyItem
enum  EType {
  eBlobData , eBlobInfo , eSkippedBlob , eBioseqInfo ,
  eNamedAnnotInfo , ePublicComment , eProcessor , eIpgInfo ,
  eNamedAnnotStatus , eEndOfReply
}
 
- Protected Member Functions inherited from CPSG_ReplyItem
 CPSG_ReplyItem (EType type)
 

Detailed Description

Public comment.

Definition at line 982 of file psg_client.hpp.

Constructor & Destructor Documentation

◆ CPSG_PublicComment()

CPSG_PublicComment::CPSG_PublicComment ( unique_ptr< CPSG_DataId id,
string  text 
)
private

Definition at line 1351 of file psg_client.cpp.

Member Function Documentation

◆ GetId()

template<class TDataId = CPSG_DataId>
const TDataId* CPSG_PublicComment::GetId ( void  ) const
inline

Get data ID for this public comment.

Definition at line 987 of file psg_client.hpp.

References m_Id.

◆ GetText()

const string& CPSG_PublicComment::GetText ( void  ) const
inline

Get text.

Definition at line 990 of file psg_client.hpp.

References m_Text.

Friends And Related Function Documentation

◆ CPSG_Reply

friend class CPSG_Reply
friend

Definition at line 998 of file psg_client.hpp.

Member Data Documentation

◆ m_Id

unique_ptr<CPSG_DataId> CPSG_PublicComment::m_Id
private

Definition at line 995 of file psg_client.hpp.

Referenced by GetId().

◆ m_Text

string CPSG_PublicComment::m_Text
private

Definition at line 996 of file psg_client.hpp.

Referenced by GetText().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:56:58 2024 by modify_doxy.py rev. 669887