PLCnext API Documentation
22.9.0.33
|
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 = std::function< void(const char *, const char *)> |
The exception handler signature. | |
Static Public Member Functions | |
template<typename... Args> | |
static StringType | FormatCommon (ExceptionHandler exceptionHandler, const StringType &format, const Args &... args) |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'. More... | |
template<typename... Args> | |
static StringType | FormatCommon (ExceptionHandler exceptionHandler, const CharType *format, const Args &... args) |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'. More... | |
template<typename... Args> | |
static StringType | FormatPrintf (ExceptionHandler exceptionHandler, const StringType &format, const Args &... args) |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'. More... | |
template<typename... Args> | |
static StringType | FormatPrintf (ExceptionHandler exceptionHandler, const CharType *format, const Args &... args) |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'. More... | |
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 |
|
inlinestatic |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'.
|
inlinestatic |
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'.
|
inlinestatic |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'.
|
inlinestatic |
Uses Ansi-C printf syntax for the placeholders in the format string like 's'.