Classes | Namespaces | Macros | Enumerations | Functions
extension.h File Reference
#include <limits.h>
#include <cstddef>
#include <cstring>
#include <ostream>
#include "absl/base/port.h"
#include "absl/strings/internal/str_format/output.h"
#include "absl/strings/string_view.h"
Include dependency graph for extension.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  absl::str_format_internal::ConversionChar
 
class  absl::str_format_internal::ConversionSpec
 
struct  absl::str_format_internal::ConvertResult< C >
 
struct  absl::str_format_internal::Flags
 
class  absl::str_format_internal::FormatRawSinkImpl
 
class  absl::str_format_internal::FormatSinkImpl
 
struct  absl::str_format_internal::LengthMod
 
struct  absl::str_format_internal::ConversionChar::Spec
 
struct  absl::str_format_internal::LengthMod::Spec
 

Namespaces

 absl
 
 absl::str_format_internal
 

Macros

#define ABSL_CONVERSION_CHARS_EXPAND_(X_VAL, X_SEP)
 
#define CONV_SET_CASE(c)   conv == #c[0] ? (uint64_t{1} << (1 + ConversionChar::Id::c)):
 
#define CONV_SET_CASE(c)   c = ConversionCharToConvValue(#c[0]),
 
#define X_VAL(id)
 

Enumerations

enum  absl::str_format_internal::Conv : uint64_t {
  absl::str_format_internal::Conv::CONV_SET_CASE, absl::str_format_internal::Conv::star = ConversionCharToConvValue('*'), absl::str_format_internal::Conv::integral = d | i | u | o | x | X, absl::str_format_internal::Conv::floating = a | e | f | g | A | E | F | G,
  absl::str_format_internal::Conv::numeric = integral | floating, absl::str_format_internal::Conv::string = s, absl::str_format_internal::Conv::pointer = p
}
 

Functions

constexpr bool absl::str_format_internal::Contains (Conv set, char c)
 
constexpr bool absl::str_format_internal::Contains (Conv set, Conv c)
 
constexpr Conv absl::str_format_internal::ConversionCharToConv (char c)
 
constexpr uint64_t absl::str_format_internal::ConversionCharToConvValue (char conv)
 
size_t absl::str_format_internal::Excess (size_t used, size_t capacity)
 
constexpr Conv absl::str_format_internal::operator| (Conv a, Conv b)
 

Macro Definition Documentation

◆ ABSL_CONVERSION_CHARS_EXPAND_

#define ABSL_CONVERSION_CHARS_EXPAND_ (   X_VAL,
  X_SEP 
)
Value:
/* text */ \
X_VAL(c) X_SEP X_VAL(C) X_SEP X_VAL(s) X_SEP X_VAL(S) X_SEP \
/* ints */ \
/* floats */ \
X_VAL(f) X_SEP X_VAL(F) X_SEP X_VAL(e) X_SEP X_VAL(E) X_SEP \
/* misc */ \
X_VAL(n) X_SEP X_VAL(p)
#define X_VAL(id)
#define X(c)
#define X_SEP
UnboundConversion o
Definition: parser_test.cc:86
#define C(x)
Definition: city_test.cc:47

Definition at line 188 of file extension.h.

◆ CONV_SET_CASE [1/2]

#define CONV_SET_CASE (   c)    conv == #c[0] ? (uint64_t{1} << (1 + ConversionChar::Id::c)):

Definition at line 351 of file extension.h.

◆ CONV_SET_CASE [2/2]

#define CONV_SET_CASE (   c)    c = ConversionCharToConvValue(#c[0]),

Definition at line 351 of file extension.h.

◆ X_VAL

#define X_VAL (   id)
Value:
case #id[0]: \
out_id = ConversionChar::id; \
break;


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22