#include <Message.h>
|
| enum | Type {
Type::Unknown,
Type::Account,
Type::Action,
Type::Away,
Type::Capability,
Type::CTCP,
Type::Error,
Type::Invite,
Type::Join,
Type::Kick,
Type::Mode,
Type::Nick,
Type::Notice,
Type::Numeric,
Type::Part,
Type::Ping,
Type::Pong,
Type::Quit,
Type::Text,
Type::Topic,
Type::Wallops
} |
| |
| enum | FormatFlags { IncludeAll = 0x0,
ExcludePrefix = 0x1,
ExcludeTags = 0x2
} |
| |
◆ FormatFlags
| Enumerator |
|---|
| IncludeAll | |
| ExcludePrefix | |
| ExcludeTags | |
◆ Type
| Enumerator |
|---|
| Unknown | |
| Account | |
| Action | |
| Away | |
| Capability | |
| CTCP | |
| Error | |
| Invite | |
| Join | |
| Kick | |
| Mode | |
| Nick | |
| Notice | |
| Numeric | |
| Part | |
| Ping | |
| Pong | |
| Quit | |
| Text | |
| Topic | |
| Wallops | |
◆ As() [1/2]
◆ As() [2/2]
template<typename M >
| const M& CMessage::As |
( |
| ) |
const & |
|
inlineinherited |
◆ Clone()
| void CMessage::Clone |
( |
const CMessage & |
Other | ) |
|
|
inherited |
◆ Equals()
| bool CMessage::Equals |
( |
const CMessage & |
Other | ) |
const |
|
inherited |
◆ GetChan()
| CChan* CMessage::GetChan |
( |
| ) |
const |
|
inlineinherited |
◆ GetClient()
| CClient* CMessage::GetClient |
( |
| ) |
const |
|
inlineinherited |
◆ GetCommand()
| const CString& CMessage::GetCommand |
( |
| ) |
const |
|
inlineinherited |
◆ GetNetwork()
◆ GetNick() [1/2]
| CNick& CMessage::GetNick |
( |
| ) |
|
|
inlineinherited |
◆ GetNick() [2/2]
| const CNick& CMessage::GetNick |
( |
| ) |
const |
|
inlineinherited |
◆ GetParam()
| CString CMessage::GetParam |
( |
unsigned int |
uIdx | ) |
const |
|
inherited |
Referenced by CJoinMessage::GetKey(), CKickMessage::GetKickedNick(), CModeMessage::GetModeList(), CNickMessage::GetNewNick(), CKickMessage::GetReason(), CPartMessage::GetReason(), CQuitMessage::GetReason(), CTargetMessage::GetTarget(), CActionMessage::GetText(), GetText(), CNoticeMessage::GetText(), CTextMessage::GetText(), and CTopicMessage::GetTopic().
◆ GetParams() [1/2]
| const VCString& CMessage::GetParams |
( |
| ) |
const |
|
inlineinherited |
◆ GetParams() [2/2]
| CString CMessage::GetParams |
( |
unsigned int |
uIdx, |
|
|
unsigned int |
uLen = -1 |
|
) |
| const |
|
inlineinherited |
◆ GetParamsColon()
| CString CMessage::GetParamsColon |
( |
unsigned int |
uIdx, |
|
|
unsigned int |
uLen = -1 |
|
) |
| const |
|
inherited |
◆ GetParamsSplit()
| VCString CMessage::GetParamsSplit |
( |
unsigned int |
uIdx, |
|
|
unsigned int |
uLen = -1 |
|
) |
| const |
|
inherited |
Get a subset of the message parameters.
This allows accessing a vector of a specific range of parameters, allowing easy inline use, such as pChan->SetModes(Message.GetParam(2), Message.GetParamsSplit(3));
- Parameters
-
| uIdx | The index of the first parameter to retrieve |
| uLen | How many parameters to retrieve |
- Returns
- A VCString containing the retrieved parameters
Referenced by CModeMessage::GetModeParams().
◆ GetTag()
◆ GetTags()
| const MCString& CMessage::GetTags |
( |
| ) |
const |
|
inlineinherited |
◆ GetTarget()
| CString CTargetMessage::GetTarget |
( |
| ) |
const |
|
inlineinherited |
◆ GetText()
| CString CCTCPMessage::GetText |
( |
| ) |
const |
|
inline |
◆ GetTime()
| const timeval& CMessage::GetTime |
( |
| ) |
const |
|
inlineinherited |
◆ GetType()
| Type CMessage::GetType |
( |
| ) |
const |
|
inlineinherited |
◆ IsReply()
| bool CCTCPMessage::IsReply |
( |
| ) |
const |
|
inline |
◆ operator const M &()
template<typename M , typename = typename std::enable_if< std::is_base_of<CMessage, M>{}>::type>
| CMessage::operator const M & |
( |
| ) |
const & |
|
inlineinherited |
◆ operator M &()
template<typename M , typename = typename std::enable_if< std::is_base_of<CMessage, M>{}>::type>
| CMessage::operator M& |
( |
| ) |
& |
|
inlineinherited |
◆ Parse()
| void CMessage::Parse |
( |
const CString & |
sMessage | ) |
|
|
inherited |
◆ SetChan()
| void CMessage::SetChan |
( |
CChan * |
pChan | ) |
|
|
inlineinherited |
◆ SetClient()
| void CMessage::SetClient |
( |
CClient * |
pClient | ) |
|
|
inlineinherited |
◆ SetCommand()
| void CMessage::SetCommand |
( |
const CString & |
sCommand | ) |
|
|
inherited |
◆ SetNetwork()
◆ SetNick()
| void CMessage::SetNick |
( |
const CNick & |
Nick | ) |
|
|
inlineinherited |
◆ SetParam()
| void CMessage::SetParam |
( |
unsigned int |
uIdx, |
|
|
const CString & |
sParam |
|
) |
| |
|
inherited |
Referenced by CJoinMessage::SetKey(), CKickMessage::SetKickedNick(), CNickMessage::SetNewNick(), CKickMessage::SetReason(), CPartMessage::SetReason(), CQuitMessage::SetReason(), CTargetMessage::SetTarget(), CActionMessage::SetText(), SetText(), CNoticeMessage::SetText(), CTextMessage::SetText(), and CTopicMessage::SetTopic().
◆ SetParams()
| void CMessage::SetParams |
( |
const VCString & |
vsParams | ) |
|
|
inherited |
◆ SetTag()
| void CMessage::SetTag |
( |
const CString & |
sKey, |
|
|
const CString & |
sValue |
|
) |
| |
|
inherited |
◆ SetTags()
| void CMessage::SetTags |
( |
const MCString & |
mssTags | ) |
|
|
inlineinherited |
◆ SetTarget()
| void CTargetMessage::SetTarget |
( |
const CString & |
sTarget | ) |
|
|
inlineinherited |
◆ SetText()
| void CCTCPMessage::SetText |
( |
const CString & |
sText | ) |
|
|
inline |
◆ SetTime()
| void CMessage::SetTime |
( |
const timeval & |
ts | ) |
|
|
inlineinherited |
◆ ToString()
The documentation for this class was generated from the following file: