#include <extension.h>
Public Member Functions | |
void | Append (size_t n, char c) |
void | Append (string_view v) |
void | Flush () |
FormatSinkImpl (FormatRawSinkImpl raw) | |
bool | PutPaddedString (string_view v, int w, int p, bool l) |
size_t | size () const |
template<typename T > | |
T | Wrap () |
~FormatSinkImpl () | |
Static Public Member Functions | |
template<typename T > | |
static FormatSinkImpl * | Extract (T *s) |
Private Member Functions | |
size_t | Avail () const |
Private Attributes | |
char | buf_ [1024] |
char * | pos_ = buf_ |
FormatRawSinkImpl | raw_ |
size_t | size_ = 0 |
Definition at line 61 of file extension.h.
absl::str_format_internal::FormatSinkImpl::FormatSinkImpl | ( | FormatRawSinkImpl | raw | ) | [inline, explicit] |
Definition at line 63 of file extension.h.
Definition at line 65 of file extension.h.
void absl::str_format_internal::FormatSinkImpl::Append | ( | size_t | n, |
char | c | ||
) | [inline] |
Definition at line 72 of file extension.h.
void absl::str_format_internal::FormatSinkImpl::Append | ( | string_view | v | ) | [inline] |
Definition at line 89 of file extension.h.
size_t absl::str_format_internal::FormatSinkImpl::Avail | ( | ) | const [inline, private] |
Definition at line 118 of file extension.h.
static FormatSinkImpl* absl::str_format_internal::FormatSinkImpl::Extract | ( | T * | s | ) | [inline, static] |
Definition at line 113 of file extension.h.
void absl::str_format_internal::FormatSinkImpl::Flush | ( | ) | [inline] |
Definition at line 67 of file extension.h.
bool absl::str_format_internal::FormatSinkImpl::PutPaddedString | ( | string_view | v, |
int | w, | ||
int | p, | ||
bool | l | ||
) |
Definition at line 70 of file extension.cc.
size_t absl::str_format_internal::FormatSinkImpl::size | ( | ) | const [inline] |
Definition at line 102 of file extension.h.
T absl::str_format_internal::FormatSinkImpl::Wrap | ( | ) | [inline] |
Definition at line 108 of file extension.h.
char absl::str_format_internal::FormatSinkImpl::buf_[1024] [private] |
Definition at line 123 of file extension.h.
char* absl::str_format_internal::FormatSinkImpl::pos_ = buf_ [private] |
Definition at line 122 of file extension.h.
Definition at line 120 of file extension.h.
size_t absl::str_format_internal::FormatSinkImpl::size_ = 0 [private] |
Definition at line 121 of file extension.h.