IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::VarStringBase< CharT > Struct Template Reference

#include <ice/varstring.hxx>

Inheritance diagram for ice::VarStringBase< CharT >:
ice::string::ReadOnlyOperations

Public Types

using CharType = CharT
using ValueType = CharType const
using ConstIterator = ValueType*
using ConstReverseIterator = std::reverse_iterator<ValueType*>
using Iterator = ConstIterator
using ReverseIterator = ConstReverseIterator
using SizeType = ice::ncount
using StringType = ice::BasicString<CharType>
using TypeTag = VarStringTag

Public Member Functions

 VarStringBase () noexcept
 ~VarStringBase () noexcept=default
 VarStringBase (CharType const *data) noexcept
constexpr auto data () const noexcept -> ValueType *
constexpr auto size () const noexcept -> SizeType
 operator ice::BasicString< CharType > () const noexcept
Public Member Functions inherited from ice::string::ReadOnlyOperations
template<StringType Self>
constexpr bool is_empty (this Self const &self) noexcept
template<StringType Self>
constexpr bool not_empty (this Self const &self) noexcept
template<StringType Self>
constexpr auto front (this Self const &self) noexcept -> typename Self::CharType
template<StringType Self>
constexpr auto back (this Self const &self) noexcept -> typename Self::CharType
template<StringType Self>
constexpr auto substr (this Self const &self, ice::nindex pos, ice::ncount len={}) noexcept -> typename Self::StringType
template<StringType Self>
constexpr auto substr (this Self const &self, ice::ref32 ref) noexcept -> typename Self::StringType
template<StringType Self>
constexpr auto starts_with (this Self const &self, StringType auto prefix) noexcept
template<StringType Self>
constexpr auto find_first_of (this Self const &self, typename Self::CharType character_value, ice::nindex start=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_first_of (this Self const &self, typename Self::StringType character_values, ice::nindex start=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_last_of (this Self const &self, typename Self::CharType character_value, ice::nindex start=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_last_of (this Self const &self, typename Self::StringType character_values, ice::nindex start=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_first_not_of (this Self const &self, typename Self::CharType character_value, ice::nindex start_idx=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_first_not_of (this Self const &self, typename Self::StringType character_values, ice::nindex start_idx=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_last_not_of (this Self const &self, typename Self::CharType character_value, ice::nindex start_idx=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto find_last_not_of (this Self const &self, typename Self::StringType character_values, ice::nindex start_idx=0) noexcept -> ice::nindex
template<StringType Self>
constexpr auto cbegin (this Self const &self) noexcept -> typename Self::ConstIterator
template<StringType Self>
constexpr auto cend (this Self const &self) noexcept -> typename Self::ConstIterator
template<StringType Self>
constexpr auto crbegin (this Self const &self) noexcept -> typename Self::ConstReverseIterator
template<StringType Self>
constexpr auto crend (this Self const &self) noexcept -> typename Self::ConstReverseIterator
template<StringType Self>
constexpr auto begin (this Self const &self) noexcept -> typename Self::ConstIterator
template<StringType Self>
constexpr auto end (this Self const &self) noexcept -> typename Self::ConstIterator
template<StringType Self>
constexpr auto rbegin (this Self const &self) noexcept -> typename Self::ConstReverseIterator
template<StringType Self>
constexpr auto rend (this Self const &self) noexcept -> typename Self::ConstReverseIterator
template<StringType Self>
constexpr auto operator[] (this Self const &self, ice::nindex index) noexcept -> typename Self::ValueType
template<StringType Self>
constexpr bool operator== (this Self const &self, typename Self::StringType const &other) noexcept
template<StringType Self>
constexpr auto meminfo (this Self const &self) noexcept -> ice::meminfo

Public Attributes

ValueType_data

Member Typedef Documentation

◆ CharType

template<typename CharT = char>
using ice::VarStringBase< CharT >::CharType = CharT

◆ ConstIterator

template<typename CharT = char>
using ice::VarStringBase< CharT >::ConstIterator = ValueType*

◆ ConstReverseIterator

template<typename CharT = char>
using ice::VarStringBase< CharT >::ConstReverseIterator = std::reverse_iterator<ValueType*>

◆ Iterator

template<typename CharT = char>
using ice::VarStringBase< CharT >::Iterator = ConstIterator

◆ ReverseIterator

template<typename CharT = char>
using ice::VarStringBase< CharT >::ReverseIterator = ConstReverseIterator

◆ SizeType

template<typename CharT = char>
using ice::VarStringBase< CharT >::SizeType = ice::ncount

◆ StringType

template<typename CharT = char>
using ice::VarStringBase< CharT >::StringType = ice::BasicString<CharType>

◆ TypeTag

template<typename CharT = char>
using ice::VarStringBase< CharT >::TypeTag = VarStringTag

◆ ValueType

template<typename CharT = char>
using ice::VarStringBase< CharT >::ValueType = CharType const

Constructor & Destructor Documentation

◆ VarStringBase() [1/2]

template<typename CharT>
ice::VarStringBase< CharT >::VarStringBase ( )
inlinenoexcept

◆ ~VarStringBase()

template<typename CharT = char>
ice::VarStringBase< CharT >::~VarStringBase ( )
inlinedefaultnoexcept

◆ VarStringBase() [2/2]

template<typename CharT>
ice::VarStringBase< CharT >::VarStringBase ( CharType const * data)
inlineexplicitnoexcept

Member Function Documentation

◆ data()

template<typename CharT>
auto ice::VarStringBase< CharT >::data ( ) const -> ValueType *
inlineconstexprnoexcept

◆ operator ice::BasicString< CharType >()

template<typename CharT = char>
ice::VarStringBase< CharT >::operator ice::BasicString< CharType > ( ) const
inlinenoexcept

◆ size()

template<typename CharT>
auto ice::VarStringBase< CharT >::size ( ) const -> SizeType
inlineconstexprnoexcept

Member Data Documentation

◆ _data

template<typename CharT = char>
ValueType* ice::VarStringBase< CharT >::_data

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