Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::chrono::duration_units_default< CharT > Class Template Reference

This class is used to define the strings for the default English. More...

#include <duration_units.hpp>

Inheritance diagram for boost::chrono::duration_units_default< CharT >:
Collaboration diagram for boost::chrono::duration_units_default< CharT >:

Public Types

typedef CharT char_type
 Type of character the facet is instantiated on. More...
 
typedef std::basic_string< CharT > string_type
 Type of character string passed to member functions. More...
 

Public Member Functions

 duration_units_default (size_t refs=0)
 Construct a duration_units_default facet. More...
 
 ~duration_units_default ()
 Destroys the facet. More...
 
bool match_n_d_valid_unit (const string_type *k) const
 
bool match_valid_unit (const string_type *k, rt_ratio &rt) const
 
virtual const string_typeget_n_d_valid_units_start () const
 
virtual const string_typeget_n_d_valid_units_end () const
 
virtual const string_typeget_valid_units_start () const
 
virtual const string_typeget_valid_units_end () const
 
string_type get_pattern () const
 calls the do_... More...
 
template<typename Rep , typename Period >
string_type get_unit (duration_style style, duration< Rep, Period > const &d) const
 calls the do_... More...
 
template<typename Rep , typename Period >
string_type get_n_d_unit (duration_style style, duration< Rep, Period > const &d) const
 calls the do_... More...
 
template<typename Period >
bool is_named_unit () const
 calls the do_... More...
 

Static Public Member Functions

template<typename Period >
static string_typestatic_fill_units (string_type *it, Period)
 
static string_typestatic_init_valid_units (string_type *it)
 

Static Public Attributes

static std::locale::id id
 Unique identifier for this type of facet. More...
 

Protected Member Functions

bool do_is_named_unit (rt_ratio rt) const
 This facet names the units associated to the following periods: atto,femto,pico,nano,micro,milli,centi,deci,ratio<1>,deca,hecto,kilo,mega,giga,tera,peta,exa,ratio<60> and ratio<3600>. More...
 
string_type do_get_n_d_unit (duration_style style, rt_ratio, intmax_t v) const
 In English the suffix used after [N/D] is the one associated to the period ratio<1>. More...
 
string_type do_get_unit (duration_style style, rt_ratio rt, intmax_t v) const
 
virtual std::size_t do_get_plural_forms () const
 
virtual std::size_t do_get_plural_form (int_least64_t value) const
 Gets the associated plural form. More...
 
virtual string_type do_get_unit (duration_style style, ratio< 1 > u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, ratio< 60 > u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, ratio< 3600 > u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, atto u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, femto u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, pico u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, nano u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, micro u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, milli u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, centi u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, deci u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, deca u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, hecto u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, kilo u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, mega u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, giga u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, tera u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, peta u, std::size_t pf) const
 
virtual string_type do_get_unit (duration_style style, exa u, std::size_t pf) const
 
virtual string_type do_get_ratio_prefix (duration_style style, atto u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, femto u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, pico u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, nano u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, micro u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, milli u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, centi u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, deci u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, deca u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, hecto u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, kilo u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, mega u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, giga u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, tera u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, peta u) const
 
virtual string_type do_get_ratio_prefix (duration_style style, exa u) const
 
template<typename Period >
string_typefill_units (string_type *it, Period) const
 

Static Protected Member Functions

static std::size_t static_get_plural_forms ()
 
static std::size_t static_get_plural_form (int_least64_t value)
 
static string_type static_get_unit (duration_style style, ratio< 1 >, std::size_t pf)
 
static string_type static_get_unit (duration_style style, ratio< 60 >, std::size_t pf)
 
static string_type static_get_unit (duration_style style, ratio< 3600 >, std::size_t pf)
 
static string_type static_get_unit (duration_style style, atto u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, femto u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, pico u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, nano u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, micro u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, milli u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, centi u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, deci u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, deca u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, hecto u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, kilo u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, mega u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, giga u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, tera u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, peta u, std::size_t pf)
 
static string_type static_get_unit (duration_style style, exa u, std::size_t pf)
 
static string_type static_get_ratio_prefix (duration_style style, atto)
 
static string_type static_get_ratio_prefix (duration_style style, femto)
 
static string_type static_get_ratio_prefix (duration_style style, pico)
 
static string_type static_get_ratio_prefix (duration_style style, nano)
 
static string_type static_get_ratio_prefix (duration_style style, micro)
 
static string_type static_get_ratio_prefix (duration_style style, milli)
 
static string_type static_get_ratio_prefix (duration_style style, centi)
 
static string_type static_get_ratio_prefix (duration_style style, deci)
 
static string_type static_get_ratio_prefix (duration_style style, deca)
 
static string_type static_get_ratio_prefix (duration_style style, hecto)
 
static string_type static_get_ratio_prefix (duration_style style, kilo)
 
static string_type static_get_ratio_prefix (duration_style style, mega)
 
static string_type static_get_ratio_prefix (duration_style style, giga)
 
static string_type static_get_ratio_prefix (duration_style style, tera)
 
static string_type static_get_ratio_prefix (duration_style style, peta)
 
static string_type static_get_ratio_prefix (duration_style style, exa)
 

Static Protected Attributes

static const std::size_t pfs_ = 2
 

Detailed Description

template<typename CharT = char>
class boost::chrono::duration_units_default< CharT >

This class is used to define the strings for the default English.

Member Typedef Documentation

template<typename CharT = char>
typedef CharT boost::chrono::duration_units_default< CharT >::char_type

Type of character the facet is instantiated on.

template<typename CharT = char>
typedef std::basic_string<CharT> boost::chrono::duration_units_default< CharT >::string_type

Type of character string passed to member functions.

Constructor & Destructor Documentation

template<typename CharT = char>
boost::chrono::duration_units_default< CharT >::duration_units_default ( size_t  refs = 0)
inlineexplicit

Construct a duration_units_default facet.

Parameters
refsConstruct a duration_units_default facet. If the refs argument is 0 then destruction of the object is delegated to the locale, or locales, containing it. This allows the user to ignore lifetime management issues. On the other had, if refs is 1 then the object must be explicitly deleted; the locale will not do so. In this case, the object can be maintained across the lifetime of multiple locales.
template<typename CharT = char>
boost::chrono::duration_units_default< CharT >::~duration_units_default ( )
inline

Destroys the facet.

Member Function Documentation

template<typename CharT = char>
string_type boost::chrono::duration_units_default< CharT >::do_get_n_d_unit ( duration_style  style,
rt_ratio  ,
intmax_t  v 
) const
inlineprotectedvirtual

In English the suffix used after [N/D] is the one associated to the period ratio<1>.

Returns
the [N/D] suffix unit associated to this duration.

Implements boost::chrono::duration_units< CharT >.

References boost::chrono::duration_units_default< CharT >::do_get_plural_form(), and boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual std::size_t boost::chrono::duration_units_default< CharT >::do_get_plural_form ( int_least64_t  value) const
inlineprotectedvirtual

Gets the associated plural form.

Parameters
valuethe duration representation
Returns
the plural form associated to the value parameter. In English there are 2 plural forms 0 singular (-1 or 1) 1 plural for all others

References boost::chrono::duration_units_default< CharT >::static_get_plural_form().

Referenced by boost::chrono::duration_units_default< CharT >::do_get_n_d_unit(), and boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual std::size_t boost::chrono::duration_units_default< CharT >::do_get_plural_forms ( ) const
inlineprotectedvirtual
Returns
the number of associated plural forms this facet manages.

References boost::chrono::duration_units_default< CharT >::static_get_plural_forms().

Referenced by boost::chrono::duration_units_default< CharT >::fill_units().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
atto  u 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
uthe period tag atto.
Returns
depending on the value of style return the ratio_string symbol or prefix.

References boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix().

Referenced by boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
femto  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
pico  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
nano  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
micro  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
milli  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
centi  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
deci  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
deca  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
hecto  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
kilo  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
mega  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
giga  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
tera  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
peta  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix ( duration_style  style,
exa  u 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
ratio< 1 >  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
periodthe period associated to the duration seconds.
pfthe requested plural form.
Returns
if style is symbol returns "s", otherwise if pf is 0 return "second", if pf is 1 "seconds"

References boost::chrono::duration_units_default< CharT >::static_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
ratio< 60 >  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
periodthe period associated to the duration minutes.
pfthe requested plural form.
Returns
if style is symbol returns "min", otherwise if pf is 0 return "minute", if pf is 1 "minutes"

References boost::chrono::duration_units_default< CharT >::static_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
ratio< 3600 >  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
periodthe period associated to the duration hours.
pfthe requested plural form.
Returns
if style is symbol returns "h", otherwise if pf is 0 return "hour", if pf is 1 "hours"

References boost::chrono::duration_units_default< CharT >::static_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
atto  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
uthe period tag atto.
pfthe requested plural form.
Returns
the concatenation of the prefix associated to period + the one associated to seconds.

References boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix(), and boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
femto  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
uthe period tag femto.
pfthe requested plural form.
Returns
the concatenation of the prefix associated to period u + the one associated to seconds.

References boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix(), and boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
pico  u,
std::size_t  pf 
) const
inlineprotectedvirtual
Parameters
stylethe duration style.
uthe period tag femto.
pfthe requested plural form.
Returns
the concatenation of the prefix associated to period u + the one associated to seconds.

References boost::chrono::duration_units_default< CharT >::do_get_ratio_prefix(), and boost::chrono::duration_units_default< CharT >::do_get_unit().

template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
nano  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
micro  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
milli  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
centi  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
deci  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
deca  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
hecto  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
kilo  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
mega  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
giga  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
tera  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
peta  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
virtual string_type boost::chrono::duration_units_default< CharT >::do_get_unit ( duration_style  style,
exa  u,
std::size_t  pf 
) const
inlineprotectedvirtual
template<typename CharT = char>
bool boost::chrono::duration_units_default< CharT >::do_is_named_unit ( rt_ratio  rt) const
inlineprotectedvirtual

This facet names the units associated to the following periods: atto,femto,pico,nano,micro,milli,centi,deci,ratio<1>,deca,hecto,kilo,mega,giga,tera,peta,exa,ratio<60> and ratio<3600>.

Returns
true if the unit associated to the given Period is named, false otherwise.

Implements boost::chrono::duration_units< CharT >.

References BOOST_RATIO_INTMAX_C, boost::chrono::rt_ratio::den, and boost::chrono::rt_ratio::num.

template<typename CharT = char>
template<typename Rep , typename Period >
string_type boost::chrono::duration_units< CharT >::get_n_d_unit ( duration_style  style,
duration< Rep, Period > const &  d 
) const
inlineinherited
template<typename CharT = char>
virtual const string_type* boost::chrono::duration_units_default< CharT >::get_n_d_valid_units_end ( ) const
inlinevirtual
Returns
pointer to the end of valid [N/D] units.

Implements boost::chrono::duration_units< CharT >.

template<typename CharT = char>
virtual const string_type* boost::chrono::duration_units_default< CharT >::get_n_d_valid_units_start ( ) const
inlinevirtual
Returns
pointer to the start of valid [N/D] units.

Implements boost::chrono::duration_units< CharT >.

Referenced by boost::chrono::duration_units_default< CharT >::match_n_d_valid_unit().

template<typename CharT = char>
string_type boost::chrono::duration_units_default< CharT >::get_pattern ( ) const
inlinevirtual

calls the do_...

Returns
the pattern to be used by default.

Implements boost::chrono::duration_units< CharT >.

References boost::flyweights::t.

Referenced by boost::chrono::duration_put< CharT, OutputIterator >::put().

template<typename CharT = char>
template<typename Rep , typename Period >
string_type boost::chrono::duration_units< CharT >::get_unit ( duration_style  style,
duration< Rep, Period > const &  d 
) const
inlineinherited
template<typename CharT = char>
virtual const string_type* boost::chrono::duration_units_default< CharT >::get_valid_units_end ( ) const
inlinevirtual
Returns
pointer to the end of valid units.

Implements boost::chrono::duration_units< CharT >.

template<typename CharT = char>
virtual const string_type* boost::chrono::duration_units_default< CharT >::get_valid_units_start ( ) const
inlinevirtual
Returns
pointer to the start of valid units.

Implements boost::chrono::duration_units< CharT >.

Referenced by boost::chrono::duration_units_default< CharT >::match_valid_unit().

template<typename CharT = char>
template<typename Period >
bool boost::chrono::duration_units< CharT >::is_named_unit ( ) const
inlineinherited

calls the do_...

Returns
true if the unit associated to the given Period is named, false otherwise.

References boost::chrono::duration_units< CharT >::do_is_named_unit().

template<typename CharT = char>
bool boost::chrono::duration_units_default< CharT >::match_n_d_valid_unit ( const string_type k) const
inlinevirtual
Parameters
kthe found pointer to the [N/D] unit.
Returns
true if k matches a valid unit.

Implements boost::chrono::duration_units< CharT >.

References boost::chrono::duration_units_default< CharT >::get_n_d_valid_units_start().

template<typename CharT = char>
bool boost::chrono::duration_units_default< CharT >::match_valid_unit ( const string_type k,
rt_ratio rt 
) const
inlinevirtual
Parameters
kthe found pointer to the unit. rt is set to the valid Period when the k matches a valid unit.
Returns
true if k matches a valid unit.

Implements boost::chrono::duration_units< CharT >.

References boost::chrono::duration_units_default< CharT >::get_valid_units_start().

template<typename CharT = char>
static std::size_t boost::chrono::duration_units_default< CharT >::static_get_plural_form ( int_least64_t  value)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
femto   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
pico   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
nano   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
micro   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
milli   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
centi   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
deci   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
deca   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
hecto   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
kilo   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
mega   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
giga   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
tera   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
peta   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_ratio_prefix ( duration_style  style,
exa   
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
ratio< 60 >  ,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
ratio< 3600 >  ,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
atto  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
femto  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
pico  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
nano  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
micro  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
milli  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
centi  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
deci  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
deca  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
hecto  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
kilo  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
mega  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
giga  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
tera  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
peta  u,
std::size_t  pf 
)
inlinestaticprotected
template<typename CharT = char>
static string_type boost::chrono::duration_units_default< CharT >::static_get_unit ( duration_style  style,
exa  u,
std::size_t  pf 
)
inlinestaticprotected

Member Data Documentation

template<typename CharT = char>
std::locale::id boost::chrono::duration_units< CharT >::id
staticinherited

Unique identifier for this type of facet.

template<typename CharT = char>
const std::size_t boost::chrono::duration_units_default< CharT >::pfs_ = 2
staticprotected

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