|
CeresEngine 0.2.0
A game development framework
|
Basic string that uses framework's memory allocators. More...
#include <CeresEngine/Foundation/String.hpp>
Public Member Functions | |
| BasicString (const super &other) | |
Creates a new BasicString from a std::basic_string. | |
| BasicString (super &&other) | |
Creates a new BasicString from a std::basic_string. | |
| BasicString (const BasicString &str)=default | |
| BasicString (BasicString &&str) noexcept=default | |
| BasicString & | operator= (const BasicString &str)=default |
| BasicString & | operator= (BasicString &&str)=default |
| operator const super & () const | |
Converts a BasicString into the underlying std::basic_string. | |
| operator super & () | |
Converts a BasicString into the underlying std::basic_string. | |
Public Member Functions inherited from CeresEngine::BasicStringBase< BasicString< T, CharTraits, RawAllocator >, T, CharTraits > | |
| bool | contains (const BasicStringView< T, CharTraits > &text) const |
| void | split (const StringViewType delimiter, Func &&func, bool skipEmpty=false) const |
| void | split (const T delimiter, Func &&func) const |
| U | to (Args &&... args) const |
| Converts the string into it's object representation. | |
Static Public Member Functions | |
| template<typename U , typename... Args> | |
| static decltype(auto) | from (U value, Args &&... args) |
Converts a value into it's string representation. | |
Private Types | |
| using | super = std::basic_string< T, CharTraits, StdAllocator< T, RawAllocator > > |
Basic string that uses framework's memory allocators.
|
private |
|
inline |
Creates a new BasicString from a std::basic_string.
|
inline |
Creates a new BasicString from a std::basic_string.
|
default |
|
defaultnoexcept |
|
static |
Converts a value into it's string representation.
The conversion is performed using StringConverter.
|
inline |
Converts a BasicString into the underlying std::basic_string.
|
inline |
Converts a BasicString into the underlying std::basic_string.
|
default |
|
default |