glooxd  0.3-svn
Public Member Functions | List of all members
FeatureResourceBind Class Reference

#include <featureresourcebind.h>

Inheritance diagram for FeatureResourceBind:
Inheritance graph
[legend]

Public Member Functions

 FeatureResourceBind (SM &sm)
virtual ~FeatureResourceBind ()
virtual const std::string & filterString () const
virtual gloox::Tag * tag (int state, const std::string &domain)
virtual StreamFeaturenewInstance () const
- Public Member Functions inherited from StreamFeature
 StreamFeature ()
virtual ~StreamFeature ()
void setParent (StreamBase *parent)

Detailed Description

An abstraction of the Resource Bind stream feature.

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

Definition at line 33 of file featureresourcebind.h.

Constructor & Destructor Documentation

Constructor.

Definition at line 27 of file featureresourcebind.cpp.

virtual ~FeatureResourceBind ( )
inlinevirtual

virtual destructor.

Definition at line 44 of file featureresourcebind.h.

Member Function Documentation

const std::string & filterString ( ) const
virtual

Returns an XPath expression that describes the elements that are associated with this stream feature.

Returns
An XPath expression.

Implements StreamFeature.

Definition at line 32 of file featureresourcebind.cpp.

virtual StreamFeature* newInstance ( ) const
inlinevirtual

Returns a new Instance of the derived type. It should be configured identically, but should not inherit any state. The simplest implementation for a derived class FooFeature looks like:

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

Implements StreamFeature.

Definition at line 53 of file featureresourcebind.h.

gloox::Tag * tag ( int  state,
const std::string &  domain 
)
virtual

Returns a Tag structire for inclusion in the stream features to send to the client. Features may depend on current stream state and the domain the client requested.

Returns
A feature Tag. May be 0 if there is no applicable feature for the current state and domain.

Implements StreamFeature.

Definition at line 38 of file featureresourcebind.cpp.


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