ZNC  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
CBufLine Class Reference

#include <Buffer.h>

+ Collaboration diagram for CBufLine:

Public Member Functions

 CBufLine ()
 
 CBufLine (const CMessage &Format, const CString &sText="")
 
 CBufLine (const CString &sFormat, const CString &sText="", const timeval *ts=nullptr, const MCString &mssTags=MCString::EmptyMap)
 
 ~CBufLine ()
 
CMessage ToMessage (const CClient &Client, const MCString &mssParams) const
 
CString GetLine (const CClient &Client, const MCString &mssParams) const
 
void UpdateTime ()
 
bool Equals (const CMessage &Format) const
 
void SetFormat (const CString &sFormat)
 
void SetText (const CString &sText)
 
void SetTime (const timeval &ts)
 
void SetTags (const MCString &mssTags)
 
const CStringGetCommand () const
 
CString GetFormat () const
 
const CStringGetText () const
 
timeval GetTime () const
 
const MCStringGetTags () const
 

Protected Attributes

CMessage m_Message
 
CString m_sText
 

Constructor & Destructor Documentation

CBufLine::CBufLine ( )
inline
CBufLine::CBufLine ( const CMessage Format,
const CString sText = "" 
)
CBufLine::CBufLine ( const CString sFormat,
const CString sText = "",
const timeval *  ts = nullptr,
const MCString mssTags = MCString::EmptyMap 
)
CBufLine::~CBufLine ( )

Member Function Documentation

bool CBufLine::Equals ( const CMessage Format) const
inline

References CMessage::Equals(), and m_Message.

const CString& CBufLine::GetCommand ( ) const
inline
CString CBufLine::GetFormat ( ) const
inline
CString CBufLine::GetLine ( const CClient Client,
const MCString mssParams 
) const
const MCString& CBufLine::GetTags ( ) const
inline

References CMessage::GetTags(), and m_Message.

const CString& CBufLine::GetText ( ) const
inline

References m_sText.

timeval CBufLine::GetTime ( ) const
inline

References CMessage::GetTime(), and m_Message.

void CBufLine::SetFormat ( const CString sFormat)
inline

References m_Message, and CMessage::Parse().

void CBufLine::SetTags ( const MCString mssTags)
inline

References m_Message, and CMessage::SetTags().

void CBufLine::SetText ( const CString sText)
inline

References m_sText.

void CBufLine::SetTime ( const timeval &  ts)
inline

References m_Message, and CMessage::SetTime().

CMessage CBufLine::ToMessage ( const CClient Client,
const MCString mssParams 
) const
void CBufLine::UpdateTime ( )

Member Data Documentation

CMessage CBufLine::m_Message
protected
CString CBufLine::m_sText
protected

Referenced by GetText(), and SetText().


The documentation for this class was generated from the following file: