Subscription filter attribute group for use with ServiceSubscriptionFilter.
More...
#include <Subscription.h>
Subscription filter attribute group for use with ServiceSubscriptionFilter.
Used to combine multiple ServiceSubscriptionFilterAttribute objects for comparison using AND, OR, NOR, or NAND logic. Other groups can be nested, to allow for complex comparisons.
◆ ServiceSubscriptionFilterAttributeGroup() [1/3]
Construct a new Service Subscription Filter Attribute Group object.
- Parameters
-
| operation | The operation to use for matching the attributes and groups |
◆ ServiceSubscriptionFilterAttributeGroup() [2/3]
Construct a new Service Subscription Filter Attribute Group object.
- Parameters
-
| operation | The operation to use for matching the attributes and groups |
| attributes | The attributes in the group |
◆ ServiceSubscriptionFilterAttributeGroup() [3/3]
Construct a new Service Subscription Filter Attribute Group object.
- Parameters
-
| operation | The operation to use for matching the attributes and groups |
| groups | The nested groups in the group |
◆ IsMatch() [1/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
boost::intrusive_ptr< RRArray< char > > & | value | ) |
const |
Compare the group to a value.
- Parameters
-
| value | The value to compare |
- Returns
- true
-
false
◆ IsMatch() [2/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
boost::string_ref | value | ) |
const |
Compare the group to a value.
- Parameters
-
| value | The value to compare |
- Returns
- true
-
false
◆ IsMatch() [3/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
const boost::intrusive_ptr< RRList< RRValue > > & | values | ) |
const |
Compare the group to a list of values.
- Parameters
-
| values | The values to compare |
- Returns
- true
-
false
◆ IsMatch() [4/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
const boost::intrusive_ptr< RRMap< std::string, RRValue > > & | values | ) |
const |
Compare the group to a map of values.
- Parameters
-
| values | The values to compare |
- Returns
- true
-
false
◆ IsMatch() [5/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
const std::map< std::string, std::string > & | values | ) |
const |
Compare the group to a map of values.
- Parameters
-
| values | The values to compare |
- Returns
- true
-
false
◆ IsMatch() [6/6]
| bool RobotRaconteur::ServiceSubscriptionFilterAttributeGroup::IsMatch |
( |
const std::vector< std::string > & | values | ) |
const |
Compare the group to a list of values.
- Parameters
-
| values | The values to compare |
- Returns
- true
-
false
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/robotraconteur-1.2.8-build/RobotRaconteur-1.2.8-Source/RobotRaconteurCore/include/RobotRaconteur/Subscription.h