proxygen
Format.h File Reference
#include <cstdio>
#include <stdexcept>
#include <tuple>
#include <type_traits>
#include <folly/CPortability.h>
#include <folly/Conv.h>
#include <folly/FormatArg.h>
#include <folly/Range.h>
#include <folly/String.h>
#include <folly/Traits.h>
#include <folly/Format-inl.h>

Go to the source code of this file.

Classes

class  folly::Formatter< containerMode, Args >
 
class  folly::FormatValue< T, Enable >
 
class  folly::detail::FormatterTag
 
class  folly::BaseFormatter< Derived, containerMode, Args >
 
class  folly::Formatter< containerMode, Args >
 
class  folly::FormatKeyNotFoundException
 
struct  folly::detail::DefaultValueWrapper< Container, Value >
 
struct  folly::detail::IsFormatter< T, Enable >
 
struct  folly::detail::IsFormatter< T, typename std::enable_if< std::is_same< typename T::IsFormatter, detail::FormatterTag >::value >::type >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::detail
 
 folly::format_value
 

Macros

#define FOLLY_FORMAT_H_
 

Functions

template<class... Args>
Formatter< false, Args... > folly::format (StringPiece fmt, Args &&...args)
 
template<class C >
Formatter< true, Cfolly::vformat (StringPiece fmt, C &&container)
 
template<bool containerMode, class... Args>
std::ostream & folly::operator<< (std::ostream &out, const Formatter< containerMode, Args... > &formatter)
 
template<class Derived , bool containerMode, class... Args>
void folly::writeTo (FILE *fp, const BaseFormatter< Derived, containerMode, Args... > &formatter)
 
template<class... Args>
std::string folly::sformat (StringPiece fmt, Args &&...args)
 
template<class Container >
Formatter< true, Container > folly::vformat (StringPiece fmt, Container &&container)
 
template<class Container >
std::string folly::svformat (StringPiece fmt, Container &&container)
 
template<class Container , class Value >
detail::DefaultValueWrapper< Container, Value > folly::defaulted (const Container &c, const Value &v)
 
template<class Str , class... Args>
std::enable_if< IsSomeString< Str >::value >::type folly::format (Str *out, StringPiece fmt, Args &&...args)
 
template<class Str , class Container >
std::enable_if< IsSomeString< Str >::value >::type folly::vformat (Str *out, StringPiece fmt, Container &&container)
 
template<class FormatCallback >
void folly::format_value::formatString (StringPiece val, FormatArg &arg, FormatCallback &cb)
 
template<class FormatCallback >
void folly::format_value::formatNumber (StringPiece val, int prefixLen, FormatArg &arg, FormatCallback &cb)
 
template<class FormatCallback , class Derived , bool containerMode, class... Args>
void folly::format_value::formatFormatter (const BaseFormatter< Derived, containerMode, Args... > &formatter, FormatArg &arg, FormatCallback &cb)
 
template<class... Args>
Formatter< false, Args... > folly::formatChecked (StringPiece fmt, Args &&...args)
 
template<class... Args>
std::string folly::sformatChecked (StringPiece fmt, Args &&...args)
 
template<class Container >
Formatter< true, Container > folly::vformatChecked (StringPiece fmt, Container &&container)
 
template<class Container >
std::string folly::svformatChecked (StringPiece fmt, Container &&container)
 
template<class Str , class... Args>
std::enable_if< IsSomeString< Str >::value >::type folly::formatChecked (Str *out, StringPiece fmt, Args &&...args)
 
template<class Str , class Container >
std::enable_if< IsSomeString< Str >::value >::type folly::vformatChecked (Str *out, StringPiece fmt, Container &&container)
 

Macro Definition Documentation

#define FOLLY_FORMAT_H_

Definition at line 18 of file Format.h.