JIDFeatureList Class Reference
JID feature list.
More...
#include <xmpputils.h>
List of all members.
Detailed Description
JID feature list.
This class holds a list of JID features
Member Function Documentation
Add a feature to the list. Destroy the received parameter if already in the list
- Parameters:
-
| feature | The feature to add |
- Returns:
- False if the given feature already exists
References TelEngine::destruct().
bool add |
( |
XMPPNamespace::Type |
feature, |
|
|
bool |
required = false | |
|
) |
| | [inline] |
Add a feature to the list
- Parameters:
-
| feature | The feature to add |
| required | True if this feature is required |
- Returns:
- False if the given feature already exists
Add 'feature' children to the given element
- Parameters:
-
- Returns:
- The given element
Get a feature from the list
- Parameters:
-
| feature | The feature to get |
- Returns:
- Pointer to the feature or 0 if it doesn't exists
void remove |
( |
XMPPNamespace::Type |
feature |
) |
[inline] |
Remove a feature from the list
- Parameters:
-
| feature | The feature to remove |
The documentation for this class was generated from the following file: