FastLED 3.10.6
Loading...
Searching...
No Matches
fl::printf_detail Namespace Reference

Namespaces

namespace  anonymous_namespace{stdio.cpp.hpp}
 

Classes

struct  FormatSpec
 
struct  scalar_kind
 
struct  scalar_kind< bool >
 
struct  scalar_kind< char >
 
struct  scalar_kind< double >
 
struct  scalar_kind< float >
 
struct  scalar_kind< int >
 
struct  scalar_kind< long >
 
struct  scalar_kind< long long >
 
struct  scalar_kind< short >
 
struct  scalar_kind< signed char >
 
struct  scalar_kind< unsigned char >
 
struct  scalar_kind< unsigned int >
 
struct  scalar_kind< unsigned long >
 
struct  scalar_kind< unsigned long long >
 
struct  scalar_kind< unsigned short >
 
struct  ScalarArg
 

Functions

fl::string apply_width (const fl::string &str, const FormatSpec &spec, bool is_numeric=false) FL_NO_EXCEPT
 
bool float_is_finite (float value) FL_NO_EXCEPT
 
void format_arg (sstream &stream, const FormatSpec &spec, const char *arg) FL_NO_EXCEPT
 
template<fl::size N>
void format_arg (sstream &stream, const FormatSpec &spec, const char(&arg)[N]) FL_NO_EXCEPT
 
void format_arg (sstream &stream, const FormatSpec &spec, const fl::string &arg) FL_NO_EXCEPT
 
void format_arg (sstream &stream, const FormatSpec &spec, const fl::string_view &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if<(scalar_kind< T >::value >=0)>::type format_arg (sstream &stream, const FormatSpec &spec, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if<!fl::is_pointer< T >::value &&(scalar_kind< T >::value< 0)>::type format_arg (sstream &stream, const FormatSpec &spec, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_pointer< T >::value >::type format_arg (sstream &stream, const FormatSpec &spec, const T &arg) FL_NO_EXCEPT
 
void format_arg_generic (sstream &stream, char *arg) FL_NO_EXCEPT
 
void format_arg_generic (sstream &stream, char arg) FL_NO_EXCEPT
 
void format_arg_generic (sstream &stream, const char *arg) FL_NO_EXCEPT
 
void format_arg_generic (sstream &stream, const fl::string &arg) FL_NO_EXCEPT
 
void format_arg_generic (sstream &stream, const fl::string_view &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_integral< T >::value >::type format_arg_generic (sstream &stream, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_enum< T >::value >::type format_arg_generic (sstream &stream, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_floating_point< T >::value >::type format_arg_generic (sstream &stream, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_pointer< T >::value >::type format_arg_generic (sstream &stream, const T &arg) FL_NO_EXCEPT
 
fl::string format_float (float value, int precision) FL_NO_EXCEPT
 
fl::string format_float_scientific (float value, int precision) FL_NO_EXCEPT
 
void format_floating (sstream &stream, const FormatSpec &spec, const ScalarArg &a) FL_NO_EXCEPT
 
void format_impl (sstream &stream, const char *format) FL_NO_EXCEPT
 
template<typename T, typename... Args>
void format_impl (sstream &stream, const char *format, const T &first, const Args &... rest) FL_NO_EXCEPT
 
void format_integral (sstream &stream, const FormatSpec &spec, const ScalarArg &a) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_integral< T >::value >::type format_scalar_arg (sstream &stream, const FormatSpec &spec, ScalarArg &a, const T &arg) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_floating_point< T >::value >::type format_scalar_arg (sstream &stream, const FormatSpec &spec, ScalarArg &a, const T &arg) FL_NO_EXCEPT
 
bool parse_brace (sstream &stream, const char *&format) FL_NO_EXCEPT
 
FormatSpec parse_format_spec (const char *&format) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if<!fl::is_pointer< T >::value, fl::uptr >::type pointer_to_uptr (const T &) FL_NO_EXCEPT
 
template<typename T>
fl::enable_if< fl::is_pointer< T >::value, fl::uptr >::type pointer_to_uptr (const T &ptr) FL_NO_EXCEPT
 
template<typename T>
fl::string to_octal (T value) FL_NO_EXCEPT
 

Variables

constexpr float kFloatDecimalLimit = 4.0e18f