engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IXmppStanza类 参考abstract

Xmpp stanza abstract interface Exposes getters for various attributes and fields of an Xmpp stanza 更多...

#include <XmppStanza.h>

Public 成员函数

virtual FString GetAttribute (const FString &Key) const =0
 Get Stanza attribute 更多...
 
virtual TOptional< FString > GetBodyText () const =0
 Get stanza body text (if any) 更多...
 
virtual TUniquePtr< IXmppStanza > GetChild (const FString &ChildName) const =0
 Get given Stanza child, if existing 更多...
 
virtual FXmppUserJid GetFrom () const =0
 Get Stanza from (source) user Jid 更多...
 
virtual FString GetId () const =0
 Get Stanza Id 更多...
 
virtual FString GetName () const =0
 Get Stanza type (presence, query, message) 更多...
 
virtual FString GetText () const =0
 Get Stanza text (concatenates all child text nodes) 更多...
 
virtual FXmppUserJid GetTo () const =0
 Get Stanza to (destination) user Jid 更多...
 
virtual FString GetType () const =0
 Get Stanza type 更多...
 
virtual bool HasAttribute (const FString &Key) const =0
 Returns whether or not stanza has a given attribute 更多...
 
virtual bool HasChild (const FString &ChildName) const =0
 Whether or not Stanza has a given child 更多...
 

详细描述

Xmpp stanza abstract interface Exposes getters for various attributes and fields of an Xmpp stanza

成员函数说明

◆ GetAttribute()

virtual FString IXmppStanza::GetAttribute ( const FString &  Key) const
pure virtual

Get Stanza attribute

参数
Keyattribute name
返回
attribute text

◆ GetBodyText()

virtual TOptional< FString > IXmppStanza::GetBodyText ( ) const
pure virtual

Get stanza body text (if any)

返回
Stanza body text

◆ GetChild()

virtual TUniquePtr< IXmppStanza > IXmppStanza::GetChild ( const FString &  ChildName) const
pure virtual

Get given Stanza child, if existing

参数
ChildNamename of child to return
返回
Stanza ChildName, if it exists

◆ GetFrom()

virtual FXmppUserJid IXmppStanza::GetFrom ( ) const
pure virtual

Get Stanza from (source) user Jid

返回
Stanza from Jid

◆ GetId()

virtual FString IXmppStanza::GetId ( ) const
pure virtual

Get Stanza Id

返回
Stanza Id

◆ GetName()

virtual FString IXmppStanza::GetName ( ) const
pure virtual

Get Stanza type (presence, query, message)

返回
stanza type

◆ GetText()

virtual FString IXmppStanza::GetText ( ) const
pure virtual

Get Stanza text (concatenates all child text nodes)

返回
stanza text

◆ GetTo()

virtual FXmppUserJid IXmppStanza::GetTo ( ) const
pure virtual

Get Stanza to (destination) user Jid

返回
Stanza to Jid

◆ GetType()

virtual FString IXmppStanza::GetType ( ) const
pure virtual

Get Stanza type

返回
stanza type

◆ HasAttribute()

virtual bool IXmppStanza::HasAttribute ( const FString &  Key) const
pure virtual

Returns whether or not stanza has a given attribute

参数
Keyattribute name
返回
whether or not stanza has attribute named Key

◆ HasChild()

virtual bool IXmppStanza::HasChild ( const FString &  ChildName) const
pure virtual

Whether or not Stanza has a given child

参数
ChildNamename of child to check for
返回
Whether or not Stanza has child ChildName

该类的文档由以下文件生成: