NCBI C++ ToolKit
|
Search Toolkit Book for CMessage_Basic
Default IMessage implementation: text and severity only. More...
#include <corelib/ncbi_message.hpp>
Public Member Functions | |
CMessage_Basic (const string &txt, EDiagSev sev, int err_code=0, int sub_code=0) | |
virtual string | GetText (void) const |
Get text message. More... | |
virtual EDiagSev | GetSeverity (void) const |
Get message severity. More... | |
virtual int | GetCode (void) const |
Get error code. Zero = not set. More... | |
virtual int | GetSubCode (void) const |
Get error subcode. Zero = not set. More... | |
virtual IMessage * | Clone (void) const |
Create a copy of the message. More... | |
virtual void | Write (CNcbiOstream &out) const |
Print the message and any additional information to the stream. More... | |
virtual string | Compose (void) const |
Get the whole composed message as string. More... | |
Public Member Functions inherited from IMessage | |
virtual | ~IMessage (void) |
Public Member Functions inherited from IMessage_Base | |
virtual | ~IMessage_Base (void) |
Private Attributes | |
string | m_Text |
EDiagSev | m_Severity |
int | m_ErrCode |
int | m_SubCode |
Default IMessage implementation: text and severity only.
Definition at line 137 of file ncbi_message.hpp.