μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > > Class Template Reference

#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/chrono.h>

Public Types

using type = std::chrono::time_point< std::chrono::system_clock, Duration >
 
using type = std::chrono::time_point< std::chrono::system_clock, Duration >
 

Public Member Functions

bool load (handle src, bool)
 
 PYBIND11_TYPE_CASTER (type, const_name("datetime.datetime"))
 
bool load (handle src, bool)
 
 PYBIND11_TYPE_CASTER (type, const_name("datetime.datetime"))
 

Static Public Member Functions

static handle cast (const std::chrono::time_point< std::chrono::system_clock, Duration > &src, return_value_policy, handle)
 
static handle cast (const std::chrono::time_point< std::chrono::system_clock, Duration > &src, return_value_policy, handle)
 

Detailed Description

template<typename Duration>
class type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >

Definition at line 131 of file chrono.h.

Member Typedef Documentation

◆ type [1/2]

template<typename Duration >
using type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::type = std::chrono::time_point<std::chrono::system_clock, Duration>

Definition at line 133 of file chrono.h.

◆ type [2/2]

template<typename Duration >
using type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::type = std::chrono::time_point<std::chrono::system_clock, Duration>

Definition at line 122 of file chrono.h.

Member Function Documentation

◆ cast() [1/2]

template<typename Duration >
static handle type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::cast ( const std::chrono::time_point< std::chrono::system_clock, Duration > &  src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 184 of file chrono.h.

References localtime_thread_safe().

◆ cast() [2/2]

template<typename Duration >
static handle type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::cast ( const std::chrono::time_point< std::chrono::system_clock, Duration > &  src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 173 of file chrono.h.

References localtime_thread_safe().

◆ load() [1/2]

template<typename Duration >
bool type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::load ( handle  src,
bool   
)
inline

Definition at line 134 of file chrono.h.

References handle::ptr(), and type_caster_generic::value.

◆ load() [2/2]

template<typename Duration >
bool type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::load ( handle  src,
bool   
)
inline

Definition at line 123 of file chrono.h.

References handle::ptr(), and type_caster_generic::value.

◆ PYBIND11_TYPE_CASTER() [1/2]

template<typename Duration >
type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::PYBIND11_TYPE_CASTER ( type  ,
const_name("datetime.datetime")   
)

References const_name().

◆ PYBIND11_TYPE_CASTER() [2/2]

template<typename Duration >
type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >::PYBIND11_TYPE_CASTER ( type  ,
const_name("datetime.datetime")   
)

References const_name().


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