#include <extension.h>
Classes | |
struct | Spec |
Public Types | |
enum | Id { c, C, s, S, d, i, o, u, x, X, f, F, e, E, g, G, a, A, n, p, none } |
Public Member Functions | |
char | Char () const |
ConversionChar () | |
Id | id () const |
bool | is_float () const |
bool | is_integral () const |
bool | is_signed () const |
bool | IsValid () const |
int | radix () const |
bool | upper () const |
Static Public Member Functions | |
static ConversionChar | FromChar (char c) |
static ConversionChar | FromId (Id id) |
static ConversionChar | FromIndex (size_t i) |
Static Public Attributes | |
static const size_t | kNumValues = none + 1 |
Private Member Functions | |
ConversionChar (Id id) | |
Private Attributes | |
Id | id_ |
Static Private Attributes | |
static const Spec | kSpecs [] |
Friends | |
bool | operator!= (const ConversionChar &a, const ConversionChar &b) |
std::ostream & | operator<< (std::ostream &os, const ConversionChar &v) |
bool | operator== (const ConversionChar &a, const ConversionChar &b) |
Definition at line 201 of file extension.h.
Definition at line 203 of file extension.h.
Definition at line 212 of file extension.h.
absl::str_format_internal::ConversionChar::ConversionChar | ( | Id | id | ) | [inline, explicit, private] |
Definition at line 301 of file extension.h.
char absl::str_format_internal::ConversionChar::Char | ( | ) | const [inline] |
Definition at line 280 of file extension.h.
static ConversionChar absl::str_format_internal::ConversionChar::FromChar | ( | char | c | ) | [inline, static] |
Definition at line 221 of file extension.h.
static ConversionChar absl::str_format_internal::ConversionChar::FromId | ( | Id | id | ) | [inline, static] |
Definition at line 236 of file extension.h.
static ConversionChar absl::str_format_internal::ConversionChar::FromIndex | ( | size_t | i | ) | [inline, static] |
Definition at line 217 of file extension.h.
Id absl::str_format_internal::ConversionChar::id | ( | ) | const [inline] |
Definition at line 237 of file extension.h.
bool absl::str_format_internal::ConversionChar::is_float | ( | ) | const [inline] |
Definition at line 269 of file extension.h.
bool absl::str_format_internal::ConversionChar::is_integral | ( | ) | const [inline] |
Definition at line 261 of file extension.h.
bool absl::str_format_internal::ConversionChar::is_signed | ( | ) | const [inline] |
Definition at line 254 of file extension.h.
bool absl::str_format_internal::ConversionChar::IsValid | ( | ) | const [inline] |
Definition at line 277 of file extension.h.
int absl::str_format_internal::ConversionChar::radix | ( | ) | const [inline] |
Definition at line 239 of file extension.h.
bool absl::str_format_internal::ConversionChar::upper | ( | ) | const [inline] |
Definition at line 247 of file extension.h.
bool operator!= | ( | const ConversionChar & | a, |
const ConversionChar & | b | ||
) | [friend] |
Definition at line 285 of file extension.h.
std::ostream& operator<< | ( | std::ostream & | os, |
const ConversionChar & | v | ||
) | [friend] |
Definition at line 288 of file extension.h.
bool operator== | ( | const ConversionChar & | a, |
const ConversionChar & | b | ||
) | [friend] |
Definition at line 282 of file extension.h.
Definition at line 303 of file extension.h.
const size_t absl::str_format_internal::ConversionChar::kNumValues = none + 1 [static] |
Definition at line 210 of file extension.h.
const ConversionChar::Spec absl::str_format_internal::ConversionChar::kSpecs [static, private] |
{ #define X_VAL(id) #define X_SEP ABSL_CONVERSION_CHARS_EXPAND_(X_VAL, X_SEP), {ConversionChar::none, '\0'}, }
Definition at line 299 of file extension.h.