gloox  1.0
Public Member Functions | List of all members
MUCRoom::MUC Class Reference

#include <mucroom.h>

Inheritance diagram for MUCRoom::MUC:
Inheritance graph
[legend]

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 StanzaExtensionnewInstance (const Tag *tag) const
virtual Tagtag () const
virtual StanzaExtensionclone () const
- Public Member Functions inherited from StanzaExtension
 StanzaExtension (int type)
virtual ~StanzaExtension ()
int extensionType () const

Detailed Description

An abstraction of a MUC query.

You should not need to use this class directly.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
1.0

Definition at line 127 of file mucroom.h.

Constructor & Destructor Documentation

MUC ( const std::string &  password,
MUCRoom::HistoryRequestType  historyType = HistoryUnknown,
const std::string &  historySince = EmptyString,
int  historyValue = 0 
)

Creates a new MUC object.

Parameters
passwordAn optional room password.
historyTypeThe type of room history to request.
historySinceA string describing the amount of room history.
historyValueThe amount of requested room history.

Definition at line 540 of file mucroom.cpp.

MUC ( const Tag tag = 0)

Constructs a new MUCUser object from the given Tag.

Parameters
tagThe Tag to parse.

Definition at line 551 of file mucroom.cpp.

~MUC ( )
virtual

Virtual destructor.

Definition at line 581 of file mucroom.cpp.

Member Function Documentation

virtual StanzaExtension* clone ( ) const
inlinevirtual

Returns an identical copy of the current StanzaExtension.

Returns
An identical copy of the current StanzaExtension.

Implements StanzaExtension.

Definition at line 176 of file mucroom.h.

const std::string & filterString ( ) const
virtual

Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.

Returns
The extension's filter string.

Implements StanzaExtension.

Definition at line 587 of file mucroom.cpp.

const std::string* historySince ( ) const
inline

Returns a pointer to the description of the amount of room history requested.

Returns
A pointer to the description of the amount of room history requested.

Definition at line 161 of file mucroom.h.

virtual StanzaExtension* newInstance ( const Tag tag) const
inlinevirtual

Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:

{
return new FooExtension( tag );
}
Returns
The derived extension's new instance.

Implements StanzaExtension.

Definition at line 167 of file mucroom.h.

const std::string* password ( ) const
inline

Returns a pointer to the current password, or 0.

Returns
A pointer to the current password, or 0.

Definition at line 155 of file mucroom.h.

Tag * tag ( ) const
virtual

Returns a Tag representation of the extension.

Returns
A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 593 of file mucroom.cpp.


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