|
iceoryx2
C++ Language Bindings
|
#include <attribute_verifier.hpp>
Public Member Functions | |
| AttributeVerifier () | |
Creates a new empty set of [Attribute]s. | |
| AttributeVerifier (const AttributeVerifier &)=delete | |
| AttributeVerifier (AttributeVerifier &&) noexcept | |
| ~AttributeVerifier () | |
| auto | operator= (const AttributeVerifier &) -> AttributeVerifier &=delete |
| auto | operator= (AttributeVerifier &&) noexcept -> AttributeVerifier & |
| auto | require (const Attribute::Key &key, const Attribute::Value &value) -> bb::Expected< void, AttributeDefinitionError > |
| Requires a value for a specific key. A key is allowed to have multiple values. | |
| auto | require_key (const Attribute::Key &key) -> bb::Expected< void, AttributeDefinitionError > |
| Requires that a specific key is defined. | |
| auto | attributes () const -> AttributeSetView |
Returns the underlying required [AttributeSet]. | |
| auto | keys () const -> iox2::bb::StaticVector< Attribute::Key, IOX2_MAX_ATTRIBUTES_PER_SERVICE > |
| Returns the underlying required keys. | |
| auto | verify_requirements (const AttributeSetView &rhs) const -> bb::Expected< void, Attribute::Key > |
Verifies if the [AttributeSet] contains all required keys and key-value pairs. | |
Friends | |
| template<ServiceType > | |
| class | ServiceBuilderEvent |
| template<typename , typename , ServiceType > | |
| class | ServiceBuilderPublishSubscribe |
| template<typename , typename , typename , typename , ServiceType > | |
| class | ServiceBuilderRequestResponse |
| template<typename , ServiceType > | |
| class | ServiceBuilderBlackboardOpener |
Represents the set of [Attribute]s that are required when the [Service] is opened.
Definition at line 26 of file attribute_verifier.hpp.
| iox2::AttributeVerifier::AttributeVerifier | ( | ) |
Creates a new empty set of [Attribute]s.
|
delete |
|
noexcept |
| iox2::AttributeVerifier::~AttributeVerifier | ( | ) |
| auto iox2::AttributeVerifier::attributes | ( | ) | const -> AttributeSetView |
Returns the underlying required [AttributeSet].
| auto iox2::AttributeVerifier::keys | ( | ) | const -> iox2::bb::StaticVector< Attribute::Key, IOX2_MAX_ATTRIBUTES_PER_SERVICE > |
Returns the underlying required keys.
|
noexcept |
|
delete |
| auto iox2::AttributeVerifier::require | ( | const Attribute::Key & | key, |
| const Attribute::Value & | value | ||
| ) | -> bb::Expected< void, AttributeDefinitionError > |
Requires a value for a specific key. A key is allowed to have multiple values.
| auto iox2::AttributeVerifier::require_key | ( | const Attribute::Key & | key | ) | -> bb::Expected< void, AttributeDefinitionError > |
Requires that a specific key is defined.
| auto iox2::AttributeVerifier::verify_requirements | ( | const AttributeSetView & | rhs | ) | const -> bb::Expected< void, Attribute::Key > |
Verifies if the [AttributeSet] contains all required keys and key-value pairs.
|
friend |
Definition at line 61 of file attribute_verifier.hpp.
|
friend |
Definition at line 55 of file attribute_verifier.hpp.
|
friend |
Definition at line 57 of file attribute_verifier.hpp.
|
friend |
Definition at line 59 of file attribute_verifier.hpp.