iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::bb::StaticString< N >::UncheckedConstAccessor Class Reference

#include <static_string.hpp>

Public Member Functions

 ~UncheckedConstAccessor ()=default
 
 UncheckedConstAccessor (UncheckedConstAccessor const &)=delete
 
 UncheckedConstAccessor (UncheckedConstAccessor &&)=default
 
auto operator= (UncheckedConstAccessor const &) -> UncheckedConstAccessor &=delete
 
auto operator= (UncheckedConstAccessor &&) -> UncheckedConstAccessor &=delete
 
constexpr auto operator[] (SizeType index) const -> ConstReference
 
constexpr auto begin () const noexcept -> ConstIterator
 
constexpr auto end () const noexcept -> ConstIterator
 
constexpr auto data () const noexcept -> ConstPointer
 
constexpr auto c_str () const noexcept -> char const *
 

Friends

class StaticString
 

Detailed Description

template<uint64_t N>
class iox2::bb::StaticString< N >::UncheckedConstAccessor

The unchecked API provided by this class allows for uncontrolled memory access. Users of this class must ensure that all memory accesses stay within bounds of the accessed string memory.

Definition at line 100 of file static_string.hpp.

Constructor & Destructor Documentation

◆ ~UncheckedConstAccessor()

template<uint64_t N>
iox2::bb::StaticString< N >::UncheckedConstAccessor::~UncheckedConstAccessor ( )
default

◆ UncheckedConstAccessor() [1/2]

template<uint64_t N>
iox2::bb::StaticString< N >::UncheckedConstAccessor::UncheckedConstAccessor ( UncheckedConstAccessor const &  )
delete

◆ UncheckedConstAccessor() [2/2]

template<uint64_t N>
iox2::bb::StaticString< N >::UncheckedConstAccessor::UncheckedConstAccessor ( UncheckedConstAccessor &&  )
default

Member Function Documentation

◆ begin()

template<uint64_t N>
constexpr auto iox2::bb::StaticString< N >::UncheckedConstAccessor::begin ( ) const -> ConstIterator
inlineconstexprnoexcept

Definition at line 122 of file static_string.hpp.

◆ c_str()

template<uint64_t N>
constexpr auto iox2::bb::StaticString< N >::UncheckedConstAccessor::c_str ( ) const -> char const*
inlineconstexprnoexcept

◆ data()

template<uint64_t N>
constexpr auto iox2::bb::StaticString< N >::UncheckedConstAccessor::data ( ) const -> ConstPointer
inlineconstexprnoexcept

◆ end()

template<uint64_t N>
constexpr auto iox2::bb::StaticString< N >::UncheckedConstAccessor::end ( ) const -> ConstIterator
inlineconstexprnoexcept

Definition at line 126 of file static_string.hpp.

◆ operator=() [1/2]

template<uint64_t N>
auto iox2::bb::StaticString< N >::UncheckedConstAccessor::operator= ( UncheckedConstAccessor &&  ) -> UncheckedConstAccessor &=delete
delete

◆ operator=() [2/2]

template<uint64_t N>
auto iox2::bb::StaticString< N >::UncheckedConstAccessor::operator= ( UncheckedConstAccessor const &  ) -> UncheckedConstAccessor &=delete
delete

◆ operator[]()

template<uint64_t N>
constexpr auto iox2::bb::StaticString< N >::UncheckedConstAccessor::operator[] ( SizeType  index) const -> ConstReference
inlineconstexpr

Definition at line 118 of file static_string.hpp.

Friends And Related Symbol Documentation

◆ StaticString

template<uint64_t N>
friend class StaticString
friend

Definition at line 101 of file static_string.hpp.


The documentation for this class was generated from the following file: