CommonLibSSE (Parapets fork)
SKSE::stl::nttp::zstring< CharT, N > Struct Template Reference

#include <PCH.h>

Public Types

using char_type = CharT
 
using pointer = char_type *
 
using const_pointer = const char_type *
 
using reference = char_type &
 
using const_reference = const char_type &
 
using size_type = std::size_t
 

Public Member Functions

consteval zstring (const char_type(&a_string)[N]) noexcept
 
consteval const_reference operator[] (size_type a_pos) const noexcept
 
consteval const_reference back () const noexcept
 
consteval const_pointer data () const noexcept
 
consteval bool empty () const noexcept
 
consteval const_reference front () const noexcept
 
consteval size_type length () const noexcept
 
consteval size_type size () const noexcept
 
template<std::size_t POS = 0, std::size_t COUNT = npos>
consteval auto substr () const noexcept
 

Public Attributes

char_type c [N] = {}
 

Static Public Attributes

static constexpr auto npos = static_cast<std::size_t>(-1)
 

Member Typedef Documentation

◆ char_type

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::char_type = CharT

◆ const_pointer

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::const_pointer = const char_type*

◆ const_reference

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::const_reference = const char_type&

◆ pointer

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::pointer = char_type*

◆ reference

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::reference = char_type&

◆ size_type

template<class CharT , std::size_t N>
using SKSE::stl::nttp::zstring< CharT, N >::size_type = std::size_t

Constructor & Destructor Documentation

◆ zstring()

template<class CharT , std::size_t N>
consteval SKSE::stl::nttp::zstring< CharT, N >::zstring ( const char_type(&)  a_string[N])
inlinenoexcept

Member Function Documentation

◆ back()

template<class CharT , std::size_t N>
consteval const_reference SKSE::stl::nttp::zstring< CharT, N >::back ( ) const
inlinenoexcept

◆ data()

template<class CharT , std::size_t N>
consteval const_pointer SKSE::stl::nttp::zstring< CharT, N >::data ( ) const
inlinenoexcept

◆ empty()

template<class CharT , std::size_t N>
consteval bool SKSE::stl::nttp::zstring< CharT, N >::empty ( ) const
inlinenoexcept

◆ front()

template<class CharT , std::size_t N>
consteval const_reference SKSE::stl::nttp::zstring< CharT, N >::front ( ) const
inlinenoexcept

◆ length()

template<class CharT , std::size_t N>
consteval size_type SKSE::stl::nttp::zstring< CharT, N >::length ( ) const
inlinenoexcept

◆ operator[]()

template<class CharT , std::size_t N>
consteval const_reference SKSE::stl::nttp::zstring< CharT, N >::operator[] ( size_type  a_pos) const
inlinenoexcept

◆ size()

template<class CharT , std::size_t N>
consteval size_type SKSE::stl::nttp::zstring< CharT, N >::size ( ) const
inlinenoexcept

◆ substr()

template<class CharT , std::size_t N>
template<std::size_t POS = 0, std::size_t COUNT = npos>
consteval auto SKSE::stl::nttp::zstring< CharT, N >::substr ( ) const
inlinenoexcept

Member Data Documentation

◆ c

template<class CharT , std::size_t N>
char_type SKSE::stl::nttp::zstring< CharT, N >::c[N] = {}

◆ npos

template<class CharT , std::size_t N>
constexpr auto SKSE::stl::nttp::zstring< CharT, N >::npos = static_cast<std::size_t>(-1)
staticconstexpr

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