Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
format_facet< Locale > Class Template Reference

#include <format.h>

Inheritance diagram for format_facet< Locale >:
Inheritance graph
[legend]

Public Member Functions

 format_facet (Locale &loc)
 
 format_facet (string_view sep="", std::initializer_list< unsigned char > g={3}, std::string decimal_point=".")
 
auto put (appender out, loc_value val, const format_specs<> &specs) const -> bool
 

Static Public Attributes

static FMT_API Locale::id id
 

Protected Member Functions

FMT_API FMT_FUNC auto do_put (appender out, loc_value val, const format_specs<> &specs) const -> bool
 
virtual auto do_put (appender out, loc_value val, const format_specs<> &specs) const -> bool
 

Private Attributes

std::string decimal_point_
 
std::string grouping_
 
std::string separator_
 

Detailed Description

template<typename Locale>
class format_facet< Locale >

Definition at line 1063 of file format.h.

Constructor & Destructor Documentation

◆ format_facet() [1/2]

template<typename Locale >
format_facet< Locale >::format_facet ( Locale &  loc)
explicit

Definition at line 133 of file format-inl.h.

◆ format_facet() [2/2]

template<typename Locale >
format_facet< Locale >::format_facet ( string_view  sep = "",
std::initializer_list< unsigned char >  g = {3},
std::string  decimal_point = "." 
)
inlineexplicit

Definition at line 1077 of file format.h.

Member Function Documentation

◆ do_put() [1/2]

FMT_API FMT_FUNC auto format_facet< std::locale >::do_put ( appender  out,
loc_value  val,
const format_specs<> &  specs 
) const -> bool
protected

Definition at line 140 of file format-inl.h.

◆ do_put() [2/2]

template<typename Locale >
virtual auto format_facet< Locale >::do_put ( appender  out,
loc_value  val,
const format_specs<> &  specs 
) const -> bool
protectedvirtual

◆ put()

template<typename Locale >
auto format_facet< Locale >::put ( appender  out,
loc_value  val,
const format_specs<> &  specs 
) const -> bool
inline

Definition at line 1084 of file format.h.

Member Data Documentation

◆ decimal_point_

template<typename Locale >
std::string format_facet< Locale >::decimal_point_
private

Definition at line 1067 of file format.h.

◆ grouping_

template<typename Locale >
std::string format_facet< Locale >::grouping_
private

Definition at line 1066 of file format.h.

◆ id

template<typename Locale >
Locale::id format_facet< Locale >::id
static

Definition at line 1074 of file format.h.

◆ separator_

template<typename Locale >
std::string format_facet< Locale >::separator_
private

Definition at line 1065 of file format.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:28