#include <rrCapability.h>
A Capability. A capability is a basically a container of parameters, with the addition of a name and description.
- Todo:
- Might be better just inherit from Parameters and add the name, descr variables.
rrp::Capability::Capability |
( |
const string & |
name, |
|
|
const string & |
descr |
|
) |
| |
rrp::Capability::~Capability |
( |
| ) |
|
De allocate any memory associated with the capability
rrp::Capability::Capability |
( |
const Capability & |
fromMe | ) |
|
Create a capability from another capability (copy ctor)
Add a parameter to the capability
string rrp::Capability::asString |
( |
| ) |
const |
Get the capability as a string
string rrp::Capability::getDescription |
( |
| ) |
const |
Get capability description
string rrp::Capability::getName |
( |
| ) |
const |
Get a pointer to a parameter with a specific name
Get a pointers to the underlying parameter container
u_int rrp::Capability::nrOfParameters |
( |
| ) |
const |
Get a reference to a parameter
void rrp::Capability::setup |
( |
const string & |
name, |
|
|
const string & |
descr |
|
) |
| |
Assign name and description
ostream& operator<< |
( |
ostream & |
os, |
|
|
const Capability & |
caps |
|
) |
| |
|
friend |
Output the capability to a output stream
string rrp::Capability::mDescription |
|
protected |
A description of the capability
string rrp::Capability::mName |
|
protected |
Container for parameters associated with the capability
The documentation for this class was generated from the following files: