cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Classes | Macros
chrono.h File Reference
#include "pybind11.h"
#include <cmath>
#include <ctime>
#include <chrono>
#include <datetime.h>

Go to the source code of this file.

Classes

class  duration_caster< type >
 
class  type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >
 
class  type_caster< std::chrono::time_point< Clock, Duration > >
 
class  type_caster< std::chrono::duration< Rep, Period > >
 

Macros

#define PyDateTime_DELTA_GET_DAYS(o)   (((PyDateTime_Delta*)o)->days)
 
#define PyDateTime_DELTA_GET_SECONDS(o)   (((PyDateTime_Delta*)o)->seconds)
 
#define PyDateTime_DELTA_GET_MICROSECONDS(o)   (((PyDateTime_Delta*)o)->microseconds)
 

Macro Definition Documentation

◆ PyDateTime_DELTA_GET_DAYS

#define PyDateTime_DELTA_GET_DAYS (   o)    (((PyDateTime_Delta*)o)->days)

Definition at line 22 of file chrono.h.

◆ PyDateTime_DELTA_GET_MICROSECONDS

#define PyDateTime_DELTA_GET_MICROSECONDS (   o)    (((PyDateTime_Delta*)o)->microseconds)

Definition at line 28 of file chrono.h.

◆ PyDateTime_DELTA_GET_SECONDS

#define PyDateTime_DELTA_GET_SECONDS (   o)    (((PyDateTime_Delta*)o)->seconds)

Definition at line 25 of file chrono.h.