CommonLibSSE NG
Loading...
Searching...
No Matches
RE::detail::BSFixedString< CharT > Class Template Reference

#include <BSFixedString.h>

Public Types

using size_type = std::uint32_t
 
using value_type = CharT
 
using pointer = value_type *
 
using const_pointer = const value_type *
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

constexpr BSFixedString () noexcept=default
 
 BSFixedString (const BSFixedString &a_rhs)
 
 BSFixedString (BSFixedString &&a_rhs)
 
 BSFixedString (const_pointer a_string)
 
template<class T , std::enable_if_t< std::conjunction_v< std::is_convertible< const T &, std::basic_string_view< value_type > >, std::negation< std::is_convertible< const T &, const_pointer > > >, int > = 0>
 BSFixedString (const T &a_string)
 
 ~BSFixedString ()
 
BSFixedStringoperator= (const BSFixedString &a_rhs)
 
BSFixedStringoperator= (BSFixedString &&a_rhs)
 
BSFixedStringoperator= (const_pointer a_string)
 
template<class T , std::enable_if_t< std::conjunction_v< std::is_convertible< const T &, std::basic_string_view< value_type > >, std::negation< std::is_convertible< const T &, const_pointer > > >, int > = 0>
BSFixedStringoperator= (const T &a_string)
 
const_reference operator[] (size_type a_pos) const noexcept
 
const_reference front () const noexcept
 
const_reference back () const noexcept
 
const_pointer data () const noexcept
 
const_pointer c_str () const noexcept
 
constexpr operator std::basic_string_view () const
 
constexpr bool empty () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type length () const noexcept
 
bool contains (std::basic_string_view< value_type > a_rhs) const
 

Friends

bool operator== (const BSFixedString &a_lhs, const BSFixedString &a_rhs) noexcept
 
bool operator!= (const BSFixedString &a_lhs, const BSFixedString &a_rhs) noexcept
 
bool operator== (const BSFixedString &a_lhs, std::basic_string_view< value_type > a_rhs)
 
bool operator!= (const BSFixedString &a_lhs, std::basic_string_view< value_type > a_rhs)
 
bool operator== (std::basic_string_view< value_type > a_lhs, const BSFixedString &a_rhs)
 
bool operator!= (std::basic_string_view< value_type > a_lhs, const BSFixedString &a_rhs)
 
bool operator== (const BSFixedString &a_lhs, const_pointer a_rhs)
 
bool operator!= (const BSFixedString &a_lhs, const_pointer a_rhs)
 
bool operator== (const_pointer a_lhs, const BSFixedString &a_rhs)
 
bool operator!= (const_pointer a_lhs, const BSFixedString &a_rhs)
 

Member Typedef Documentation

◆ const_pointer

template<class CharT >
using RE::detail::BSFixedString< CharT >::const_pointer = const value_type*

◆ const_reference

template<class CharT >
using RE::detail::BSFixedString< CharT >::const_reference = const value_type&

◆ pointer

template<class CharT >
using RE::detail::BSFixedString< CharT >::pointer = value_type*

◆ reference

template<class CharT >
using RE::detail::BSFixedString< CharT >::reference = value_type&

◆ size_type

template<class CharT >
using RE::detail::BSFixedString< CharT >::size_type = std::uint32_t

◆ value_type

template<class CharT >
using RE::detail::BSFixedString< CharT >::value_type = CharT

Constructor & Destructor Documentation

◆ BSFixedString() [1/5]

template<class CharT >
constexpr RE::detail::BSFixedString< CharT >::BSFixedString ( )
constexprdefaultnoexcept

◆ BSFixedString() [2/5]

template<class CharT >
RE::detail::BSFixedString< CharT >::BSFixedString ( const BSFixedString< CharT > &  a_rhs)
inline

◆ BSFixedString() [3/5]

template<class CharT >
RE::detail::BSFixedString< CharT >::BSFixedString ( BSFixedString< CharT > &&  a_rhs)
inline

◆ BSFixedString() [4/5]

template<class CharT >
RE::detail::BSFixedString< CharT >::BSFixedString ( const_pointer  a_string)
inline

◆ BSFixedString() [5/5]

template<class CharT >
template<class T , std::enable_if_t< std::conjunction_v< std::is_convertible< const T &, std::basic_string_view< value_type > >, std::negation< std::is_convertible< const T &, const_pointer > > >, int > = 0>
RE::detail::BSFixedString< CharT >::BSFixedString ( const T &  a_string)
inline

◆ ~BSFixedString()

template<class CharT >
RE::detail::BSFixedString< CharT >::~BSFixedString ( )
inline

Member Function Documentation

◆ back()

template<class CharT >
const_reference RE::detail::BSFixedString< CharT >::back ( ) const
inlinenoexcept

◆ c_str()

template<class CharT >
const_pointer RE::detail::BSFixedString< CharT >::c_str ( ) const
inlinenoexcept

◆ contains()

template<class CharT >
bool RE::detail::BSFixedString< CharT >::contains ( std::basic_string_view< value_type a_rhs) const
inline

◆ data()

template<class CharT >
const_pointer RE::detail::BSFixedString< CharT >::data ( ) const
inlinenoexcept

◆ empty()

template<class CharT >
constexpr bool RE::detail::BSFixedString< CharT >::empty ( ) const
inlineconstexprnoexcept

◆ front()

template<class CharT >
const_reference RE::detail::BSFixedString< CharT >::front ( ) const
inlinenoexcept

◆ length()

template<class CharT >
constexpr size_type RE::detail::BSFixedString< CharT >::length ( ) const
inlineconstexprnoexcept

◆ operator std::basic_string_view()

template<class CharT >
constexpr RE::detail::BSFixedString< CharT >::operator std::basic_string_view ( ) const
inlineconstexpr

◆ operator=() [1/4]

template<class CharT >
BSFixedString & RE::detail::BSFixedString< CharT >::operator= ( BSFixedString< CharT > &&  a_rhs)
inline

◆ operator=() [2/4]

template<class CharT >
BSFixedString & RE::detail::BSFixedString< CharT >::operator= ( const BSFixedString< CharT > &  a_rhs)
inline

◆ operator=() [3/4]

template<class CharT >
template<class T , std::enable_if_t< std::conjunction_v< std::is_convertible< const T &, std::basic_string_view< value_type > >, std::negation< std::is_convertible< const T &, const_pointer > > >, int > = 0>
BSFixedString & RE::detail::BSFixedString< CharT >::operator= ( const T &  a_string)
inline

◆ operator=() [4/4]

template<class CharT >
BSFixedString & RE::detail::BSFixedString< CharT >::operator= ( const_pointer  a_string)
inline

◆ operator[]()

template<class CharT >
const_reference RE::detail::BSFixedString< CharT >::operator[] ( size_type  a_pos) const
inlinenoexcept

◆ size()

template<class CharT >
constexpr size_type RE::detail::BSFixedString< CharT >::size ( ) const
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator!= [1/5]

template<class CharT >
bool operator!= ( const BSFixedString< CharT > &  a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

◆ operator!= [2/5]

template<class CharT >
bool operator!= ( const BSFixedString< CharT > &  a_lhs,
const_pointer  a_rhs 
)
friend

◆ operator!= [3/5]

template<class CharT >
bool operator!= ( const BSFixedString< CharT > &  a_lhs,
std::basic_string_view< value_type a_rhs 
)
friend

◆ operator!= [4/5]

template<class CharT >
bool operator!= ( const_pointer  a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

◆ operator!= [5/5]

template<class CharT >
bool operator!= ( std::basic_string_view< value_type a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

◆ operator== [1/5]

template<class CharT >
bool operator== ( const BSFixedString< CharT > &  a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

◆ operator== [2/5]

template<class CharT >
bool operator== ( const BSFixedString< CharT > &  a_lhs,
const_pointer  a_rhs 
)
friend

◆ operator== [3/5]

template<class CharT >
bool operator== ( const BSFixedString< CharT > &  a_lhs,
std::basic_string_view< value_type a_rhs 
)
friend

◆ operator== [4/5]

template<class CharT >
bool operator== ( const_pointer  a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

◆ operator== [5/5]

template<class CharT >
bool operator== ( std::basic_string_view< value_type a_lhs,
const BSFixedString< CharT > &  a_rhs 
)
friend

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