libRoadRunner Plugin C++ API  1.0.0
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Protected Attributes | Friends | List of all members
rrp::Capabilities Class Reference

#include <rrCapabilities.h>

Public Member Functions

 Capabilities ()
 
 ~Capabilities ()
 
void add (Capability &capability)
 
string info () const
 
u_int count ()
 
void clear ()
 
Capabilityoperator[] (int i)
 
Capabilityget (const string &capName)
 
bool setParameter (const string &name, const string &value)
 
StringList asStringList ()
 
string asXML ()
 

Protected Attributes

vector< Capability * > mCapabilities
 

Friends

ostream & operator<< (ostream &stream, const Capabilities &caps)
 

Detailed Description

Container for Capabilitities

Constructor & Destructor Documentation

rrp::Capabilities::Capabilities ( )

Create a Capabilitities container

rrp::Capabilities::~Capabilities ( )

De allocate memory associated with the capabilities.

Member Function Documentation

void rrp::Capabilities::add ( Capability capability)

Add a capability

StringList rrp::Capabilities::asStringList ( )

Get capabilities as a list of strings

string rrp::Capabilities::asXML ( )

Get capabilities as XML

void rrp::Capabilities::clear ( )

Clear the capabilties container.

u_int rrp::Capabilities::count ( )

Get number of capabilties.

Capability * rrp::Capabilities::get ( const string &  capName)

Get a pointer to a capability using a vaspability name.

string rrp::Capabilities::info ( ) const

Get capabilities as a list of strings

Capability * rrp::Capabilities::operator[] ( int  i)

Get a pointer to a capability using operator []

bool rrp::Capabilities::setParameter ( const string &  name,
const string &  value 
)

Set a parameter value in a capability.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  stream,
const Capabilities caps 
)
friend

Output capabilities to a ostream

Member Data Documentation

vector<Capability*> rrp::Capabilities::mCapabilities
mutableprotected

Name of capability Descritpion of a capability


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