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


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 

Definition at line 1349 of file psg_client.cpp.

Member Function Documentation

◆ GetId()

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

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

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

Definition at line 998 of file psg_client.hpp.

Member Data Documentation

◆ m_Id

unique_ptr<CPSG_DataId> CPSG_PublicComment::m_Id

Definition at line 995 of file psg_client.hpp.

Referenced by GetId().

◆ m_Text

string CPSG_PublicComment::m_Text

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 Mon Apr 22 04:05:45 2024 by rev. 669887