astrotypes  0.0
Classes | Namespaces | Functions
TimePoint.h File Reference
#include <boost/units/systems/si/time.hpp>
#include <boost/units/quantity.hpp>
#include <boost/units/is_quantity.hpp>
#include <boost/units/is_unit_of_dimension.hpp>
#include <chrono>
#include <ostream>
#include "detail/TimePoint.cpp"
Include dependency graph for TimePoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pss::astrotypes::units::TimePoint< ClockType, Duration >
 extension of std::chrono::time_point for astrotypes clocks More...
 

Namespaces

 pss
 
 pss::astrotypes
 
 pss::astrotypes::units
 

Functions

template<typename ClockType , typename Duration , typename Duration2 >
TimePoint< ClockType, Duration > pss::astrotypes::units::operator+ (TimePoint< ClockType, Duration > const &lhs, Duration2 const &rhs)
 
template<typename ClockType , typename Duration , typename Duration2 >
TimePoint< ClockType, Duration > pss::astrotypes::units::operator- (TimePoint< ClockType, Duration > const &lhs, Duration2 const &rhs)
 
template<typename ClockType , typename Duration , typename Duration2 >
Duration pss::astrotypes::units::operator- (TimePoint< ClockType, Duration > const &lhs, TimePoint< ClockType, Duration2 > const &rhs)
 
template<typename ClockType , typename Duration >
std::ostream & pss::astrotypes::units::operator<< (std::ostream &, TimePoint< ClockType > const &tp)
 output a TimePoint as a string to the ostream More...