Public Types | Public Member Functions | Public Attributes | List of all members
detail::int_writer< OutputIt, Char, UInt > Struct Template Reference

#include <format.h>

Public Types

enum  { sep_size = 1 }
 
using iterator = remove_reference_t< decltype(reserve(std::declval< OutputIt & >(), 0))>
 

Public Member Functions

string_view get_prefix () const
 
template<typename Int >
 int_writer (OutputIt output, locale_ref loc, Int value, const basic_format_specs< Char > &s)
 
void on_bin ()
 
void on_chr ()
 
void on_dec ()
 
FMT_NORETURN void on_error ()
 
void on_hex ()
 
void on_num ()
 
void on_oct ()
 

Public Attributes

UInt abs_value
 
locale_ref locale
 
OutputIt out
 
char prefix [4]
 
unsigned prefix_size
 
const basic_format_specs< Char > & specs
 

Detailed Description

template<typename OutputIt, typename Char, typename UInt>
struct detail::int_writer< OutputIt, Char, UInt >

Definition at line 1584 of file format.h.

Member Typedef Documentation

template<typename OutputIt, typename Char, typename UInt>
using detail::int_writer< OutputIt, Char, UInt >::iterator = remove_reference_t<decltype(reserve(std::declval<OutputIt&>(), 0))>

Definition at line 1593 of file format.h.

Member Enumeration Documentation

template<typename OutputIt, typename Char, typename UInt>
anonymous enum
Enumerator
sep_size 

Definition at line 1662 of file format.h.

Constructor & Destructor Documentation

template<typename OutputIt, typename Char, typename UInt>
template<typename Int >
detail::int_writer< OutputIt, Char, UInt >::int_writer ( OutputIt  output,
locale_ref  loc,
Int  value,
const basic_format_specs< Char > &  s 
)
inline

Definition at line 1598 of file format.h.

Member Function Documentation

template<typename OutputIt, typename Char, typename UInt>
string_view detail::int_writer< OutputIt, Char, UInt >::get_prefix ( ) const
inline

Definition at line 1595 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_bin ( )
inline

Definition at line 1637 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_chr ( )
inline

Definition at line 1711 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_dec ( )
inline

Definition at line 1616 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
FMT_NORETURN void detail::int_writer< OutputIt, Char, UInt >::on_error ( )
inline

Definition at line 1713 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_hex ( )
inline

Definition at line 1624 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_num ( )
inline

Definition at line 1664 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
void detail::int_writer< OutputIt, Char, UInt >::on_oct ( )
inline

Definition at line 1649 of file format.h.

Member Data Documentation

template<typename OutputIt, typename Char, typename UInt>
UInt detail::int_writer< OutputIt, Char, UInt >::abs_value

Definition at line 1588 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
locale_ref detail::int_writer< OutputIt, Char, UInt >::locale

Definition at line 1586 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
OutputIt detail::int_writer< OutputIt, Char, UInt >::out

Definition at line 1585 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
char detail::int_writer< OutputIt, Char, UInt >::prefix[4]

Definition at line 1589 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
unsigned detail::int_writer< OutputIt, Char, UInt >::prefix_size

Definition at line 1590 of file format.h.

template<typename OutputIt, typename Char, typename UInt>
const basic_format_specs<Char>& detail::int_writer< OutputIt, Char, UInt >::specs

Definition at line 1587 of file format.h.


The documentation for this struct was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51