astrotypes  0.0
Classes | Namespaces | Typedefs | Functions
Time.h File Reference
#include "TimeUnits.h"
#include "BoostDurationCast.h"
#include "Quantity.h"
#include "JulianClock.h"
#include "J2000Clock.h"
#include "ModifiedJulianClock.h"
#include "cmath.h"
#include <chrono>
Include dependency graph for Time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pss::astrotypes::units::Quantity< TimeUnit, NumericalRep, typename std::enable_if< boost::units::is_unit_of_dimension< TimeUnit, boost::units::time_dimension >::value >::type >
 Specialisation of Quantity unit for time dimension types. More...
 
struct  std::common_type< boost::units::quantity< Unit, Rep >, T2 >
 
struct  std::common_type< T2, boost::units::quantity< Unit, Rep > >
 

Namespaces

 pss
 
 pss::astrotypes
 
 pss::astrotypes::units
 
 std::chrono
 
 boost
 
 boost::units
 

Typedefs

typedef boost::units::time_dimension pss::astrotypes::units::Time
 
typedef JulianClock::time_point pss::astrotypes::units::JulianDate
 
typedef ModifiedJulianClock::time_point pss::astrotypes::units::ModifiedJulianDate
 
typedef ModifiedJulianClock::time_point pss::astrotypes::units::MJD
 
typedef J2000Clock::time_point pss::astrotypes::units::J2000
 

Functions

template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator< (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator> (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator<= (std::chrono::duration< Rep, Ratio > const &lhs, boost::units::quantity< Unit, Rep2 > const &rhs)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator>= (std::chrono::duration< Rep, Ratio > const &lhs, boost::units::quantity< Unit, Rep2 > const &rhs)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator== (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool std::chrono::operator!= (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
boost::units::quantity< Unit, Rep2 > boost::units::operator+ (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
boost::units::quantity< Unit, Rep2 > boost::units::operator- (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
boost::units::quantity< Unit, Rep2 > & boost::units::operator+= (boost::units::quantity< Unit, Rep2 > &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
boost::units::quantity< Unit, Rep2 > & boost::units::operator-= (boost::units::quantity< Unit, Rep2 > &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
auto boost::units::operator/ (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c) -> decltype(boost::units::quantity< Unit, Rep2 >()/boost::units::quantity< Unit, Rep >())
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator< (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator> (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator<= (boost::units::quantity< Unit, Rep2 > const &lhs, std::chrono::duration< Rep, Ratio > const &rhs)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator>= (boost::units::quantity< Unit, Rep2 > const &lhs, std::chrono::duration< Rep, Ratio > const &rhs)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator== (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
bool boost::units::operator!= (boost::units::quantity< Unit, Rep2 > const &b, std::chrono::duration< Rep, Ratio > const &c)
 
template<typename Ratio , typename Rep >
std::chrono::duration< Rep, Ratio > std::abs (std::chrono::duration< Rep, Ratio > const &v)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
std::chrono::duration< Rep, Ratio > std::chrono::operator+ (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
std::chrono::duration< Rep, Ratio > std::chrono::operator- (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
std::chrono::duration< Rep, Ratio > & std::chrono::operator+= (std::chrono::duration< Rep, Ratio > &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
std::chrono::duration< Rep, Ratio > & std::chrono::operator-= (std::chrono::duration< Rep, Ratio > &c, boost::units::quantity< Unit, Rep2 > const &b)
 
template<typename Ratio , typename Rep , typename Unit , typename Rep2 >
auto std::chrono::operator/ (std::chrono::duration< Rep, Ratio > const &c, boost::units::quantity< Unit, Rep2 > const &b) -> decltype(boost::units::quantity< Unit, Rep >()/boost::units::quantity< Unit, Rep2 >())