World Ocean Simulation System (WOSS) library
pressure-definitions.h File Reference

Definitions and library for woss::Pressure class. More...

Go to the source code of this file.

Classes

class  woss::Pressure
 Complex attenuated pressure class. More...
 

Functions

bool woss::operator== (const Pressure &left, const Pressure &right)
 
bool woss::operator!= (const Pressure &left, const Pressure &right)
 
const Pressure woss::operator+ (const Pressure &left, const Pressure &right)
 
const Pressure woss::operator- (const Pressure &left, const Pressure &right)
 
const Pressure woss::operator/ (const Pressure &left, const Pressure &right)
 
const Pressure woss::operator* (const Pressure &left, const Pressure &right)
 
Pressurewoss::operator+= (Pressure &left, const Pressure &right)
 
Pressurewoss::operator-= (Pressure &left, const Pressure &right)
 
Pressurewoss::operator/= (Pressure &left, const Pressure &right)
 
Pressurewoss::operator*= (Pressure &left, const Pressure &right)
 
inline ::std::ostream & woss::operator<< (::std::ostream &os, const Pressure &instance)
 

Detailed Description

Definitions and library for woss::Pressure class.

Author
Federico Guerra

Definitions and library for complex pressure

Function Documentation

◆ operator!=()

bool woss::operator!= ( const Pressure left,
const Pressure right 
)
inline

Inequality operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
true if left != right, false otherwise

◆ operator*()

const Pressure woss::operator* ( const Pressure left,
const Pressure right 
)
inline

Multiplication operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
a new const instance holding the operation result

◆ operator*=()

Pressure & woss::operator*= ( Pressure left,
const Pressure right 
)
inline

Compound assignment multiplication operator

Parameters
leftleft operand reference
rightright operand const reference
Returns
left reference after the operation

◆ operator+()

const Pressure woss::operator+ ( const Pressure left,
const Pressure right 
)
inline

Sum operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
a new const instance holding the operation result

◆ operator+=()

Pressure & woss::operator+= ( Pressure left,
const Pressure right 
)
inline

Compound assignment sum operator

Parameters
leftleft operand reference
rightright operand const reference
Returns
left reference after the operation

◆ operator-()

const Pressure woss::operator- ( const Pressure left,
const Pressure right 
)
inline

Subtraction operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
a new const instance holding the operation result

◆ operator-=()

Pressure & woss::operator-= ( Pressure left,
const Pressure right 
)
inline

Compound assignment subtraction operator

Parameters
leftleft operand reference
rightright operand const reference
Returns
left reference after the operation

◆ operator/()

const Pressure woss::operator/ ( const Pressure left,
const Pressure right 
)
inline

Division operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
a new const instance holding the operation result

◆ operator/=()

Pressure & woss::operator/= ( Pressure left,
const Pressure right 
)
inline

Compound assignment division operator

Parameters
leftleft operand reference
rightright operand const reference
Returns
left reference after the operation

◆ operator==()

bool woss::operator== ( const Pressure left,
const Pressure right 
)
inline

Equality operator

Parameters
leftleft operand const reference
rightright operand const reference
Returns
true if left == right, false otherwise