![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
#include <format.h>
Public Member Functions | |
BasicArrayWriter (Char *array, std::size_t size) | |
template<std::size_t SIZE> | |
BasicArrayWriter (Char(&array)[SIZE]) | |
![]() | |
virtual | ~BasicWriter () |
const Char * | c_str () const |
const Char * | data () const FMT_NOEXCEPT |
BasicWriter & | operator<< (ULongLong value) |
BasicWriter & | operator<< (long double value) |
BasicWriter & | operator<< (char value) |
BasicWriter & | operator<< (fmt::BasicStringRef< Char > value) |
std::size_t | size () const |
std::basic_string< Char > | str () const |
void | write (BasicCStringRef< Char > format, ArgList args) |
Additional Inherited Members | |
![]() | |
BasicWriter (Buffer< Char > &b) | |
This class template provides operations for formatting and writing data into a fixed-size array. For writing into a dynamically growing buffer use :class:fmt::BasicMemoryWriter
.
Any write method will throw std::runtime_error
if the output doesn't fit into the array. You can use one of the following typedefs for common character types: +-----------—+------------------------—+ | Type | Definition | +==============+===========================+ | ArrayWriter | BasicArrayWriter<char> | +-----------—+------------------------—+ | WArrayWriter | BasicArrayWriter<wchar_t> | +-----------—+------------------------—+
|
inline |
Constructs a :class:fmt::BasicArrayWriter
object for array of the given size.
|
inlineexplicit |
Constructs a :class:fmt::BasicArrayWriter
object for array of the size known at compile time.