A date name output facet that takes an array of char* to define strings. More...
#include <date_names_put.hpp>
Public Types | |
typedef OutputIterator | iter_type |
typedef Config::month_enum | month_enum |
typedef Config::weekday_enum | weekday_enum |
typedef Config::special_value_enum | special_value_enum |
typedef Config::month_type | month_type |
typedef std::basic_string< charT > | string_type |
typedef charT | char_type |
Public Member Functions | |
all_date_names_put (const charT *const month_short_names[], const charT *const month_long_names[], const charT *const special_value_names[], const charT *const weekday_short_names[], const charT *const weekday_long_names[], charT separator_char= '-', ymd_order_spec order_spec=ymd_order_iso, month_format_spec month_format=month_as_short_string) | |
const charT *const * | get_short_month_names () const |
const charT *const * | get_long_month_names () const |
const charT *const * | get_special_value_names () const |
const charT *const * | get_short_weekday_names () const |
const charT *const * | get_long_weekday_names () const |
void | put_special_value (iter_type &oitr, special_value_enum sv) const |
void | put_month_short (iter_type &oitr, month_enum moy) const |
void | put_month_long (iter_type &oitr, month_enum moy) const |
void | put_weekday_short (iter_type &oitr, weekday_enum wd) const |
void | put_weekday_long (iter_type &oitr, weekday_enum wd) const |
bool | has_date_sep_chars () const |
void | year_sep_char (iter_type &oitr) const |
void | month_sep_char (iter_type &oitr) const |
char between year-month More... | |
void | day_sep_char (iter_type &oitr) const |
Char to separate month-day. More... | |
ymd_order_spec | date_order () const |
Determines the order to put the date elements. More... | |
month_format_spec | month_format () const |
Determines if month is displayed as integer, short or long string. More... | |
Static Public Attributes | |
static const char_type | default_special_value_names [3][17] |
static const char_type | separator [2] |
static std::locale::id | id |
Generate storage location for a std::locale::id. More... | |
Protected Member Functions | |
virtual void | do_put_month_short (iter_type &oitr, month_enum moy) const |
Generic facet that takes array of chars. More... | |
virtual void | do_put_month_long (iter_type &oitr, month_enum moy) const |
Long month names. More... | |
virtual void | do_put_special_value (iter_type &oitr, special_value_enum sv) const |
Special values names. More... | |
virtual void | do_put_weekday_short (iter_type &oitr, weekday_enum wd) const |
virtual void | do_put_weekday_long (iter_type &oitr, weekday_enum wd) const |
virtual void | do_month_sep_char (iter_type &oitr) const |
char between year-month More... | |
virtual void | do_day_sep_char (iter_type &oitr) const |
Char to separate month-day. More... | |
virtual ymd_order_spec | do_date_order () const |
Set the date ordering. More... | |
virtual month_format_spec | do_month_format () const |
Set the date ordering. More... | |
virtual bool | do_has_date_sep_chars () const |
virtual void | do_year_sep_char (iter_type &oitr) const |
void | put_string (iter_type &oi, const charT *const s) const |
void | put_string (iter_type &oi, const string_type &s1) const |
A date name output facet that takes an array of char* to define strings.
|
inherited |
typedef OutputIterator boost::date_time::all_date_names_put< Config, charT, OutputIterator >::iter_type |
typedef Config::month_enum boost::date_time::all_date_names_put< Config, charT, OutputIterator >::month_enum |
|
inherited |
typedef Config::special_value_enum boost::date_time::all_date_names_put< Config, charT, OutputIterator >::special_value_enum |
|
inherited |
typedef Config::weekday_enum boost::date_time::all_date_names_put< Config, charT, OutputIterator >::weekday_enum |
|
inline |
|
inlineinherited |
Determines the order to put the date elements.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::do_date_order().
|
inlineinherited |
Char to separate month-day.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::do_day_sep_char().
|
inlineprotectedvirtual |
Set the date ordering.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
|
inlineprotectedvirtual |
Char to separate month-day.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::put_string().
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtual |
Set the date ordering.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
|
inlineprotectedvirtual |
char between year-month
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::put_string().
|
inlineprotectedvirtual |
Long month names.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::put_string().
|
inlineprotectedvirtual |
Generic facet that takes array of chars.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::put_string().
|
inlineprotectedvirtual |
Special values names.
Reimplemented from boost::date_time::date_names_put< Config, charT, OutputIterator >.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::put_string().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtualinherited |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Determines if month is displayed as integer, short or long string.
References boost::date_time::date_names_put< Config, charT, OutputIterator >::do_month_format().
|
inlineinherited |
char between year-month
References boost::date_time::date_names_put< Config, charT, OutputIterator >::do_month_sep_char().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
References boost::end, and boost::xpressive::s1.
Referenced by boost::date_time::date_names_put< Config, charT, OutputIterator >::do_day_sep_char(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_day_sep_char(), boost::date_time::date_names_put< Config, charT, OutputIterator >::do_month_sep_char(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_month_sep_char(), boost::date_time::date_names_put< Config, charT, OutputIterator >::do_put_month_long(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_put_month_long(), boost::date_time::date_names_put< Config, charT, OutputIterator >::do_put_month_short(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_put_month_short(), boost::date_time::date_names_put< Config, charT, OutputIterator >::do_put_special_value(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_put_special_value(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_put_weekday_long(), boost::date_time::all_date_names_put< Config, charT, OutputIterator >::do_put_weekday_short(), and boost::date_time::date_names_put< Config, charT, OutputIterator >::do_year_sep_char().
|
inlineprotectedinherited |
References boost::end.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticinherited |
|
staticinherited |
Generate storage location for a std::locale::id.
|
staticinherited |