Ark Server API (ASE) - Wiki
|
#include <container.h>
Public Member Functions | |
BasicContainerWriter (Container &dest) | |
Public Member Functions inherited from fmt::BasicWriter< Container::value_type > | |
BasicWriter & | operator<< (int value) |
BasicWriter & | operator<< (unsigned value) |
BasicWriter & | operator<< (long value) |
BasicWriter & | operator<< (unsigned long value) |
BasicWriter & | operator<< (LongLong value) |
BasicWriter & | operator<< (ULongLong value) |
BasicWriter & | operator<< (double value) |
BasicWriter & | operator<< (long double value) |
BasicWriter & | operator<< (char value) |
BasicWriter & | operator<< (typename internal::WCharHelper< wchar_t, Container::value_type >::Supported value) |
BasicWriter & | operator<< (fmt::BasicStringRef< Container::value_type > value) |
BasicWriter & | operator<< (typename internal::WCharHelper< StringRef, Container::value_type >::Supported value) |
BasicWriter & | operator<< (IntFormatSpec< T, Spec, FillChar > spec) |
BasicWriter & | operator<< (const StrFormatSpec< StrChar > &spec) |
virtual | ~BasicWriter () |
std::size_t | size () const |
const Container::value_type * | data () const FMT_NOEXCEPT |
const Container::value_type * | c_str () const |
std::basic_string< Container::value_type > | str () const |
void | write (BasicCStringRef< Container::value_type > format, ArgList args) |
void | clear () FMT_NOEXCEPT |
Buffer< Container::value_type > & | buffer () FMT_NOEXCEPT |
Private Attributes | |
internal::ContainerBuffer< Container > | buffer_ |
Additional Inherited Members | |
Protected Member Functions inherited from fmt::BasicWriter< Container::value_type > | |
BasicWriter (Buffer< Container::value_type > &b) | |
\rst This class template provides operations for formatting and appending data to a standard container like std::vector
or std::basic_string
.
Example**::
void vecformat(std::vector<char>& dest, fmt::BasicCStringRef<char> format, fmt::ArgList args) { fmt::BasicContainerWriter<std::vector<char> > appender(dest); appender.write(format, args); } FMT_VARIADIC(void, vecformat, std::vector<char>&, fmt::BasicCStringRef<char>); \endrst
Definition at line 65 of file container.h.
|
inlineexplicit |
\rst Constructs a :class:fmt::BasicContainerWriter
object. \endrst
Definition at line 76 of file container.h.
|
private |
Definition at line 68 of file container.h.