Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::date_time::counted_time_rep< config > Struct Template Reference

Time representation that uses a single integer count. More...

#include <time_system_counted.hpp>

Public 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
 

Public Member Functions

 counted_time_rep (const date_type &d, const time_duration_type &time_of_day)
 
 counted_time_rep (int_type count)
 
 counted_time_rep (impl_type count)
 
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
 

Static Public Member Functions

static int_type frac_sec_per_day ()
 

Detailed Description

template<class config>
struct boost::date_time::counted_time_rep< config >

Time representation that uses a single integer count.

Member Typedef Documentation

template<class config >
typedef date_type::calendar_type boost::date_time::counted_time_rep< config >::calendar_type
template<class config >
typedef date_type::duration_type boost::date_time::counted_time_rep< config >::date_duration_type
template<class config >
typedef config::date_type boost::date_time::counted_time_rep< config >::date_type
template<class config >
typedef config::impl_type boost::date_time::counted_time_rep< config >::impl_type
template<class config >
typedef config::int_type boost::date_time::counted_time_rep< config >::int_type
template<class config >
typedef config::resolution_traits boost::date_time::counted_time_rep< config >::resolution_traits
template<class config >
typedef config::time_duration_type boost::date_time::counted_time_rep< config >::time_duration_type
template<class config >
typedef date_type::ymd_type boost::date_time::counted_time_rep< config >::ymd_type

Constructor & Destructor Documentation

template<class config >
boost::date_time::counted_time_rep< config >::counted_time_rep ( const date_type d,
const time_duration_type time_of_day 
)
inline
template<class config >
boost::date_time::counted_time_rep< config >::counted_time_rep ( int_type  count)
inlineexplicit
template<class config >
boost::date_time::counted_time_rep< config >::counted_time_rep ( impl_type  count)
inlineexplicit

Member Function Documentation

template<class config >
unsigned long boost::date_time::counted_time_rep< config >::day_count ( ) const
inline
template<class config >
impl_type boost::date_time::counted_time_rep< config >::get_rep ( ) const
inline
template<class config >
bool boost::date_time::counted_time_rep< config >::is_neg_infinity ( ) const
inline
template<class config >
bool boost::date_time::counted_time_rep< config >::is_not_a_date_time ( ) const
inline
template<class config >
bool boost::date_time::counted_time_rep< config >::is_pos_infinity ( ) const
inline
template<class config >
bool boost::date_time::counted_time_rep< config >::is_special ( ) const
inline
template<class config >
int_type boost::date_time::counted_time_rep< config >::time_count ( ) const
inline
template<class config >
int_type boost::date_time::counted_time_rep< config >::tod ( ) const
inline

The documentation for this struct was generated from the following file: