Classes | Enumerations | Functions | Variables
absl::str_format_internal Namespace Reference

Classes

class  BoundConversion
class  BufferRawSink
struct  ConversionChar
class  ConversionSpec
struct  ConvertResult
class  ConvTag
class  ExtendedParsedFormat
class  FILERawSink
struct  Flags
class  FormatArgImpl
struct  FormatArgImplFriend
struct  FormatCountCaptureHelper
class  FormatRawSinkImpl
class  FormatSinkImpl
struct  FormatSpecDeductionBarrier
class  FormatSpecTemplate
struct  HasUserDefinedConvert
struct  HasUserDefinedConvert< T, void_t< decltype(AbslFormatConvert(std::declval< const T & >(), std::declval< ConversionSpec >(), std::declval< FormatSink * >()))> >
struct  LengthMod
struct  MakeDependent
class  ParsedFormatBase
class  Streamable
class  StreamedWrapper
struct  UnboundConversion
class  UntypedFormatSpecImpl
struct  VoidPtr

Enumerations

enum  Conv

Functions

 ABSL_INTERNAL_FORMAT_DISPATCH_OVERLOADS_EXPAND_ ()
 ABSL_INTERNAL_FORMAT_DISPATCH_OVERLOADS_EXPAND_ (extern)
void AbslFormatFlush (std::string *out, string_view s)
void AbslFormatFlush (std::ostream *out, string_view s)
template<class AbslCord , typename = typename std::enable_if< std::is_same<AbslCord, ::Cord>::value>::type>
void AbslFormatFlush (AbslCord *out, string_view s)
void AbslFormatFlush (FILERawSink *sink, string_view v)
void AbslFormatFlush (BufferRawSink *sink, string_view v)
constexpr bool AllOf ()
template<typename... T>
constexpr bool AllOf (bool b, T...t)
std::string & AppendPack (std::string *out, const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)
template<typename Arg >
constexpr Conv ArgumentToConv ()
bool BindWithPack (const UnboundConversion *props, absl::Span< const FormatArgImpl > pack, BoundConversion *bound)
const char * ConsumeUnboundConversion (const char *p, const char *end, UnboundConversion *conv, int *next_arg)
constexpr bool Contains (Conv set, char c)
constexpr bool Contains (Conv set, Conv c)
constexpr Conv ConversionCharToConv (char c)
constexpr uint64_t ConversionCharToConvValue (char conv)
bool ConvertFloatImpl (long double v, const ConversionSpec &conv, FormatSinkImpl *sink)
bool ConvertFloatImpl (float v, const ConversionSpec &conv, FormatSinkImpl *sink)
bool ConvertFloatImpl (double v, const ConversionSpec &conv, FormatSinkImpl *sink)
constexpr bool EnsureConstexpr (string_view s)
size_t Excess (size_t used, size_t capacity)
template<class AbslCord , typename std::enable_if< std::is_same< AbslCord,::Cord >::value >::type * = nullptr, class AbslCordReader = ::CordReader>
ConvertResult< Conv::s > FormatConvertImpl (const AbslCord &value, ConversionSpec conv, FormatSinkImpl *sink)
template<typename T , enable_if_t< std::is_same< T, bool >::value, int > = 0>
IntegralConvertResult FormatConvertImpl (T v, ConversionSpec conv, FormatSinkImpl *sink)
template<typename T >
std::enable_if< std::is_enum
< T >::value
&&!HasUserDefinedConvert< T >
::value, IntegralConvertResult >
::type 
FormatConvertImpl (T v, ConversionSpec conv, FormatSinkImpl *sink)
template<typename T >
ConvertResult< Conv::s > FormatConvertImpl (const StreamedWrapper< T > &v, ConversionSpec conv, FormatSinkImpl *out)
template<class T = int>
ConvertResult< Conv::nFormatConvertImpl (const FormatCountCapture &v, ConversionSpec conv, FormatSinkImpl *sink)
ConvertResult< Conv::s > FormatConvertImpl (const std::string &v, const ConversionSpec conv, FormatSinkImpl *sink)
ConvertResult< Conv::s > FormatConvertImpl (string_view v, const ConversionSpec conv, FormatSinkImpl *sink)
ConvertResult< Conv::s|Conv::p > FormatConvertImpl (const char *v, const ConversionSpec conv, FormatSinkImpl *sink)
ConvertResult< Conv::p > FormatConvertImpl (VoidPtr v, const ConversionSpec conv, FormatSinkImpl *sink)
FloatingConvertResult FormatConvertImpl (float v, const ConversionSpec conv, FormatSinkImpl *sink)
FloatingConvertResult FormatConvertImpl (double v, const ConversionSpec conv, FormatSinkImpl *sink)
FloatingConvertResult FormatConvertImpl (long double v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (char v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (signed char v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (unsigned char v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (short v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (unsigned short v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (int v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (unsigned v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (long v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (unsigned long v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (long long v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (unsigned long long v, const ConversionSpec conv, FormatSinkImpl *sink)
IntegralConvertResult FormatConvertImpl (absl::uint128 v, const ConversionSpec conv, FormatSinkImpl *sink)
std::string FormatPack (const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)
bool FormatUntyped (FormatRawSinkImpl raw_sink, const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)
int FprintF (std::FILE *output, const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)
ConvTag GetTagForChar (char c)
template<typename T >
auto InvokeFlush (T *out, string_view s)-> decltype(str_format_internal
constexpr Conv operator| (Conv a, Conv b)
template<typename Consumer >
bool ParseFormatString (string_view src, Consumer consumer)
int SnprintF (char *output, size_t size, const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)
std::string Summarize (const UntypedFormatSpecImpl format, absl::Span< const FormatArgImpl > args)

Variables

ABSL_CONST_INIT const ConvTag kTags [256]

Enumeration Type Documentation

Definition at line 350 of file extension.h.


Function Documentation

void absl::str_format_internal::AbslFormatFlush ( std::string *  out,
string_view  s 
) [inline]

Definition at line 71 of file output.h.

void absl::str_format_internal::AbslFormatFlush ( std::ostream *  out,
string_view  s 
) [inline]

Definition at line 74 of file output.h.

template<class AbslCord , typename = typename std::enable_if< std::is_same<AbslCord, ::Cord>::value>::type>
void absl::str_format_internal::AbslFormatFlush ( AbslCord *  out,
string_view  s 
) [inline]

Definition at line 80 of file output.h.

void absl::str_format_internal::AbslFormatFlush ( FILERawSink *  sink,
string_view  v 
) [inline]

Definition at line 84 of file output.h.

void absl::str_format_internal::AbslFormatFlush ( BufferRawSink *  sink,
string_view  v 
) [inline]

Definition at line 88 of file output.h.

Definition at line 20 of file checker.h.

template<typename... T>
constexpr bool absl::str_format_internal::AllOf ( bool  b,
T...  t 
)

Definition at line 23 of file checker.h.

std::string & absl::str_format_internal::AppendPack ( std::string *  out,
const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
)

Definition at line 190 of file bind.cc.

template<typename Arg >
constexpr Conv absl::str_format_internal::ArgumentToConv ( )

Definition at line 28 of file checker.h.

bool absl::str_format_internal::BindWithPack ( const UnboundConversion *  props,
absl::Span< const FormatArgImpl >  pack,
BoundConversion *  bound 
)

Definition at line 156 of file bind.cc.

const char * absl::str_format_internal::ConsumeUnboundConversion ( const char *  p,
const char *  end,
UnboundConversion *  conv,
int *  next_arg 
)

Definition at line 230 of file parser.cc.

constexpr bool absl::str_format_internal::Contains ( Conv  set,
char  c 
)

Definition at line 381 of file extension.h.

constexpr bool absl::str_format_internal::Contains ( Conv  set,
Conv  c 
)

Definition at line 386 of file extension.h.

Definition at line 376 of file extension.h.

constexpr uint64_t absl::str_format_internal::ConversionCharToConvValue ( char  conv)

Definition at line 339 of file extension.h.

bool absl::str_format_internal::ConvertFloatImpl ( long double  v,
const ConversionSpec &  conv,
FormatSinkImpl *  sink 
)

Definition at line 467 of file float_conversion.cc.

bool absl::str_format_internal::ConvertFloatImpl ( float  v,
const ConversionSpec &  conv,
FormatSinkImpl *  sink 
)

Definition at line 472 of file float_conversion.cc.

bool absl::str_format_internal::ConvertFloatImpl ( double  v,
const ConversionSpec &  conv,
FormatSinkImpl *  sink 
)

Definition at line 477 of file float_conversion.cc.

constexpr bool absl::str_format_internal::EnsureConstexpr ( string_view  s)

Definition at line 173 of file parser.h.

size_t absl::str_format_internal::Excess ( size_t  used,
size_t  capacity 
) [inline]

Definition at line 403 of file extension.h.

template<class AbslCord , typename std::enable_if< std::is_same< AbslCord,::Cord >::value >::type * = nullptr, class AbslCordReader = ::CordReader>
ConvertResult<Conv::s> absl::str_format_internal::FormatConvertImpl ( const AbslCord &  value,
ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 72 of file arg.h.

template<typename T , enable_if_t< std::is_same< T, bool >::value, int > = 0>
IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( v,
ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 150 of file arg.h.

template<typename T >
std::enable_if<std::is_enum<T>::value && !HasUserDefinedConvert<T>::value, IntegralConvertResult>::type absl::str_format_internal::FormatConvertImpl ( v,
ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 150 of file arg.h.

template<typename T >
ConvertResult<Conv::s> absl::str_format_internal::FormatConvertImpl ( const StreamedWrapper< T > &  v,
ConversionSpec  conv,
FormatSinkImpl *  out 
)

Definition at line 164 of file arg.h.

template<class T = int>
ConvertResult<Conv::n> absl::str_format_internal::FormatConvertImpl ( const FormatCountCapture &  v,
ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 190 of file arg.h.

ConvertResult< Conv::s > absl::str_format_internal::FormatConvertImpl ( const std::string &  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 255 of file arg.cc.

ConvertResult< Conv::s > absl::str_format_internal::FormatConvertImpl ( string_view  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 261 of file arg.cc.

ConvertResult< Conv::s|Conv::p > absl::str_format_internal::FormatConvertImpl ( const char *  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 267 of file arg.cc.

ConvertResult< Conv::p > absl::str_format_internal::FormatConvertImpl ( VoidPtr  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 285 of file arg.cc.

FloatingConvertResult absl::str_format_internal::FormatConvertImpl ( float  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 297 of file arg.cc.

FloatingConvertResult absl::str_format_internal::FormatConvertImpl ( double  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 301 of file arg.cc.

FloatingConvertResult absl::str_format_internal::FormatConvertImpl ( long double  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 305 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( char  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 312 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( signed char  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 316 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( unsigned char  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 321 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( short  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 328 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( unsigned short  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 333 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( int  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 338 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( unsigned  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 342 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( long  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 346 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( unsigned long  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 351 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( long long  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 356 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( unsigned long long  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 361 of file arg.cc.

IntegralConvertResult absl::str_format_internal::FormatConvertImpl ( absl::uint128  v,
const ConversionSpec  conv,
FormatSinkImpl *  sink 
)

Definition at line 366 of file arg.cc.

std::string absl::str_format_internal::FormatPack ( const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
) [inline]

Definition at line 167 of file bind.h.

bool absl::str_format_internal::FormatUntyped ( FormatRawSinkImpl  raw_sink,
const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
)

Definition at line 177 of file bind.cc.

int absl::str_format_internal::FprintF ( std::FILE *  output,
const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
)

Definition at line 199 of file bind.cc.

Definition at line 102 of file parser.h.

template<typename T >
auto absl::str_format_internal::InvokeFlush ( T *  out,
string_view  s 
)

Definition at line 93 of file output.h.

constexpr Conv absl::str_format_internal::operator| ( Conv  a,
Conv  b 
)

Definition at line 371 of file extension.h.

template<typename Consumer >
bool absl::str_format_internal::ParseFormatString ( string_view  src,
Consumer  consumer 
)

Definition at line 117 of file parser.h.

int absl::str_format_internal::SnprintF ( char *  output,
size_t  size,
const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
)

Definition at line 217 of file bind.cc.

std::string absl::str_format_internal::Summarize ( const UntypedFormatSpecImpl  format,
absl::Span< const FormatArgImpl >  args 
)

Definition at line 162 of file bind.cc.


Variable Documentation

Definition at line 21 of file parser.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16