Agora  1.2.0
Agora project
fmt::v8::detail::digit_grouping< Char > Class Template Reference

#include <format.h>

Classes

struct  next_state
 

Public Member Functions

 digit_grouping (locale_ref loc, bool localized=true)
 
 digit_grouping (thousands_sep_result< Char > sep)
 
Char separator () const
 
int count_separators (int num_digits) const
 
template<typename Out , typename C >
Out apply (Out out, basic_string_view< C > digits) const
 

Private Member Functions

next_state initial_state () const
 
int next (next_state &state) const
 

Private Attributes

thousands_sep_result< Char > sep_
 

Constructor & Destructor Documentation

◆ digit_grouping() [1/2]

template<typename Char >
fmt::v8::detail::digit_grouping< Char >::digit_grouping ( locale_ref  loc,
bool  localized = true 
)
inlineexplicit

◆ digit_grouping() [2/2]

template<typename Char >
fmt::v8::detail::digit_grouping< Char >::digit_grouping ( thousands_sep_result< Char >  sep)
inlineexplicit

Member Function Documentation

◆ apply()

template<typename Char >
template<typename Out , typename C >
Out fmt::v8::detail::digit_grouping< Char >::apply ( Out  out,
basic_string_view< C >  digits 
) const
inline
Here is the call graph for this function:

◆ count_separators()

template<typename Char >
int fmt::v8::detail::digit_grouping< Char >::count_separators ( int  num_digits) const
inline

◆ initial_state()

template<typename Char >
next_state fmt::v8::detail::digit_grouping< Char >::initial_state ( ) const
inlineprivate

◆ next()

template<typename Char >
int fmt::v8::detail::digit_grouping< Char >::next ( next_state state) const
inlineprivate

◆ separator()

template<typename Char >
Char fmt::v8::detail::digit_grouping< Char >::separator ( ) const
inline

Member Data Documentation

◆ sep_

template<typename Char >
thousands_sep_result<Char> fmt::v8::detail::digit_grouping< Char >::sep_
private

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