Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Class template all_date_names_put

Boost , The Boost C++ Libraries BoostBook Documentation Subset , Library Reference

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class template all_date_names_put

boost::date_time::all_date_names_put — A date name output facet that takes an array of char* to define strings.

Synopsis

// In header: <boost/date_time/date_names_put.hpp>
template<typename Config, typename charT = char, 
         typename OutputIterator = std::ostreambuf_iterator<charT> > 
class all_date_names_put :
  public boost::date_time::date_names_put< Config, charT, OutputIterator >
{
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;
  // construct/copy/destruct
  all_date_names_put(const charT *const, const charT *const, 
                     const charT *const, const charT *const, 
                     const charT *const, charT = '-', 
                     ymd_order_spec = ymd_order_iso, 
                     month_format_spec = month_as_short_string);
  // public member functions
  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;
  // protected member functions
  virtual void do_put_month_short(iter_type &, month_enum) const;
  virtual void do_put_month_long(iter_type &, month_enum) const;
  virtual void do_put_special_value(iter_type &, special_value_enum) const;
  virtual void do_put_weekday_short(iter_type &, weekday_enum) const;
  virtual void do_put_weekday_long(iter_type &, weekday_enum) const;
  virtual void do_month_sep_char(iter_type &) const;
  virtual void do_day_sep_char(iter_type &) const;
  virtual ymd_order_spec do_date_order() const;
  virtual month_format_spec do_month_format() const;
};

Description

all_date_names_put public construct/copy/destruct

  1. <
    all_date_names_put(constcharT*constmonth_short_names,
                      constcharT*constmonth_long_names,
                      constcharT*constspecial_value_names,
                      constcharT*constweekday_short_names,
                      constcharT*constweekday_long_names,
                      charTseparator_char='-',
                      ymd_order_specorder_spec=ymd_order_iso,
                      month_format_specmonth_format=month_as_short_string);
    >

all_date_names_put public member functions

  1. <
    constcharT*const*get_short_month_names()const;
    >
  2. <
    constcharT*const*get_long_month_names()const;
    >
  3. <
    constcharT*const*get_special_value_names()const;
    >
  4. <
    constcharT*const*get_short_weekday_names()const;
    >
  5. <
    constcharT*const*get_long_weekday_names()const;
    >

all_date_names_put protected member functions

  1. <
    virtualvoiddo_put_month_short(iter_type&oitr,month_enummoy)const;
    >Общий аспект, который принимает множество колесниц.
  2. <
    virtualvoiddo_put_month_long(iter_type&oitr,month_enummoy)const;
    >Долгий месяц.
  3. <
    virtualvoid
    do_put_special_value(iter_type&oitr,special_value_enumsv)const;
    >Особые значения.
  4. <
    virtualvoiddo_put_weekday_short(iter_type&oitr,weekday_enumwd)const;
    >
  5. <
    virtualvoiddo_put_weekday_long(iter_type&oitr,weekday_enumwd)const;
    >
  6. <
    virtualvoiddo_month_sep_char(iter_type&oitr)const;
    >Срок годности
  7. <
    virtualvoiddo_day_sep_char(iter_type&oitr)const;
    >Отделить день от месяца.
  8. <
    virtualymd_order_specdo_date_order()const;
    >Установить дату заказа.
  9. <
    virtualmonth_format_specdo_month_format()const;
    >Установить дату заказа.

PrevUpHomeNext

Статья Class template all_date_names_put раздела The Boost C++ Libraries BoostBook Documentation Subset Library Reference может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Library Reference ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 00:40:10/0.0038161277770996/0