astrotypes  0.0
Namespaces | Functions
TimePoint.cpp File Reference
#include "../TimePoint.h"
#include "../BoostDurationCast.h"
#include <boost/units/quantity.hpp>
#include <boost/units/conversion.hpp>
#include <boost/units/systems/si/time.hpp>
#include <iomanip>
#include <ctime>
Include dependency graph for TimePoint.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

template<typename ClockType , typename Duration >
std::ostream & pss::astrotypes::units::operator<< (std::ostream &os, TimePoint< ClockType, Duration > const &tp)
 
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 DurationType , typename Rep >
TimePoint< ClockType, DurationType > pss::astrotypes::units::operator+ (TimePoint< ClockType, DurationType > const &lhs, boost::units::quantity< boost::units::si::time, Rep > const &rhs)
 
template<typename ClockType , typename DurationType , typename Rep >
TimePoint< ClockType, DurationType > & pss::astrotypes::units::operator+= (TimePoint< ClockType, DurationType > &lhs, boost::units::quantity< boost::units::si::time, Rep > const &rhs)
 
template<typename ClockType , typename DurationType , typename Rep >
TimePoint< ClockType, DurationType > pss::astrotypes::units::operator- (TimePoint< ClockType, DurationType > const &lhs, boost::units::quantity< boost::units::si::time, Rep > const &rhs)
 
template<typename ClockType , typename DurationType , typename Rep >
TimePoint< ClockType, DurationType > & pss::astrotypes::units::operator-= (TimePoint< ClockType, DurationType > &lhs, boost::units::quantity< boost::units::si::time, Rep > 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)