PLCnext API Documentation 25.0.2.69
|
This class encapsulates formatting operations which are based on the open source library libfmt formerly known as cppformat. More...
#include <BasicFormatter.hxx>
Public Types | |
using | CharType = C |
The char type provided as template argument. | |
using | StringType = BasicString< C, A > |
The string type determined by template argument. | |
using | ExceptionHandler = void(*)(const char *, const char *) |
The exception handler signature. | |
Static Public Member Functions | |
template<typename... Args> | |
static StringType | FormatCommon (ExceptionHandler exceptionHandler, const StringType &format, Args &&... args) |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'. | |
template<typename... Args> | |
static StringType | FormatCommon (ExceptionHandler exceptionHandler, const CharType *format, Args &&... args) |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'. | |
template<typename... Args> | |
static StringType | FormatPrintf (ExceptionHandler exceptionHandler, const StringType &format, Args &&... args) |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'. | |
template<typename... Args> | |
static StringType | FormatPrintf (ExceptionHandler exceptionHandler, const CharType *format, Args &&... args) |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'. | |
This class encapsulates formatting operations which are based on the open source library libfmt formerly known as cppformat.
C | The char type |
A | The characters allocator type |