|
| ezFormatStringImpl (ezStringView sFormat, ARGS &&... args) |
|
| ezFormatStringImpl (const char *szFormat, ARGS &&... args) |
|
virtual ezStringView | GetText (ezStringBuilder &ref_sStorage) const override |
| Generates the formatted text. Make sure to only call this function once and only when the formatted string is really needed. More...
|
|
virtual const char * | GetTextCStr (ezStringBuilder &out_sString) const override |
| Similar to GetText() but guaranteed to copy the string into the given string builder, and thus guaranteeing that the generated string is zero terminated.
|
|
EZ_ALWAYS_INLINE | ezFormatString (const char *szString) |
|
EZ_ALWAYS_INLINE | ezFormatString (ezStringView sString) |
|
| ezFormatString (const ezStringBuilder &s) |
|
bool | IsEmpty () const |
|
ezStringView | BuildFormattedText (ezStringBuilder &ref_sStorage, ezStringView *pArgs, ezUInt32 uiNumArgs) const |
| Helper function to build the formatted text with the given arguments. More...
|
|
◆ GetText()
template<typename... ARGS>
Generates the formatted text. Make sure to only call this function once and only when the formatted string is really needed.
Requires an ezStringBuilder as storage, ie. writes the formatted text into it. Additionally it returns a const char* to that string builder data for convenience.
Reimplemented from ezFormatString.
The documentation for this class was generated from the following file:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/Foundation/Strings/Implementation/FormatStringImpl.h