|
iceoryx2
C++ 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.
Referenced by AttributeVerifier(), AttributeVerifier(), operator=(), operator=(), and ~AttributeVerifier().
|
delete |
References AttributeVerifier().
|
noexcept |
References AttributeVerifier().
| iox2::AttributeVerifier::~AttributeVerifier | ( | ) |
References AttributeVerifier().
| auto iox2::AttributeVerifier::attributes | ( | ) | const->AttributeSetView |
Returns the underlying required [AttributeSet].
References attributes().
Referenced by attributes().
| auto iox2::AttributeVerifier::keys | ( | ) | const->iox2::bb::StaticVector< Attribute::Key, IOX2_MAX_ATTRIBUTES_PER_SERVICE > |
|
noexcept |
References AttributeVerifier().
|
delete |
References AttributeVerifier().
| auto iox2::AttributeVerifier::require | ( | const Attribute::Key & | key, |
| const Attribute::Value & | value )->bb::Expected< void, AttributeDefinitionError > |
| auto iox2::AttributeVerifier::require_key | ( | const Attribute::Key & | key | ) | ->bb::Expected< void, AttributeDefinitionError > |
| 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.
References verify_requirements().
Referenced by verify_requirements().
|
friend |
Definition at line 61 of file attribute_verifier.hpp.
References ServiceBuilderBlackboardOpener.
Referenced by ServiceBuilderBlackboardOpener.
|
friend |
Definition at line 55 of file attribute_verifier.hpp.
References ServiceBuilderEvent.
Referenced by ServiceBuilderEvent.
|
friend |
Definition at line 57 of file attribute_verifier.hpp.
References ServiceBuilderPublishSubscribe.
Referenced by ServiceBuilderPublishSubscribe.
|
friend |
Definition at line 59 of file attribute_verifier.hpp.
References ServiceBuilderRequestResponse.
Referenced by ServiceBuilderRequestResponse.