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

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

Go to the source code of this file.

Classes

class  woss::TimeArr
 Channel power delay profile class. More...
 

Typedefs

typedef std::map< PDouble, std::complex< double > > woss::TimeArrMap
 
typedef TimeArrMap::iterator woss::TimeArrIt
 
typedef TimeArrMap::const_iterator woss::TimeArrCIt
 
typedef TimeArrMap::reverse_iterator woss::TimeArrRIt
 
typedef TimeArrMap::const_reverse_iterator woss::TimeArrCRIt
 

Functions

const TimeArr woss::operator+ (const TimeArr &left, const TimeArr &right)
 
const TimeArr woss::operator- (const TimeArr &left, const TimeArr &right)
 
const TimeArr woss::operator+ (const TimeArr &left, const double right)
 
const TimeArr woss::operator- (const TimeArr &left, const double right)
 
const TimeArr woss::operator/ (const TimeArr &left, const double right)
 
const TimeArr woss::operator* (const TimeArr &left, const double right)
 
const TimeArr woss::operator+ (const double left, const TimeArr &right)
 
const TimeArr woss::operator- (const double left, const TimeArr &right)
 
const TimeArr woss::operator/ (const double left, const TimeArr &right)
 
const TimeArr woss::operator* (const double left, const TimeArr &right)
 
TimeArrwoss::operator+= (TimeArr &left, const TimeArr &right)
 
TimeArrwoss::operator-= (TimeArr &left, const TimeArr &right)
 
TimeArrwoss::operator+= (TimeArr &left, double right)
 
TimeArrwoss::operator-= (TimeArr &left, double right)
 
TimeArrwoss::operator/= (TimeArr &left, double right)
 
TimeArrwoss::operator*= (TimeArr &left, double right)
 
std::ostream & woss::operator<< (std::ostream &os, const TimeArr &instance)
 
bool woss::operator== (const TimeArr &left, const TimeArr &right)
 
bool woss::operator!= (const TimeArr &left, const TimeArr &right)
 

Detailed Description

Definitions and library for woss::TimeArr class.

Author
Federico Guerra

Definitions and library for woss::TimeArr class

Typedef Documentation

◆ TimeArrMap

typedef std::map< PDouble , std::complex<double> > woss::TimeArrMap

Map that links a PDouble delay [s] to a complex Pressure

Function Documentation

◆ operator!=()

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

Inequality operator

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

◆ operator*() [1/2]

const TimeArr woss::operator* ( const double  left,
const TimeArr right 
)

Multiplication operator

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

References woss::operator*().

Here is the call graph for this function:

◆ operator*() [2/2]

const TimeArr woss::operator* ( const TimeArr left,
const double  right 
)

Multiplication operator

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

References woss::operator*().

Here is the call graph for this function:

◆ operator*=()

TimeArr & woss::operator*= ( TimeArr left,
double  right 
)

Compound assignment multiplication operator

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

References woss::operator*=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator+() [1/3]

const TimeArr woss::operator+ ( const double  left,
const TimeArr right 
)

Sum operator

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

References woss::operator+().

Here is the call graph for this function:

◆ operator+() [2/3]

const TimeArr woss::operator+ ( const TimeArr left,
const double  right 
)

Sum operator

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

References woss::operator+().

Here is the call graph for this function:

◆ operator+() [3/3]

const TimeArr woss::operator+ ( const TimeArr left,
const TimeArr right 
)

Sum operator

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

References woss::operator+().

Here is the call graph for this function:

◆ operator+=() [1/2]

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

Compound assignment sum operator

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

References woss::operator+=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator+=() [2/2]

TimeArr & woss::operator+= ( TimeArr left,
double  right 
)

Compound assignment sum operator

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

References woss::operator+=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator-() [1/3]

const TimeArr woss::operator- ( const double  left,
const TimeArr right 
)

Subtraction operator

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

References woss::operator-().

Here is the call graph for this function:

◆ operator-() [2/3]

const TimeArr woss::operator- ( const TimeArr left,
const double  right 
)

Subtraction operator

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

References woss::operator-().

Here is the call graph for this function:

◆ operator-() [3/3]

const TimeArr woss::operator- ( const TimeArr left,
const TimeArr right 
)

Subtraction operator

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

References woss::operator-().

Here is the call graph for this function:

◆ operator-=() [1/2]

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

Compound assignment subtraction operator

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

References woss::operator-=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator-=() [2/2]

TimeArr & woss::operator-= ( TimeArr left,
double  right 
)

Compound assignment subtraction operator

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

References woss::operator-=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator/() [1/2]

const TimeArr woss::operator/ ( const double  left,
const TimeArr right 
)

Division operator

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

References woss::operator/().

Here is the call graph for this function:

◆ operator/() [2/2]

const TimeArr woss::operator/ ( const TimeArr left,
const double  right 
)

Division operator

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

References woss::operator/().

Here is the call graph for this function:

◆ operator/=()

TimeArr & woss::operator/= ( TimeArr left,
double  right 
)

Compound assignment division operator

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

References woss::operator/=(), and woss::TimeArr::time_arr_map.

Here is the call graph for this function:

◆ operator<<()

std::ostream & woss::operator<< ( std::ostream &  os,
const TimeArr instance 
)
inline

<< operator

Parameters
osleft operand ostream reference
instanceright operand const Pressure reference
Returns
os reference after the operation

◆ operator==()

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

Equality operator

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