Class oneElLambda

Class Documentation

class oneElLambda

Small class structure to store one extinction element, including lambda, value, and origin

Public Functions

inline oneElLambda(double lambda, double value)

Constructor

Parameters:
  • lambda – the \(\lambda\) value

  • value – the value at lambda !

inline oneElLambda(const oneElLambda &obj)

Copy constructor

Parameters:

obj – the object to copy from

inline ~oneElLambda()

empty destructor

inline bool operator<(const oneElLambda &rhs) const

Check that current lamb < rhs.lamb

Parameters:

rhs – the other object to compare lambda ordering to

inline bool operator<(const double rhs) const

Check that current lamb < rhs (comparison against a bare wavelength)

Parameters:

rhs – the wavelength value to compare to

inline bool operator==(const oneElLambda &rhs) const

Check that current lamb == rhs.lamb

Parameters:

rhs – the other object to compare lambda equality to

Public Members

double lamb

lambda value

double val

extinction value at lambda