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::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type > Class Template Reference

#include <time_resolution_traits.hpp>

Public Types

typedef frac_sec_type::int_type fractional_seconds_type
 
typedef frac_sec_type::int_type tick_type
 
typedef frac_sec_type::impl_type impl_type
 
typedef v_type day_type
 
typedef v_type hour_type
 
typedef v_type min_type
 
typedef v_type sec_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (fractional_seconds_type, ticks_per_second=resolution_adjust)
 

Static Public Member Functions

static fractional_seconds_type as_number (impl_type i)
 
static bool is_adapted ()
 
static time_resolutions resolution ()
 
static unsigned short num_fractional_digits ()
 
static fractional_seconds_type res_adjust ()
 
static tick_type to_tick_count (hour_type hours, min_type minutes, sec_type seconds, fractional_seconds_type fs)
 Any negative argument results in a negative tick_count. More...
 

Member Typedef Documentation

template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef v_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::day_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef frac_sec_type::int_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::fractional_seconds_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef v_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::hour_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef frac_sec_type::impl_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::impl_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef v_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::min_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef v_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::sec_type
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
typedef frac_sec_type::int_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::tick_type

Member Function Documentation

template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static fractional_seconds_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::as_number ( impl_type  i)
inlinestatic
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::BOOST_STATIC_CONSTANT ( fractional_seconds_type  ,
ticks_per_second  = resolution_adjust 
)
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static bool boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::is_adapted ( )
inlinestatic
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static unsigned short boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::num_fractional_digits ( )
inlinestatic
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static fractional_seconds_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::res_adjust ( )
inlinestatic
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static time_resolutions boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::resolution ( )
inlinestatic
template<typename frac_sec_type , time_resolutions res, typename frac_sec_type::int_type resolution_adjust, unsigned short frac_digits, typename v_type = boost::int32_t>
static tick_type boost::date_time::time_resolution_traits< frac_sec_type, res, resolution_adjust, frac_digits, v_type >::to_tick_count ( hour_type  hours,
min_type  minutes,
sec_type  seconds,
fractional_seconds_type  fs 
)
inlinestatic

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