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

Struct template counted_time_rep

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

Struct template counted_time_rep

boost::date_time::counted_time_rep — Time representation that uses a single integer count.

Synopsis

// In header: <boost/date_time/time_system_counted.hpp>
template<typename config> 
struct counted_time_rep {
  // types
  typedef config::int_type           int_type;          
  typedef config::date_type          date_type;         
  typedef config::impl_type          impl_type;         
  typedef date_type::duration_type   date_duration_type;
  typedef date_type::calendar_type   calendar_type;     
  typedef date_type::ymd_type        ymd_type;          
  typedef config::time_duration_type time_duration_type;
  typedef config::resolution_traits  resolution_traits; 
  // construct/copy/destruct
  counted_time_rep(const date_type &, const time_duration_type &);
  explicit counted_time_rep(int_type);
  explicit counted_time_rep(impl_type);
  // public member functions
  date_type date() const;
  unsigned long day_count() const;
  int_type time_count() const;
  int_type tod() const;
  bool is_pos_infinity() const;
  bool is_neg_infinity() const;
  bool is_not_a_date_time() const;
  bool is_special() const;
  impl_type get_rep() const;
  // public static functions
  static int_type frac_sec_per_day();
};

Description

counted_time_rep public construct/copy/destruct

  1. <
    counted_time_rep(constdate_type&d,consttime_duration_type&time_of_day);
    >
  2. <
    explicitcounted_time_rep(int_typecount);
    >
  3. <
    explicitcounted_time_rep(impl_typecount);
    >

counted_time_rep public member functions

  1. <
    date_typedate()const;
    >
  2. <
    unsignedlongday_count()const;
    >
  3. <
    int_typetime_count()const;
    >
  4. <
    int_typetod()const;
    >
  5. <
    boolis_pos_infinity()const;
    >
  6. <
    boolis_neg_infinity()const;
    >
  7. <
    boolis_not_a_date_time()const;
    >
  8. <
    boolis_special()const;
    >
  9. <
    impl_typeget_rep()const;
    >

counted_time_rep public static functions

  1. <
    staticint_typefrac_sec_per_day();
    >

PrevUpHomeNext

Статья Struct template counted_time_rep раздела 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 04:02:29/0.0035758018493652/0