|
iceoryx2
C++ Bindings
|
#include <static_string.hpp>
Public Member Functions | |
| ~UncheckedAccessorCodeUnits ()=default | |
| UncheckedAccessorCodeUnits (UncheckedAccessorCodeUnits const &)=delete | |
| UncheckedAccessorCodeUnits (UncheckedAccessorCodeUnits &&)=default | |
| auto | operator= (UncheckedAccessorCodeUnits const &) -> UncheckedAccessorCodeUnits &=delete |
| auto | operator= (UncheckedAccessorCodeUnits &&) -> UncheckedAccessorCodeUnits &=delete |
| auto | element_at (SizeType index) noexcept -> OptionalCodeUnitReference |
| auto | front_element () noexcept -> OptionalCodeUnitReference |
| auto | back_element () noexcept -> OptionalCodeUnitReference |
| auto | try_erase_at (SizeType index) noexcept -> bool |
| Removes a single code unit at index. | |
| auto | try_erase_at (SizeType begin_index, SizeType end_index) noexcept -> bool |
| Removes the range of code units at [begin_index, end_index). | |
Friends | |
| class | StaticString |
| template<typename, uint64_t Capacity, bb::DoesContainInvalidContent< Capacity >, bb::DoesContainInvalidCharacter< Capacity >> | |
| class | bb::SemanticString |
The unchecked API provided by this class allows for encoding violations. Users of this class must ensure that writes to the string do not result in a sequence of bytes that is no longer a valid UTF-8 encoded string. This includes not setting any of the string characters to NUL (U+0000).
Definition at line 186 of file static_string.hpp.
|
default |
|
delete |
|
default |
|
inlinenoexcept |
Retrieve a reference to the last code unit at the end of the string.
Definition at line 264 of file static_string.hpp.
References iox2::bb::NULLOPT.
|
inlinenoexcept |
Retrieve a reference to the single code unit at index.
Definition at line 244 of file static_string.hpp.
References iox2::bb::NULLOPT.
|
inlinenoexcept |
Retrieve a reference to the first code unit at the beginning of the string.
Definition at line 254 of file static_string.hpp.
References iox2::bb::NULLOPT.
|
delete |
|
delete |
|
inlinenoexcept |
Removes the range of code units at [begin_index, end_index).
Definition at line 278 of file static_string.hpp.
|
inlinenoexcept |
Removes a single code unit at index.
Definition at line 273 of file static_string.hpp.
References try_erase_at().
Referenced by try_erase_at().
|
friend |
Definition at line 192 of file static_string.hpp.
References StaticString.
|
friend |
Definition at line 187 of file static_string.hpp.
References StaticString.
Referenced by bb::SemanticString, and StaticString.