|
tempoch-cpp 0.5.5
Header-only C++ wrapper for tempoch
|
Classes | |
| struct | ContextDeleter |
Functions | |
| template<typename Target, typename T> | |
| auto | convert_period_endpoint (const T &value) |
| template<typename TargetA, typename TargetB, typename T> | |
| auto | convert_period_endpoint (const T &value) |
| template<typename Target, typename T> | |
| auto | convert_period_endpoint_with (const T &value, const TimeContext &ctx) |
| template<typename TargetA, typename TargetB, typename T> | |
| auto | convert_period_endpoint_with (const T &value, const TimeContext &ctx) |
| template<typename T> | |
| std::vector< tempoch_period_mjd_t > | to_raw (const std::vector< Period< T > > &periods) |
| template<typename T> | |
| std::vector< Period< T > > | from_alloc (tempoch_period_mjd_t *ptr, std::size_t count) |
| std::shared_ptr< tempoch_context_t > | make_default_context () |
| std::shared_ptr< tempoch_context_t > | make_builtin_eop_context () |
| std::shared_ptr< tempoch_context_t > | make_pre_definition_context (const tempoch_context_t *parent) |
| tempoch_time_t | make_time (double hi_seconds, double lo_seconds) |
| template<typename From, typename To> | |
| tempoch_time_t | scale_convert (const tempoch_time_t &value, const tempoch_context_t *ctx) |
| template<typename S, typename F> | |
| double | encode_time (const tempoch_time_t &value, const tempoch_context_t *ctx) |
| template<typename S, typename F> | |
| tempoch_time_t | decode_time (double raw, const tempoch_context_t *ctx) |
| tempoch_time_t | time_from_civil (const CivilTime &civil, const tempoch_context_t *ctx) |
| CivilTime | time_to_civil (const tempoch_time_t &value, const tempoch_context_t *ctx) |
| template<typename Q> | |
| tempoch_time_t | add_seconds (const tempoch_time_t &value, const Q &qty) |
| qtty::Second | difference_seconds (const tempoch_time_t &lhs, const tempoch_time_t &rhs) |
| template<typename F> | |
| FormatTraits< F >::quantity_type | quantity_from_raw (double raw) |
| template<typename F> | |
| void | ensure_finite_encoded (double raw, const char *operation) |
|
inline |
Definition at line 97 of file time_base.hpp.
References tempoch::check_status().
Referenced by tempoch::Time< S >::operator+(), tempoch::Time< S >::operator+=(), and tempoch::Time< S >::operator-=().
| auto tempoch::detail::convert_period_endpoint | ( | const T & | value | ) |
Definition at line 64 of file period.hpp.
References tempoch::Time< S >::from_civil().
| auto tempoch::detail::convert_period_endpoint | ( | const T & | value | ) |
Definition at line 55 of file period.hpp.
References tempoch::Time< S >::from_civil().
Referenced by tempoch::Period< ModifiedJulianDate< scale::TT > >::to().
| auto tempoch::detail::convert_period_endpoint_with | ( | const T & | value, |
| const TimeContext & | ctx ) |
Definition at line 82 of file period.hpp.
References tempoch::Time< S >::from_civil().
| auto tempoch::detail::convert_period_endpoint_with | ( | const T & | value, |
| const TimeContext & | ctx ) |
Definition at line 73 of file period.hpp.
References tempoch::Time< S >::from_civil().
Referenced by tempoch::Period< ModifiedJulianDate< scale::TT > >::to_with().
|
inline |
Definition at line 77 of file time_base.hpp.
References tempoch::check_status(), tempoch::format_tag_v, and tempoch::scale_tag_v.
Referenced by tempoch::Time< S >::from_encoded(), and tempoch::Time< S >::from_encoded_with().
|
inline |
Definition at line 104 of file time_base.hpp.
References tempoch::check_status().
Referenced by tempoch::Time< S >::operator-().
|
inline |
Definition at line 68 of file time_base.hpp.
References tempoch::check_status(), tempoch::format_tag_v, and tempoch::scale_tag_v.
Referenced by tempoch::Time< S >::to(), and tempoch::Time< S >::to_with().
|
inline |
Definition at line 114 of file time_base.hpp.
Referenced by tempoch::EncodedTime< S, format::JD >::EncodedTime().
|
inline |
Definition at line 213 of file period.hpp.
References tempoch::Period< T >::from_c().
Referenced by tempoch::intersect_periods(), tempoch::normalize_periods(), and tempoch::union_periods().
|
inline |
Definition at line 37 of file time_base.hpp.
References tempoch::check_status().
Referenced by tempoch::TimeContext::with_builtin_eop().
|
inline |
Definition at line 31 of file time_base.hpp.
References tempoch::check_status().
|
inline |
Definition at line 45 of file time_base.hpp.
References tempoch::check_status().
Referenced by tempoch::TimeContext::allow_pre_definition_utc().
|
inline |
Definition at line 52 of file time_base.hpp.
References tempoch::check_status().
Referenced by tempoch::Time< S >::from_split_seconds().
|
inline |
Definition at line 110 of file time_base.hpp.
Referenced by tempoch::Time< S >::to(), and tempoch::Time< S >::to_with().
|
inline |
Definition at line 59 of file time_base.hpp.
References tempoch::check_status(), and tempoch::scale_tag_v.
Referenced by tempoch::Time< S >::to(), and tempoch::Time< S >::to_with().
|
inline |
Definition at line 85 of file time_base.hpp.
References tempoch::check_status(), and tempoch::CivilTime::to_c().
Referenced by tempoch::Time< S >::from_civil(), and tempoch::Time< S >::from_civil().
|
inline |
Definition at line 91 of file time_base.hpp.
References tempoch::check_status(), and tempoch::CivilTime::from_c().
Referenced by tempoch::Time< S >::to_civil(), and tempoch::Time< S >::to_civil().
|
inline |
Definition at line 204 of file period.hpp.
Referenced by tempoch::intersect_periods(), tempoch::normalize_periods(), tempoch::union_periods(), and tempoch::validate_periods().