CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::BSStringT< CharT, N, Allocator > Class Template Reference

#include <BSString.h>

Inheritance diagram for RE::BSStringT< CharT, N, Allocator >:

Public Types

using value_type = CharT
 
using traits_type = std::char_traits< value_type >
 
using allocator_type = Allocator< value_type, N >
 
using size_type = std::uint16_t
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = value_type *
 
using const_pointer = const value_type *
 

Public Member Functions

 BSStringT ()
 
 BSStringT (const BSStringT &a_rhs)
 
 BSStringT (BSStringT &&a_rhs)
 
 BSStringT (const value_type *a_rhs)
 
 BSStringT (const std::string_view &a_rhs)
 
 ~BSStringT ()
 
BSStringToperator= (const BSStringT &a_rhs)
 
BSStringToperator= (BSStringT &&a_rhs)
 
BSStringToperator= (const_pointer a_rhs)
 
BSStringToperator= (const std::basic_string_view< value_type > &a_rhs)
 
constexpr reference operator[] (size_type a_pos) noexcept
 
constexpr const_reference operator[] (size_type a_pos) const noexcept
 
constexpr reference front () noexcept
 
constexpr const_reference front () const noexcept
 
constexpr reference back () noexcept
 
constexpr const_reference back () const noexcept
 
constexpr pointer data () noexcept
 
constexpr const_pointer data () const noexcept
 
constexpr const_pointer c_str () const noexcept
 
 operator std::basic_string_view< value_type > () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr size_type size () const noexcept
 
constexpr size_type length () const noexcept
 
void clear ()
 
 TES_HEAP_REDEFINE_NEW ()
 

Friends

bool operator== (const BSStringT &a_lhs, const value_type *a_rhs)
 
bool operator!= (const BSStringT &a_lhs, const value_type *a_rhs)
 
bool operator== (const value_type *a_lhs, const BSStringT &a_rhs)
 
bool operator!= (const value_type *a_lhs, const BSStringT &a_rhs)
 
bool operator== (const BSStringT &a_lhs, const BSStringT &a_rhs)
 
bool operator!= (const BSStringT &a_lhs, const BSStringT &a_rhs)
 
bool operator== (const BSStringT &a_lhs, const std::string_view &a_rhs)
 
bool operator!= (const BSStringT &a_lhs, const std::string_view &a_rhs)
 
bool operator== (const std::string_view &a_lhs, const BSStringT &a_rhs)
 
bool operator!= (const std::string_view &a_lhs, const BSStringT &a_rhs)
 

Member Typedef Documentation

◆ allocator_type

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::allocator_type = Allocator<value_type, N>

◆ const_pointer

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::const_pointer = const value_type*

◆ const_reference

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::const_reference = const value_type&

◆ pointer

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::pointer = value_type*

◆ reference

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::reference = value_type&

◆ size_type

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::size_type = std::uint16_t

◆ traits_type

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::traits_type = std::char_traits<value_type>

◆ value_type

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
using RE::BSStringT< CharT, N, Allocator >::value_type = CharT

Constructor & Destructor Documentation

◆ BSStringT() [1/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::BSStringT ( )
inline

◆ BSStringT() [2/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::BSStringT ( const BSStringT< CharT, N, Allocator > &  a_rhs)
inline

◆ BSStringT() [3/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::BSStringT ( BSStringT< CharT, N, Allocator > &&  a_rhs)
inline

◆ BSStringT() [4/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::BSStringT ( const value_type a_rhs)
inline

◆ BSStringT() [5/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::BSStringT ( const std::string_view &  a_rhs)
inline

◆ ~BSStringT()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::~BSStringT ( )
inline

Member Function Documentation

◆ back() [1/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr const_reference RE::BSStringT< CharT, N, Allocator >::back ( ) const
inlineconstexprnoexcept

◆ back() [2/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr reference RE::BSStringT< CharT, N, Allocator >::back ( )
inlineconstexprnoexcept

◆ c_str()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr const_pointer RE::BSStringT< CharT, N, Allocator >::c_str ( ) const
inlineconstexprnoexcept

◆ clear()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
void RE::BSStringT< CharT, N, Allocator >::clear ( )
inline

◆ data() [1/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr const_pointer RE::BSStringT< CharT, N, Allocator >::data ( ) const
inlineconstexprnoexcept

◆ data() [2/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr pointer RE::BSStringT< CharT, N, Allocator >::data ( )
inlineconstexprnoexcept

◆ empty()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr bool RE::BSStringT< CharT, N, Allocator >::empty ( ) const
inlineconstexprnoexcept

◆ front() [1/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr const_reference RE::BSStringT< CharT, N, Allocator >::front ( ) const
inlineconstexprnoexcept

◆ front() [2/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr reference RE::BSStringT< CharT, N, Allocator >::front ( )
inlineconstexprnoexcept

◆ length()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr size_type RE::BSStringT< CharT, N, Allocator >::length ( ) const
inlineconstexprnoexcept

◆ operator std::basic_string_view< value_type >()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::operator std::basic_string_view< value_type > ( ) const
inlinenoexcept

◆ operator=() [1/4]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
BSStringT & RE::BSStringT< CharT, N, Allocator >::operator= ( BSStringT< CharT, N, Allocator > &&  a_rhs)
inline

◆ operator=() [2/4]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
BSStringT & RE::BSStringT< CharT, N, Allocator >::operator= ( const BSStringT< CharT, N, Allocator > &  a_rhs)
inline

◆ operator=() [3/4]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
BSStringT & RE::BSStringT< CharT, N, Allocator >::operator= ( const std::basic_string_view< value_type > &  a_rhs)
inline

◆ operator=() [4/4]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
BSStringT & RE::BSStringT< CharT, N, Allocator >::operator= ( const_pointer  a_rhs)
inline

◆ operator[]() [1/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr const_reference RE::BSStringT< CharT, N, Allocator >::operator[] ( size_type  a_pos) const
inlineconstexprnoexcept

◆ operator[]() [2/2]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr reference RE::BSStringT< CharT, N, Allocator >::operator[] ( size_type  a_pos)
inlineconstexprnoexcept

◆ size()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
constexpr size_type RE::BSStringT< CharT, N, Allocator >::size ( ) const
inlineconstexprnoexcept

◆ TES_HEAP_REDEFINE_NEW()

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
RE::BSStringT< CharT, N, Allocator >::TES_HEAP_REDEFINE_NEW ( )

Friends And Related Function Documentation

◆ operator!= [1/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator!= ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

◆ operator!= [2/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator!= ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const std::string_view &  a_rhs 
)
friend

◆ operator!= [3/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator!= ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const value_type a_rhs 
)
friend

◆ operator!= [4/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator!= ( const std::string_view &  a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

◆ operator!= [5/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator!= ( const value_type a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

◆ operator== [1/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator== ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

◆ operator== [2/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator== ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const std::string_view &  a_rhs 
)
friend

◆ operator== [3/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator== ( const BSStringT< CharT, N, Allocator > &  a_lhs,
const value_type a_rhs 
)
friend

◆ operator== [4/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator== ( const std::string_view &  a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

◆ operator== [5/5]

template<class CharT , std::uint32_t N, template< class, std::uint32_t > class Allocator>
bool operator== ( const value_type a_lhs,
const BSStringT< CharT, N, Allocator > &  a_rhs 
)
friend

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