#include <disco.h>
An abstraction of a Disco identity (Service Discovery, XEP-0030).
- Author
- Jakob Schröter js@ca.nosp@m.maya.nosp@m..net
- Since
- 1.0
Definition at line 196 of file disco.h.
◆ Identity() [1/2]
Identity |
( |
const std::string & |
category, |
|
|
const std::string & |
type, |
|
|
const std::string & |
name |
|
) |
| |
◆ Identity() [2/2]
Copy Contructor.
- Parameters
-
Definition at line 45 of file disco.cpp.
◆ ~Identity()
◆ category()
const std::string& category |
( |
| ) |
const |
|
inline |
Returns the identity's category.
- Returns
- The identity's category.
Definition at line 228 of file disco.h.
◆ name()
const std::string& name |
( |
| ) |
const |
|
inline |
Returns the identity's name.
- Returns
- The identity's name.
Definition at line 240 of file disco.h.
◆ tag()
Creates and returns a Tag representation of this identity.
- Returns
- A Tag, or 0.
Definition at line 54 of file disco.cpp.
◆ type()
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: