iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
static_string.hpp File Reference
#include "iox2/bb/detail/attributes.hpp"
#include "iox2/bb/detail/string_internal.hpp"
#include "iox2/bb/optional.hpp"
#include "iox2/legacy/type_traits.hpp"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <functional>
#include <ostream>
#include <type_traits>

Go to the source code of this file.

Classes

struct  iox2::bb::IsStaticString< typename >
 
struct  iox2::bb::IsStaticString< StaticString< N > >
 
class  iox2::bb::StaticString< N >
 
class  iox2::bb::StaticString< N >::UncheckedConstAccessor
 
class  iox2::bb::StaticString< N >::UncheckedAccessor
 
class  iox2::bb::StaticString< N >::UncheckedAccessorCodeUnits
 
class  iox2::bb::StaticString< N >::ConstAccessorCodeUnits
 This class provides the interface for accessing individual code units of the string. More...
 

Namespaces

namespace  iox2
 
namespace  iox2::bb
 
namespace  iox2::bb::detail
 

Typedefs

template<uint64_t Capacity>
using iox2::bb::DoesContainInvalidCharacter = bool(*)(const StaticString< Capacity > &value)
 
template<uint64_t Capacity>
using iox2::bb::DoesContainInvalidContent = bool(*)(const StaticString< Capacity > &value)
 
template<typename T , typename ReturnType >
using iox2::bb::RequireStaticStringOrCharArray = typename std::enable_if_t< IsStaticString< T >::value||legacy::is_char_array< T >::value, ReturnType >
 

Functions

template<uint64_t StringCapacity>
auto iox2::bb::detail::is_valid_path_to_file (const StaticString< StringCapacity > &name) noexcept -> bool
 verifies if the given string is a valid path to a file
 
template<uint64_t StringCapacity>
auto iox2::bb::detail::is_valid_path_to_directory (const StaticString< StringCapacity > &name) noexcept -> bool
 returns true if the provided name is a valid path, otherwise false
 
template<uint64_t N>
auto operator<< (std::ostream &stream, const iox2::bb::StaticString< N > &value) -> std::ostream &
 

Function Documentation

◆ operator<<()

template<uint64_t N>
auto operator<< ( std::ostream &  stream,
const iox2::bb::StaticString< N > &  value 
) -> std::ostream&

Definition at line 708 of file static_string.hpp.