HepMC3 event record library
|
Public Types | |
typedef type::rep | rep |
using | period = typename type::period |
using | days = std::chrono::duration< uint_fast32_t, std::ratio< 86400 >> |
Public Member Functions | |
bool | load (handle src, bool) |
PYBIND11_TYPE_CASTER (type, _("datetime.timedelta")) | |
Static Public Member Functions | |
static const std::chrono::duration< rep, period > & | get_duration (const std::chrono::duration< rep, period > &src) |
template<typename Clock > | |
static std::chrono::duration < rep, period > | get_duration (const std::chrono::time_point< Clock, std::chrono::duration< rep, period >> &src) |
static handle | cast (const type &src, return_value_policy, handle) |