|
|
using | char_type = typename Range::value_type |
|
using | iterator = typename Range::iterator |
|
using | format_specs = basic_format_specs<char_type> |
|
| | basic_writer (Range out, locale_ref loc=locale_ref()) |
| iterator | out () const |
| template<typename F> |
| void | write_padded (const format_specs &specs, F &&f) |
| void | write (int value) |
| void | write (long value) |
| void | write (long long value) |
| void | write (unsigned value) |
| void | write (unsigned long value) |
| void | write (unsigned long long value) |
| void | write (int128_t value) |
| void | write (uint128_t value) |
| template<typename T, typename Spec> |
| void | write_int (T value, const Spec &spec) |
| template<typename T, FMT_ENABLE_IF(std::is_floating_point< T >::value)> |
| void | write (T value, format_specs specs={}) |
| void | write (char value) |
| template<typename Char, FMT_ENABLE_IF(std::is_same< Char, char_type >::value)> |
| void | write (Char value) |
| void | write (string_view value) |
| void | write (wstring_view value) |
| template<typename Char> |
| void | write (const Char *s, std::size_t size, const format_specs &specs) |
| template<typename Char> |
| void | write (basic_string_view< Char > s, const format_specs &specs={}) |
| template<typename UIntPtr> |
| void | write_pointer (UIntPtr value, const format_specs *specs) |
|
| auto | reserve (std::size_t n) -> decltype(internal::reserve(out_, n)) |
| template<typename F> |
| void | write_int (int num_digits, string_view prefix, format_specs specs, F f) |
| template<typename Int> |
| void | write_decimal (Int value) |
◆ basic_writer()
17896 : out_(out.begin()), locale_(
loc) {}
Definition duckdb.cpp:17649
◆ reserve()
◆ write_int() [1/2]
template<typename Range>
template<typename F>
| void internal::basic_writer< Range >::write_int |
( |
int | num_digits, |
|
|
string_view | prefix, |
|
|
format_specs | specs, |
|
|
F | f ) |
|
inlineprivate |
17687 {
17696 }
17700 fill =
static_cast<char_type
>(
'0');
17701 }
17704 }
Definition duckdb.cpp:17665
◆ write_decimal()
template<typename Range>
template<typename Int>
17707 {
17710
17714 if (
negative) *
it++ =
static_cast<char_type
>(
'-');
17716 }
◆ out()
◆ write_padded()
template<typename Range>
template<typename F>
17903 {
17904
17906 size_t size =
f.size();
17920 } else {
17923 }
17924 }
◆ write() [1/15]
17926{ write_decimal(
value); }
◆ write() [2/15]
17927{ write_decimal(
value); }
◆ write() [3/15]
17928{ write_decimal(
value); }
◆ write() [4/15]
17930{ write_decimal(
value); }
◆ write() [5/15]
17931{ write_decimal(
value); }
◆ write() [6/15]
17932{ write_decimal(
value); }
◆ write() [7/15]
17934{ write_decimal(
value); }
◆ write() [8/15]
17935{ write_decimal(
value); }
◆ write_int() [2/2]
template<typename Range>
template<typename T, typename Spec>
17938 {
17940 }
Definition duckdb.cpp:17719
◆ write() [9/15]
template<typename Range>
template<typename T, FMT_ENABLE_IF(std::is_floating_point< T >
::value)>
17943 {}) {
17951 }
17952
17957 }
17958
17963 auto&&
it = reserve(1);
17967 }
17969 }
17970
17976 return;
17977 }
17987 }
17992 }
else if (
fspecs.thousand_sep ==
'.') {
17993
17994 point =
static_cast<char_type
>(
',');
17995 } else {
17996 point =
static_cast<char_type
>(
'.');
17997 }
17999 static_cast<int>(
buffer.size()),
18001 }
Definition duckdb.cpp:17866
◆ write() [10/15]
18003 {
18004 auto&&
it = reserve(1);
18006 }
◆ write() [11/15]
template<typename Range>
template<typename Char, FMT_ENABLE_IF(std::is_same< Char, char_type >
::value)>
18009 {
18010 auto&&
it = reserve(1);
18012 }
◆ write() [12/15]
18014 {
18015 auto&&
it = reserve(
value.size());
18017 }
◆ write() [13/15]
18018 {
18020 auto&&
it = reserve(
value.size());
18022 }
◆ write() [14/15]
template<typename Range>
template<typename Char>
◆ write() [15/15]
template<typename Range>
template<typename Char>
◆ write_pointer()
template<typename Range>
template<typename UIntPtr>
18039 {
18046 }
Definition duckdb.cpp:17880
The documentation for this class was generated from the following file: