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

Class time_duration

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 time_duration

boost::posix_time::time_duration — Base time duration type.

Synopsis

// In header: <boost/date_time/posix_time/posix_time_config.hpp>

class time_duration :
  public date_time::time_duration< time_duration, time_res_traits >
{
public:
  // types
  typedef time_res_traits                          rep_type;               
  typedef time_res_traits::day_type                day_type;               
  typedef time_res_traits::hour_type               hour_type;              
  typedef time_res_traits::min_type                min_type;               
  typedef time_res_traits::sec_type                sec_type;               
  typedef time_res_traits::fractional_seconds_type fractional_seconds_type;
  typedef time_res_traits::tick_type               tick_type;              
  typedef time_res_traits::impl_type               impl_type;              
  // construct/copy/destruct
  time_duration(hour_type, min_type, sec_type, fractional_seconds_type = 0);
  time_duration();
  time_duration(boost::date_time::special_values);
  explicit time_duration(impl_type);
};

Description

time_duration public construct/copy/destruct

  1. <
    time_duration(hour_typehour,min_typemin,sec_typesec,
                 fractional_seconds_typefs=0);
    >
  2. <
    time_duration();
    >
  3. <
    time_duration(boost::date_time::special_valuessv);
    >Построение из специальных значений.
  4. <
    explicittime_duration(impl_typetick_count);
    >

PrevUpHomeNext

Статья Class time_duration раздела 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-19 20:42:59/0.0062029361724854/0