BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
CumulativeValue.cpp File Reference
Include dependency graph for CumulativeValue.cpp:

Go to the source code of this file.

Functions

bool operator< (const CumulativeValue &lhs, const CumulativeValue &rhs)
 
bool operator> (const CumulativeValue &lhs, const CumulativeValue &rhs)
 

Detailed Description

Implements class CumulativeValue.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file CumulativeValue.cpp.

Function Documentation

◆ operator<()

bool operator< ( const CumulativeValue lhs,
const CumulativeValue rhs 
)

Definition at line 44 of file CumulativeValue.cpp.

45 {
46  return lhs.getContent() < rhs.getContent();
47 }
double getContent() const

References CumulativeValue::getContent().

Here is the call graph for this function:

◆ operator>()

bool operator> ( const CumulativeValue lhs,
const CumulativeValue rhs 
)

Definition at line 49 of file CumulativeValue.cpp.

50 {
51  return rhs < lhs;
52 }