|
iceoryx2
C++ Language Bindings
|
The name of a [Service].
More...
#include <service_name.hpp>
Public Member Functions | |
| ServiceName (ServiceName &&) noexcept | |
| auto | operator= (ServiceName &&) noexcept -> ServiceName & |
| ServiceName (const ServiceName &) | |
| auto | operator= (const ServiceName &) -> ServiceName & |
| ~ServiceName () | |
| auto | as_view () const -> ServiceNameView |
Creates a [ServiceNameView]. | |
| auto | to_string () const -> iox2::bb::StaticString< IOX2_SERVICE_NAME_LENGTH > |
Returns a [iox2::bb::StaticString] containing the [ServiceName]. | |
Static Public Member Functions | |
| static auto | create (const char *value) -> iox2::bb::Expected< ServiceName, bb::SemanticStringError > |
Creates a new [ServiceName]. The name is not allowed to be empty. | |
Friends | |
| class | ServiceNameView |
The name of a [Service].
Definition at line 58 of file service_name.hpp.
|
noexcept |
| iox2::ServiceName::ServiceName | ( | const ServiceName & | ) |
| iox2::ServiceName::~ServiceName | ( | ) |
| auto iox2::ServiceName::as_view | ( | ) | const -> ServiceNameView |
Creates a [ServiceNameView].
|
static |
Creates a new [ServiceName]. The name is not allowed to be empty.
| auto iox2::ServiceName::operator= | ( | const ServiceName & | ) | -> ServiceName & |
|
noexcept |
| auto iox2::ServiceName::to_string | ( | ) | const -> iox2::bb::StaticString< IOX2_SERVICE_NAME_LENGTH > |
Returns a [iox2::bb::StaticString] containing the [ServiceName].
|
friend |
Definition at line 76 of file service_name.hpp.