PLCnext API Documentation  20.0.0.24462
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Static Public Member Functions | List of all members
Arp::BasicFormatter< C, A > Class Template Reference

Public Types

using CharType = C
 
using StringType = BasicString< C, A >
 
using ExceptionHandler = std::function< void(const char *, const char *)>
 

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...
 

Member Function Documentation

◆ FormatCommon() [1/2]

template<typename C , typename A >
template<typename... Args>
BasicFormatter< C, A >::StringType Arp::BasicFormatter< C, A >::FormatCommon ( ExceptionHandler  exceptionHandler,
const StringType format,
const Args &...  args 
)
inlinestatic

Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'.

◆ FormatCommon() [2/2]

template<typename C , typename A >
template<typename... Args>
BasicFormatter< C, A >::StringType Arp::BasicFormatter< C, A >::FormatCommon ( ExceptionHandler  exceptionHandler,
const CharType *  format,
const Args &...  args 
)
inlinestatic

Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'.

◆ FormatPrintf() [1/2]

template<typename C , typename A >
template<typename... Args>
BasicFormatter< C, A >::StringType Arp::BasicFormatter< C, A >::FormatPrintf ( ExceptionHandler  exceptionHandler,
const StringType format,
const Args &...  args 
)
inlinestatic

Uses Ansi-C printf syntax for the placeholders in the format string like 's'.

◆ FormatPrintf() [2/2]

template<typename C , typename A >
template<typename... Args>
BasicFormatter< C, A >::StringType Arp::BasicFormatter< C, A >::FormatPrintf ( ExceptionHandler  exceptionHandler,
const CharType *  format,
const Args &...  args 
)
inlinestatic

Uses Ansi-C printf syntax for the placeholders in the format string like 's'.


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