IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::string::ResizableOperations Struct Reference

#include <ice/string/resizable_operations.hxx>

Inheritance diagram for ice::string::ResizableOperations:
ice::string::MutableOperations ice::string::ReadOnlyOperations ice::HeapString< CharT > ice::HeapString< CharT > ice::HeapVarString< CharT > ice::BasicHeapPath< char > ice::BasicHeapPath< CharT >

Public Member Functions

template<ResizableStringType Self>
void shrink (this Self &self) noexcept
template<ResizableStringType Self>
void reserve (this Self &self, ice::ncount min_capacity) noexcept
template<ResizableStringType Self>
void grow (this Self &self, ice::ncount min_capacity=ncount_none) noexcept
Public Member Functions inherited from ice::string::MutableOperations
template<MutableStringType Self>
void clear (this Self &self) noexcept
template<MutableStringType Self>
void push_back (this Self &self, typename Self::CharType character) noexcept
template<MutableStringType Self>
void push_back (this Self &self, typename Self::CharType const *cstr) noexcept
template<MutableStringType Self>
void push_back (this Self &self, ice::StringType auto const &other) noexcept
template<MutableStringType Self, typename... Args>
constexpr void push_format (this Self &self, fmt::format_string< Args... > format, Args &&... args) noexcept
template<MutableStringType Self>
void pop_back (this Self &self, ice::ncount count=1) noexcept
template<MutableStringType Self>
constexpr auto begin (this Self &self) noexcept -> typename Self::Iterator
template<MutableStringType Self>
constexpr auto end (this Self &self) noexcept -> typename Self::Iterator
template<MutableStringType Self>
constexpr auto rbegin (this Self &self) noexcept -> typename Self::ReverseIterator
template<MutableStringType Self>
constexpr auto rend (this Self &self) noexcept -> typename Self::ReverseIterator
template<MutableStringType Self>
constexpr auto operator[] (this Self &self, ice::nindex index) noexcept -> typename Self::ValueType &
template<MutableStringType Self>
constexpr auto memory_view (this Self &self) noexcept -> ice::Memory
template<StringType Self>
constexpr auto operator[] (this Self const &self, ice::nindex index) noexcept -> typename Self::ValueType
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

Member Function Documentation

◆ grow()

template<ResizableStringType Self>
void ice::string::ResizableOperations::grow ( this Self & self,
ice::ncount min_capacity = ncount_none )
inlinenoexcept

◆ reserve()

template<ResizableStringType Self>
void ice::string::ResizableOperations::reserve ( this Self & self,
ice::ncount min_capacity )
inlinenoexcept

◆ shrink()

template<ResizableStringType Self>
void ice::string::ResizableOperations::shrink ( this Self & self)
inlinenoexcept

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