Namespaces | |
chrono_detail | |
detail | |
Classes | |
struct | clock_string |
struct | clock_string< system_clock, CharT > |
class | duration |
class | duration_fmt |
duration parameterized manipulator. More... | |
class | duration_get |
duration_get is used to parse a character sequence, extracting components of a duration into a class duration. More... | |
class | duration_punct |
class | duration_put |
struct | duration_style_io_saver |
duration_style i/o saver. More... | |
class | duration_units |
duration_units facet gives useful information about the duration units, as the number of plural forms, the plural form associated to a duration, the text associated to a plural form and a duration's period, More... | |
class | duration_units_default |
This class is used to define the strings for the default English. More... | |
struct | duration_values |
class | fmt_masks |
class | ios_flags |
This class is useful to associate some flags to an std::ios_base. More... | |
class | ios_state_not_null_ptr |
ios_state_not_null_ptr is a non null variant of ios_state_ptr . More... | |
class | ios_state_ptr |
ios_state_ptr is a smart pointer to a ios_base specific state. More... | |
class | rt_ratio |
class | system_clock |
struct | time_fmt_io_saver |
time_fmt_io_saver i/o saver. More... | |
class | time_point |
class | time_point_get |
class | time_point_put |
class | time_point_units |
time_point_units facet gives useful information about the time_point pattern, the text associated to a time_point's epoch, More... | |
class | time_point_units_default |
struct | timezone_io_saver |
timezone_io_saver i/o saver. More... | |
struct | treat_as_floating_point |
struct | xalloc_key_initializer |
xalloc key initialiazer. More... | |
Typedefs | |
typedef duration < boost::int_least64_t, nano > | nanoseconds |
typedef duration < boost::int_least64_t, micro > | microseconds |
typedef duration < boost::int_least64_t, milli > | milliseconds |
typedef duration < boost::int_least64_t > | seconds |
typedef duration < boost::int_least32_t, ratio< 60 > > | minutes |
typedef duration < boost::int_least32_t, ratio< 3600 > > | hours |
typedef double | fractional_seconds |
typedef system_clock | high_resolution_clock |
Functions | |
template<class To , class Rep , class Period > | |
To | ceil (const duration< Rep, Period > &d) |
rounds up More... | |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR common_type < duration< Rep1, Period1 > , duration< Rep2, Period2 > >::type | operator+ (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR common_type < duration< Rep1, Period1 > , duration< Rep2, Period2 > >::type | operator- (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period , class Rep2 > | |
BOOST_CONSTEXPR boost::enable_if< mpl::and_ < boost::is_convertible< Rep1, typename common_type< Rep1, Rep2 >::type > , boost::is_convertible< Rep2, typename common_type< Rep1, Rep2 >::type > >, duration < typename common_type< Rep1, Rep2 >::type, Period > >::type | operator* (const duration< Rep1, Period > &d, const Rep2 &s) |
template<class Rep1 , class Period , class Rep2 > | |
BOOST_CONSTEXPR boost::enable_if< mpl::and_ < boost::is_convertible< Rep1, typename common_type< Rep1, Rep2 >::type > , boost::is_convertible< Rep2, typename common_type< Rep1, Rep2 >::type > >, duration < typename common_type< Rep1, Rep2 >::type, Period > >::type | operator* (const Rep1 &s, const duration< Rep2, Period > &d) |
template<class Rep1 , class Period , class Rep2 > | |
BOOST_CONSTEXPR boost::disable_if < boost::chrono::detail::is_duration < Rep2 >, typename boost::chrono::detail::duration_divide_result < duration< Rep1, Period > , Rep2 >::type >::type | operator/ (const duration< Rep1, Period > &d, const Rep2 &s) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR common_type < Rep1, Rep2 >::type | operator/ (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period , class Rep2 > | |
BOOST_CONSTEXPR boost::disable_if < boost::chrono::detail::is_duration < Rep2 >, typename boost::chrono::detail::duration_modulo_result < duration< Rep1, Period > , Rep2 >::type >::type | operator% (const duration< Rep1, Period > &d, const Rep2 &s) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR common_type < duration< Rep1, Period1 > , duration< Rep2, Period2 > >::type | operator% (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator== (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator!= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator< (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator> (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator<= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR bool | operator>= (const duration< Rep1, Period1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class ToDuration , class Rep , class Period > | |
BOOST_CONSTEXPR boost::enable_if < boost::chrono::detail::is_duration < ToDuration >, ToDuration > ::type | duration_cast (const duration< Rep, Period > &fd) |
template<class To , class Rep , class Period > | |
To | floor (const duration< Rep, Period > &d) |
rounds down More... | |
template<class CharT , class Traits , class Rep , class Period > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const duration< Rep, Period > &d) |
duration stream inserter More... | |
template<class CharT , class Traits , class Rep , class Period > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, duration< Rep, Period > &d) |
BOOST_SCOPED_ENUM_DECLARE_BEGIN (duration_style) | |
Scoped enumeration emulation stating whether the duration I/O style is long or short. More... | |
duration_style | get_duration_style (std::ios_base &ios) |
void | set_duration_style (std::ios_base &ios, duration_style style) |
std::ios_base & | symbol_format (std::ios_base &ios) |
std::ios_base & | name_format (std::ios_base &ios) |
timezone | get_timezone (std::ios_base &ios) |
void | set_timezone (std::ios_base &ios, timezone tz) |
std::ios_base & | local_timezone (std::ios_base &ios) |
std::ios_base & | utc_timezone (std::ios_base &ios) |
template<typename CharT > | |
std::basic_string< CharT > | get_time_fmt (std::ios_base &ios) |
template<typename CharT > | |
void | set_time_fmt (std::ios_base &ios, std::basic_string< CharT > const &fmt) |
template<class CharT > | |
detail::time_manip< CharT > | time_fmt (timezone tz, const CharT *fmt) |
template<class CharT > | |
detail::time_manip< CharT > | time_fmt (timezone tz, std::basic_string< CharT > fmt) |
detail::time_man | time_fmt (timezone f) |
template<class CharT , class Traits , class Clock , class Duration > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const time_point< Clock, Duration > &tp) |
template<class CharT , class Traits , class Clock , class Duration > | |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, time_point< Clock, Duration > &tp) |
BOOST_SCOPED_ENUM_DECLARE_BEGIN (timezone) | |
Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local. More... | |
template<typename CharT , typename T > | |
std::basic_string< CharT > | to_basic_string (T const &v) |
template<typename T > | |
std::string | to_string (T const &v) |
template<typename T > | |
std::wstring | to_wstring (T const &v) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | duration_short (std::basic_ostream< CharT, Traits > &os) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | duration_long (std::basic_ostream< CharT, Traits > &os) |
template<class To , class Rep , class Period > | |
To | round (const duration< Rep, Period > &d) |
rounds to nearest, to even on tie More... | |
template<class Clock , class Duration1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR time_point < Clock, typename common_type < Duration1, duration< Rep2, Period2 > >::type > | operator+ (const time_point< Clock, Duration1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Rep1 , class Period1 , class Clock , class Duration2 > | |
BOOST_CONSTEXPR time_point < Clock, typename common_type < duration< Rep1, Period1 > , Duration2 >::type > | operator+ (const duration< Rep1, Period1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Rep2 , class Period2 > | |
BOOST_CONSTEXPR time_point < Clock, typename common_type < Duration1, duration< Rep2, Period2 > >::type > | operator- (const time_point< Clock, Duration1 > &lhs, const duration< Rep2, Period2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR common_type < Duration1, Duration2 >::type | operator- (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator== (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator!= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator< (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator<= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator> (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class Clock , class Duration1 , class Duration2 > | |
BOOST_CONSTEXPR bool | operator>= (const time_point< Clock, Duration1 > &lhs, const time_point< Clock, Duration2 > &rhs) |
template<class ToDuration , class Clock , class Duration > | |
BOOST_CONSTEXPR time_point < Clock, ToDuration > | time_point_cast (const time_point< Clock, Duration > &t) |
Variables | |
class BOOST_CHRONO_DECL | system_clock |
typedef double boost::chrono::fractional_seconds |
typedef duration<boost::int_least32_t, ratio<3600> > boost::chrono::hours |
typedef duration<boost::int_least64_t, micro> boost::chrono::microseconds |
typedef duration<boost::int_least64_t, milli> boost::chrono::milliseconds |
typedef duration<boost::int_least32_t, ratio< 60> > boost::chrono::minutes |
typedef duration<boost::int_least64_t, nano> boost::chrono::nanoseconds |
typedef duration<boost::int_least64_t> boost::chrono::seconds |
boost::chrono::BOOST_SCOPED_ENUM_DECLARE_BEGIN | ( | timezone | ) |
Scoped enumeration emulation stating whether the time_point for system_clock I/O is UTC or local.
References boost::local().
boost::chrono::BOOST_SCOPED_ENUM_DECLARE_BEGIN | ( | duration_style | ) |
Scoped enumeration emulation stating whether the duration I/O style is long or short.
prefix means duration::rep with whatever stream/locale settings are set for it followed by a long name representing the unit symbol means duration::rep with whatever stream/locale settings are set for it followed by a SI unit abbreviation
References boost::spirit::x3::unicode::symbol.
To boost::chrono::ceil | ( | const duration< Rep, Period > & | d | ) |
rounds up
References duration_cast(), and boost::flyweights::t.
Referenced by boost::math::binomial_coefficient(), boost::units::BOOST_PREVENT_MACRO_SUBSTITUTION(), boost::math::double_factorial(), boost::multiprecision::concepts::eval_ceil(), fmod(), boost::gil::iceil(), boost::numeric::interval_lib::rounded_arith_exact< T >::int_up(), boost::numeric::Trunc< S >::nearbyint(), boost::numeric::Ceil< S >::nearbyint(), boost::numeric::RoundEven< S >::nearbyint(), boost::math::tools::equal_ceil::operator()(), boost::multi_index::detail::hashed_index< KeyFromValue, Hash, Pred, SuperMeta, TagList, Category >::reserve(), boost::accumulators::impl::tail_quantile_impl< Sample, LeftRight >::result(), boost::accumulators::impl::coherent_tail_mean_impl< Sample, LeftRight >::result(), boost::accumulators::impl::tail_variate_means_impl< Sample, Impl, LeftRight, VariateTag >::result(), boost::accumulators::impl::non_coherent_tail_mean_impl< Sample, LeftRight >::result(), boost::accumulators::impl::peaks_over_threshold_prob_impl< Sample, LeftRight >::result(), boost::math::detail::round(), boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::str(), and boost::math::detail::trunc().
|
inline |
Referenced by ceil(), floor(), round(), and time_point_cast().
std::basic_ostream<CharT, Traits>& boost::chrono::duration_long | ( | std::basic_ostream< CharT, Traits > & | os | ) |
std::basic_ostream<CharT, Traits>& boost::chrono::duration_short | ( | std::basic_ostream< CharT, Traits > & | os | ) |
To boost::chrono::floor | ( | const duration< Rep, Period > & | d | ) |
rounds down
References duration_cast(), and boost::flyweights::t.
Referenced by boost::coroutines::basic_protected_stack_allocator< traitsT >::allocate(), boost::units::BOOST_PREVENT_MACRO_SUBSTITUTION(), boost::math::detail::cos_pi_imp(), boost::math::detail::cyl_bessel_i_imp(), boost::math::detail::cyl_bessel_i_prime_imp(), boost::math::detail::cyl_bessel_j_imp(), boost::math::detail::cyl_bessel_j_prime_imp(), boost::math::detail::cyl_bessel_j_zero_imp(), boost::math::detail::cyl_bessel_k_imp(), boost::math::detail::cyl_neumann_imp(), boost::math::detail::cyl_neumann_prime_imp(), boost::math::detail::cyl_neumann_zero_imp(), boost::math::detail::digamma_imp(), boost::multiprecision::concepts::eval_floor(), boost::math::factorial(), boost::math::detail::falling_factorial_imp(), boost::math::detail::float_distance_imp(), fmod(), boost::spirit::karma::real_policies< T >::fraction_part(), boost::math::detail::gamma_imp(), boost::math::detail::gamma_incomplete_imp(), boost::random::detail::generate_canonical_impl(), boost::math::detail::hankel_imp(), boost::math::detail::ibeta_imp(), boost::gil::ifloor(), boost::numeric::interval_lib::rounded_arith_exact< T >::int_down(), boost::math::detail::is_odd(), boost::math::detail::lgamma_imp(), boost::math::median(), boost::math::mode(), boost::polygon::polygon_set_data< T >::modify_pt(), boost::numeric::Trunc< S >::nearbyint(), boost::numeric::Floor< S >::nearbyint(), boost::numeric::RoundEven< S >::nearbyint(), boost::math::tools::equal_floor::operator()(), boost::math::tools::equal_nearest_integer::operator()(), boost::random::geometric_distribution< IntType, RealType >::operator()(), boost::multiprecision::backends::tommath_int::operator=(), boost::multiprecision::backends::detail::gmp_float_imp< 0 >::operator=(), boost::multiprecision::backends::cpp_dec_float< Digits10, ExponentType, Allocator >::operator=(), boost::multiprecision::backends::gmp_int::operator=(), boost::multiprecision::backends::operator=(), boost::math::detail::quantile_imp(), boost::math::detail::round(), boost::polygon::scaling_policy< T >::round(), boost::scalable_rmat_iterator< ProcessGroup, Distribution, RandomGenerator, Graph >::scalable_rmat_iterator(), boost::math::detail::sin_pi_imp(), boost::math::detail::sinpx(), boost::multiprecision::backends::cpp_bin_float< Digits, DigitBase, Allocator, Exponent, MinExponent, MaxExponent >::str(), boost::math::detail::tgamma_delta_ratio_imp(), boost::math::detail::trunc(), and boost::math::detail::zeta_imp().
|
inline |
|
inline |
References boost::python::ptr().
|
inline |
References boost::chrono::fmt_masks::get_timezone().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References count, and boost::iostreams::newline::CR.
|
inline |
References count.
|
inline |
References count, and boost::iostreams::newline::CR.
|
inline |
References boost::asio::s.
|
inline |
|
inline |
|
inline |
References count.
|
inline |
|
inline |
|
inline |
References count.
|
inline |
References count, and boost::iostreams::newline::CR.
|
inline |
|
inline |
|
inline |
std::basic_ostream< CharT, Traits > & boost::chrono::operator<< | ( | std::basic_ostream< CharT, Traits > & | os, |
const time_point< Clock, Duration > & | tp | ||
) |
os | |
tp | Behaves as a formatted output function. After constructing a sentry object, if the @ sentry converts to true, calls to facet.put (os,os,os.fill(),tp) where facet is the time_point_put<CharT> facet associated to os or a new created instance of the default time_point_put<CharT> facet. |
os
. References BOOST_CATCH, BOOST_CATCH_END, BOOST_TRY, boost::regex_constants::failbit, boost::chrono::time_point_put< CharT, OutputIterator >::put(), and boost::put().
std::basic_ostream< CharT, Traits > & boost::chrono::operator<< | ( | std::basic_ostream< CharT, Traits > & | os, |
const duration< Rep, Period > & | d | ||
) |
duration stream inserter
os | the output stream |
d | to value to insert |
os
References BOOST_CATCH, BOOST_CATCH_END, BOOST_TRY, boost::regex_constants::failbit, boost::chrono::duration_put< CharT, OutputIterator >::put(), and boost::put().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::basic_istream< CharT, Traits > & boost::chrono::operator>> | ( | std::basic_istream< CharT, Traits > & | is, |
duration< Rep, Period > & | d | ||
) |
is | the input stream |
d | the duration |
is
References BOOST_CATCH, BOOST_CATCH_END, BOOST_RETHROW, BOOST_TRY, and boost::regex_constants::failbit.
std::basic_istream< CharT, Traits > & boost::chrono::operator>> | ( | std::basic_istream< CharT, Traits > & | is, |
time_point< Clock, Duration > & | tp | ||
) |
References BOOST_CATCH, BOOST_CATCH_END, BOOST_TRY, and boost::regex_constants::failbit.
To boost::chrono::round | ( | const duration< Rep, Period > & | d | ) |
rounds to nearest, to even on tie
References duration_cast().
|
inline |
References boost::chrono::fmt_masks::set_duration_style().
Referenced by boost::chrono::duration_fmt::operator()(), and boost::chrono::duration_style_io_saver::restore().
|
inline |
References boost::python::ptr().
Referenced by boost::chrono::time_fmt_io_saver< CharT, Traits >::restore().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References duration_cast().
std::basic_string<CharT> boost::chrono::to_basic_string | ( | T const & | v | ) |
std::string boost::chrono::to_string | ( | T const & | v | ) |
std::wstring boost::chrono::to_wstring | ( | T const & | v | ) |
|
inline |