BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
bst::Pressure Class Reference

#include <science.hpp>

Collaboration diagram for bst::Pressure:

Public Member Functions

 Pressure ()=default
 
double atmospheres () const
 
double inchesMercury () const
 
double millibars () const
 
double pascals () const
 
double psi () const
 
void setFromAtmospheres (double atmospheres)
 
void setFromInchesMercury (double inches_mercury)
 
void setFromMillibars (double millibars)
 
void setFromPascals (double pascals)
 
void setFromPSI (double psi)
 

Private Attributes

double pressure_pascals_ = 0.0
 

Constructor & Destructor Documentation

◆ Pressure()

bst::Pressure::Pressure ( )
default

Member Function Documentation

◆ setFromPascals()

void bst::Pressure::setFromPascals ( double  pascals)

References pascals(), and pressure_pascals_.

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pascals()

double bst::Pressure::pascals ( ) const

References pressure_pascals_.

Referenced by setFromPascals(), and TEST().

Here is the caller graph for this function:

◆ setFromMillibars()

void bst::Pressure::setFromMillibars ( double  millibars)

References millibars(), and pressure_pascals_.

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ millibars()

double bst::Pressure::millibars ( ) const

References pressure_pascals_.

Referenced by setFromMillibars(), and TEST().

Here is the caller graph for this function:

◆ setFromInchesMercury()

void bst::Pressure::setFromInchesMercury ( double  inches_mercury)

References pressure_pascals_.

Referenced by TEST().

Here is the caller graph for this function:

◆ inchesMercury()

double bst::Pressure::inchesMercury ( ) const

References pressure_pascals_.

Referenced by TEST().

Here is the caller graph for this function:

◆ setFromPSI()

void bst::Pressure::setFromPSI ( double  psi)

References pressure_pascals_, and psi().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ psi()

double bst::Pressure::psi ( ) const

References pressure_pascals_.

Referenced by setFromPSI(), and TEST().

Here is the caller graph for this function:

◆ setFromAtmospheres()

void bst::Pressure::setFromAtmospheres ( double  atmospheres)

References atmospheres(), and pressure_pascals_.

Here is the call graph for this function:

◆ atmospheres()

double bst::Pressure::atmospheres ( ) const

References pressure_pascals_.

Referenced by setFromAtmospheres(), and TEST().

Here is the caller graph for this function:

Member Data Documentation

◆ pressure_pascals_