#include <chrono_io.hpp>
Public Types | |
enum | { use_long, use_short } |
typedef std::basic_string< CharT > | string_type |
Public Member Functions | |
duration_punct (int use=use_long) | |
duration_punct (int use, const string_type &long_seconds, const string_type &long_minutes, const string_type &long_hours, const string_type &short_seconds, const string_type &short_minutes, const string_type &short_hours) | |
duration_punct (int use, const duration_punct &d) | |
template<class Period > | |
string_type | short_name () const |
template<class Period > | |
string_type | long_name () const |
template<class Period > | |
string_type | plural () const |
template<class Period > | |
string_type | singular () const |
template<class Period > | |
string_type | name () const |
template<class Period , class D > | |
string_type | name (D v) const |
bool | is_short_name () const |
bool | is_long_name () const |
Static Public Attributes | |
static std::locale::id | id |
typedef std::basic_string<CharT> boost::chrono::duration_punct< CharT >::string_type |
|
inlineexplicit |
boost::chrono::duration_punct< CharT >::duration_punct | ( | int | use, |
const string_type & | long_seconds, | ||
const string_type & | long_minutes, | ||
const string_type & | long_hours, | ||
const string_type & | short_seconds, | ||
const string_type & | short_minutes, | ||
const string_type & | short_hours | ||
) |
boost::chrono::duration_punct< CharT >::duration_punct | ( | int | use, |
const duration_punct< CharT > & | d | ||
) |
|
inline |
|
inline |
|
inline |
References boost::detail::type.
Referenced by boost::chrono::duration_punct< CharT >::plural(), and boost::chrono::duration_punct< CharT >::singular().
|
inline |
|
inline |
|
inline |
References boost::chrono::duration_punct< CharT >::long_name(), and boost::detail::type.
|
inline |
References boost::detail::type.
|
inline |
|
static |