13 #ifndef CARMA_SERVICES_PRESSURE_H
14 #define CARMA_SERVICES_PRESSURE_H
46 Pressure(
double value,
const std::string& units);
117 #endif //CARMA_SERVICES_PRESSURE_H
double atmosphere() const
Convenience method that returns the value of this pressure in atmospheres.
bool operator<(const Pressure &pressure) const
Compare two pressures.
virtual ~Pressure()
Destructor.
const Pressure operator-(const Pressure &pressure) const
Subtract two Pressures.
Pressure & operator-=(const Pressure &pressure)
Decrement Pressure.
const Pressure operator+(const Pressure &pressure) const
Add two Pressures.
The Pressure class can represent any pressure in any units.
double millibar() const
Convenience method that returns the value of this pressure in millibars.
bool operator>(const Pressure &pressure) const
Compare two pressures.
Pressure & operator+=(const Pressure &pressure)
Increment Pressure.
std::ostream & operator<<(std::ostream &os, const carma::services::Angle &angle)
Define the << operator to allow, e.g.
Pressure(double value, const std::string &units)
Construct an Pressure given a value and units.