roo_quantity
API Documentation for roo_quantity
Loading...
Searching...
No Matches
pressure.h File Reference
#include <cmath>
#include "roo_flags.h"
#include "roo_logging.h"
#include "roo_quantity/area.h"
#include "roo_quantity/areic_number.h"
#include "roo_quantity/force.h"
Include dependency graph for pressure.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  roo_quantity::Pressure
 Representation of pressure, internally stored as floating-point Pascals. More...
 

Namespaces

namespace  roo_quantity
 For convenience conversion from roo_time::Duration.
 

Functions

Pressure roo_quantity::PressureInPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in Pascals.
 
Pressure roo_quantity::UnknownPressure ()
 Returns a pressure object representing an unknown pressure.
 
Pressure roo_quantity::PressureInGigaPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in GigaPascals.
 
Pressure roo_quantity::PressureInMegaPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in MegaPascals.
 
Pressure roo_quantity::PressureInBars (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in bars.
 
Pressure roo_quantity::PressureInKiloPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in kiloPascals.
 
Pressure roo_quantity::PressureInHectoPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in hectoPascals.
 
Pressure roo_quantity::PressureInMilliPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in milliPascals.
 
Pressure roo_quantity::PressureInMicroPascals (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in microPascals.
 
Pressure roo_quantity::PressureInPSI (float pressure)
 Returns a pressure object equivalent to the specified pressure expressed in PSI (pounds per square inch).
 
Pressure roo_quantity::operator+ (Pressure a, Pressure b)
 
Pressure roo_quantity::operator- (Pressure a, Pressure b)
 
Pressure roo_quantity::operator- (Pressure a)
 
Pressure roo_quantity::operator* (Pressure a, float b)
 
Pressure roo_quantity::operator* (float a, Pressure b)
 
Pressure roo_quantity::operator/ (Pressure a, float b)
 
float roo_quantity::operator/ (Pressure a, Pressure b)
 
Pressure roo_quantity::operator/ (Force a, Area b)
 
Pressure roo_quantity::operator* (Force a, AreicNumber b)
 
roo_logging::Stream & roo_quantity::operator<< (roo_logging::Stream &os, const Pressure &val)