lsst.afw  21.0.0-11-ga6ea59e8e+47cba9fc36
Public Member Functions | List of all members
lsst::afw::coord::Weather Class Referencefinal

Basic weather information sufficient for a simple model for air mass or refraction. More...

#include <Weather.h>

Public Member Functions

 Weather (double airTemperature, double airPressure, double humidity)
 Construct a Weather. More...
 
 ~Weather () noexcept=default
 
 Weather (Weather const &) noexcept=default
 
 Weather (Weather &&) noexcept=default
 
Weatheroperator= (Weather const &) noexcept=default
 
Weatheroperator= (Weather &&) noexcept=default
 
bool operator== (Weather const &other) const noexcept
 
bool operator!= (Weather const &other) const noexcept
 
std::size_t hash_value () const noexcept
 Return a hash of this object. More...
 
double getAirTemperature () const noexcept
 get outside air temperature (C) More...
 
double getAirPressure () const noexcept
 get outside air pressure (Pascal) More...
 
double getHumidity () const noexcept
 get outside relative humidity (%) More...
 

Detailed Description

Basic weather information sufficient for a simple model for air mass or refraction.

Weather is immutable.

Definition at line 38 of file Weather.h.

Constructor & Destructor Documentation

◆ Weather() [1/3]

lsst::afw::coord::Weather::Weather ( double  airTemperature,
double  airPressure,
double  humidity 
)
explicit

Construct a Weather.

Parameters
[in]airTemperatureoutside air temperature (C)
[in]airPressureoutside air pressure (Pascal)
[in]humidityoutside relative humidity (%)
Exceptions
lsst::pex::exceptions::InvalidParameterErrorif humidity < 0

Definition at line 35 of file Weather.cc.

◆ ~Weather()

lsst::afw::coord::Weather::~Weather ( )
defaultnoexcept

◆ Weather() [2/3]

lsst::afw::coord::Weather::Weather ( Weather const &  )
defaultnoexcept

◆ Weather() [3/3]

lsst::afw::coord::Weather::Weather ( Weather &&  )
defaultnoexcept

Member Function Documentation

◆ getAirPressure()

double lsst::afw::coord::Weather::getAirPressure ( ) const
inlinenoexcept

get outside air pressure (Pascal)

Definition at line 67 of file Weather.h.

◆ getAirTemperature()

double lsst::afw::coord::Weather::getAirTemperature ( ) const
inlinenoexcept

get outside air temperature (C)

Definition at line 64 of file Weather.h.

◆ getHumidity()

double lsst::afw::coord::Weather::getHumidity ( ) const
inlinenoexcept

get outside relative humidity (%)

Definition at line 70 of file Weather.h.

◆ hash_value()

std::size_t lsst::afw::coord::Weather::hash_value ( ) const
noexcept

Return a hash of this object.

Definition at line 45 of file Weather.cc.

◆ operator!=()

bool lsst::afw::coord::Weather::operator!= ( Weather const &  other) const
inlinenoexcept

Definition at line 58 of file Weather.h.

◆ operator=() [1/2]

Weather& lsst::afw::coord::Weather::operator= ( Weather &&  )
defaultnoexcept

◆ operator=() [2/2]

Weather& lsst::afw::coord::Weather::operator= ( Weather const &  )
defaultnoexcept

◆ operator==()

bool lsst::afw::coord::Weather::operator== ( Weather const &  other) const
noexcept

Definition at line 40 of file Weather.cc.


The documentation for this class was generated from the following files: