|
|
A target consists of a protocol and a filter type. It identifies exactly which filter of which protocol has to be configured with this code.
string protocol | protocol |
filter::Filter filter | filter |
Target ()
| Target |
Target (const string& p, filter::Filter f)
| Target |
Construct a target [protocol/filter pair].
Parameters:
p | target protocol. |
f | target filter. |
bool operator< (const Target& rhs)
| operator< |
[const]
Operator to compare Targets. Needed for STL set storage.
Parameters:
rhs | target to compare with |
Returns: true if target is less than argument
bool operator== (const Target& rhs)
| operator== |
[const]
bool operator!= (const Target& rhs)
| operator!= |
[const]
string str ()
| str |
[const]
Returns: string representation of target.