An abstraction of a MUC query. More...
#include <mucroom.h>
Inherits gloox::StanzaExtension.
Public Member Functions | |
MUC (const std::string &password, HistoryRequestType historyType=HistoryUnknown, const std::string &historySince=EmptyString, int historyValue=0) | |
MUC (const Tag *tag=0) | |
virtual | ~MUC () |
const std::string * | password () const |
const std::string * | historySince () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
virtual Tag * | tag () const |
virtual StanzaExtension * | clone () const |
An abstraction of a MUC query.
You should not need to use this class directly.
Definition at line 127 of file mucroom.h.
MUC | ( | const std::string & | password, | |
MUCRoom::HistoryRequestType | historyType = HistoryUnknown , |
|||
const std::string & | historySince = EmptyString , |
|||
int | historyValue = 0 | |||
) |
Creates a new MUC object.
password | An optional room password. | |
historyType | The type of room history to request. | |
historySince | A string describing the amount of room history. | |
historyValue | The amount of requested room history. |
Definition at line 540 of file mucroom.cpp.
Constructs a new MUCUser object from the given Tag.
tag | The Tag to parse. |
Definition at line 551 of file mucroom.cpp.
~MUC | ( | ) | [virtual] |
Virtual destructor.
Definition at line 581 of file mucroom.cpp.
virtual StanzaExtension* clone | ( | ) | const [inline, virtual] |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
const std::string & filterString | ( | ) | const [virtual] |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 587 of file mucroom.cpp.
const std::string* historySince | ( | ) | const [inline] |
virtual StanzaExtension* newInstance | ( | const Tag * | tag | ) | const [inline, virtual] |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
StanzaExtension* FooExtension::newInstance( const Tag* tag ) const { return new FooExtension( tag ); }
Implements StanzaExtension.
const std::string* password | ( | ) | const [inline] |
Tag * tag | ( | ) | const [virtual] |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 593 of file mucroom.cpp.