Public Member Functions | Protected Attributes | List of all members
internal::specs_setter< Char > Class Template Reference

#include <format.h>

Public Member Functions

FMT_CONSTEXPR specs_setter (basic_format_specs< Char > &specs)
 
FMT_CONSTEXPR specs_setter (const specs_setter &other)
 
FMT_CONSTEXPR void on_align (alignment align)
 
FMT_CONSTEXPR void on_fill (Char fill)
 
FMT_CONSTEXPR void on_plus ()
 
FMT_CONSTEXPR void on_minus ()
 
FMT_CONSTEXPR void on_space ()
 
FMT_CONSTEXPR void on_hash ()
 
FMT_CONSTEXPR void on_zero ()
 
FMT_CONSTEXPR void on_width (unsigned width)
 
FMT_CONSTEXPR void on_precision (unsigned precision)
 
FMT_CONSTEXPR void end_precision ()
 
FMT_CONSTEXPR void on_type (Char type)
 

Protected Attributes

basic_format_specs< Char > & specs_
 

Detailed Description

template<typename Char>
class internal::specs_setter< Char >

Definition at line 1555 of file format.h.

Constructor & Destructor Documentation

template<typename Char>
FMT_CONSTEXPR internal::specs_setter< Char >::specs_setter ( basic_format_specs< Char > &  specs)
inlineexplicit

Definition at line 1557 of file format.h.

1557  :
1558  specs_(specs) {}
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR internal::specs_setter< Char >::specs_setter ( const specs_setter< Char > &  other)
inline

Definition at line 1560 of file format.h.

1560 : specs_(other.specs_) {}
basic_format_specs< Char > & specs_
Definition: format.h:1585

Member Function Documentation

template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::end_precision ( )
inline

Definition at line 1578 of file format.h.

1578 {}
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_align ( alignment  align)
inline

Definition at line 1562 of file format.h.

1562 { specs_.align_ = align; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
static QCString align(DocHtmlCell *cell)
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_fill ( Char  fill)
inline

Definition at line 1563 of file format.h.

1563 { specs_.fill_ = fill; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
def fill(s)
Definition: translator.py:93
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_hash ( )
inline

Definition at line 1567 of file format.h.

1567 { specs_.flags |= HASH_FLAG; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_minus ( )
inline

Definition at line 1565 of file format.h.

1565 { specs_.flags |= MINUS_FLAG; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_plus ( )
inline

Definition at line 1564 of file format.h.

1564 { specs_.flags |= SIGN_FLAG | PLUS_FLAG; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_precision ( unsigned  precision)
inline

Definition at line 1575 of file format.h.

1575  {
1576  specs_.precision = static_cast<int>(precision);
1577  }
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_space ( )
inline

Definition at line 1566 of file format.h.

1566 { specs_.flags |= SIGN_FLAG; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_type ( Char  type)
inline

Definition at line 1580 of file format.h.

1580  {
1581  specs_.type = static_cast<char>(type);
1582  }
basic_format_specs< Char > & specs_
Definition: format.h:1585
type
Definition: core.h:530
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_width ( unsigned  width)
inline

Definition at line 1574 of file format.h.

1574 { specs_.width_ = width; }
basic_format_specs< Char > & specs_
Definition: format.h:1585
const double width
template<typename Char>
FMT_CONSTEXPR void internal::specs_setter< Char >::on_zero ( )
inline

Definition at line 1569 of file format.h.

1569  {
1570  specs_.align_ = ALIGN_NUMERIC;
1571  specs_.fill_ = '0';
1572  }
basic_format_specs< Char > & specs_
Definition: format.h:1585

Member Data Documentation

template<typename Char>
basic_format_specs<Char>& internal::specs_setter< Char >::specs_
protected

Definition at line 1585 of file format.h.


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