CommonLibSSE NG
Loading...
Searching...
No Matches
SKSE::stl::nttp::string< 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 string (const_pointer a_string) noexcept
 
consteval const_reference operator[] (size_type a_pos) const noexcept
 
consteval char_type value_at (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::string< CharT, N >::char_type = CharT

◆ const_pointer

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

◆ const_reference

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

◆ pointer

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

◆ reference

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

◆ size_type

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

Constructor & Destructor Documentation

◆ string()

template<class CharT , std::size_t N>
consteval SKSE::stl::nttp::string< CharT, N >::string ( const_pointer  a_string)
inlinenoexcept

Member Function Documentation

◆ back()

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

◆ data()

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

◆ empty()

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

◆ front()

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

◆ length()

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

◆ operator[]()

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

◆ size()

template<class CharT , std::size_t N>
consteval size_type SKSE::stl::nttp::string< 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::string< CharT, N >::substr ( ) const
inlinenoexcept

◆ value_at()

template<class CharT , std::size_t N>
consteval char_type SKSE::stl::nttp::string< CharT, N >::value_at ( size_type  a_pos) const
inlinenoexcept

Member Data Documentation

◆ c

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

◆ npos

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

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