Classes | Public Types | Public Member Functions | Static Public Attributes

Swift::DiscoInfo Class Reference

disco::info from XEP-0030 More...

Inheritance diagram for Swift::DiscoInfo:
Collaboration diagram for Swift::DiscoInfo:

List of all members.

Classes

class  Identity

Public Types

typedef boost::shared_ptr
< DiscoInfo
ref

Public Member Functions

 DiscoInfo ()
const std::string & getNode () const
void setNode (const std::string &node)
const std::vector< Identity > & getIdentities () const
void addIdentity (const Identity &identity)
const std::vector< std::string > & getFeatures () const
void addFeature (const std::string &feature)
bool hasFeature (const std::string &feature) const
void addExtension (Form::ref form)
const std::vector< Form::ref > & getExtensions () const

Static Public Attributes

static const std::string ChatStatesFeature
static const std::string SecurityLabelsFeature
static const std::string SecurityLabelsCatalogFeature
static const std::string JabberSearchFeature
static const std::string CommandsFeature
static const std::string MessageCorrectionFeature
static const std::string JingleFeature
static const std::string JingleFTFeature
static const std::string JingleTransportsIBBFeature
static const std::string JingleTransportsS5BFeature
static const std::string Bytestream
static const std::string MessageDeliveryReceiptsFeature
static const std::string WhiteboardFeature

Detailed Description

disco::info from XEP-0030

Definition at line 20 of file DiscoInfo.h.


Member Typedef Documentation

typedef boost::shared_ptr<DiscoInfo> Swift::DiscoInfo::ref

Reimplemented from Swift::Payload.

Definition at line 22 of file DiscoInfo.h.


Constructor & Destructor Documentation

Swift::DiscoInfo::DiscoInfo (  )  [inline]

Definition at line 69 of file DiscoInfo.h.


Member Function Documentation

void Swift::DiscoInfo::addExtension ( Form::ref  form  )  [inline]

Definition at line 98 of file DiscoInfo.h.

void Swift::DiscoInfo::addFeature ( const std::string &  feature  )  [inline]

Definition at line 92 of file DiscoInfo.h.

void Swift::DiscoInfo::addIdentity ( const Identity identity  )  [inline]

Definition at line 84 of file DiscoInfo.h.

const std::vector<Form::ref>& Swift::DiscoInfo::getExtensions (  )  const [inline]

Definition at line 102 of file DiscoInfo.h.

const std::vector<std::string>& Swift::DiscoInfo::getFeatures (  )  const [inline]

Definition at line 88 of file DiscoInfo.h.

const std::vector<Identity>& Swift::DiscoInfo::getIdentities (  )  const [inline]

Definition at line 80 of file DiscoInfo.h.

const std::string& Swift::DiscoInfo::getNode (  )  const [inline]

Definition at line 72 of file DiscoInfo.h.

bool Swift::DiscoInfo::hasFeature ( const std::string &  feature  )  const
void Swift::DiscoInfo::setNode ( const std::string &  node  )  [inline]

Definition at line 76 of file DiscoInfo.h.


Member Data Documentation

const std::string Swift::DiscoInfo::Bytestream [static]

Definition at line 34 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::ChatStatesFeature [static]

Definition at line 24 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::CommandsFeature [static]

Definition at line 28 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::JabberSearchFeature [static]

Definition at line 27 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::JingleFeature [static]

Definition at line 30 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::JingleFTFeature [static]

Definition at line 31 of file DiscoInfo.h.

Definition at line 32 of file DiscoInfo.h.

Definition at line 33 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::MessageCorrectionFeature [static]

Definition at line 29 of file DiscoInfo.h.

Definition at line 35 of file DiscoInfo.h.

Definition at line 26 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::SecurityLabelsFeature [static]

Definition at line 25 of file DiscoInfo.h.

const std::string Swift::DiscoInfo::WhiteboardFeature [static]

Definition at line 36 of file DiscoInfo.h.