An abstraction of a Disco identity (Service Discovery, XEP-0030).
More...
#include <disco.h>
List of all members.
Public Member Functions |
| Identity (const std::string &category, const std::string &type, const std::string &name) |
| Identity (const Identity &id) |
| ~Identity () |
const std::string & | category () const |
const std::string & | type () const |
const std::string & | name () const |
Tag * | tag () const |
Detailed Description
An abstraction of a Disco identity (Service Discovery, XEP-0030).
- Author:
- Jakob Schroeter <js@camaya.net>
- Since:
- 1.0
Definition at line 196 of file disco.h.
Constructor & Destructor Documentation
build buildd gloox src disco cpp Identity |
( |
const std::string & |
category, |
|
|
const std::string & |
type, |
|
|
const std::string & |
name |
|
) |
| |
Copy Contructor.
- Parameters:
-
Definition at line 46 of file disco.cpp.
Member Function Documentation
const std::string& category |
( |
| ) |
const [inline] |
Returns the identity's category.
- Returns:
- The identity's category.
Definition at line 228 of file disco.h.
const std::string& name |
( |
| ) |
const [inline] |
Returns the identity's name.
- Returns:
- The identity's name.
Definition at line 240 of file disco.h.
Creates and returns a Tag representation of this identity.
- Returns:
- A Tag, or 0.
Definition at line 55 of file disco.cpp.
const std::string& type |
( |
| ) |
const [inline] |
Returns the identity's type.
- Returns:
- The identity's type.
Definition at line 234 of file disco.h.
The documentation for this class was generated from the following files: