8 #ifndef CARMA_SERVICES_FLUXDENSITY_H
9 #define CARMA_SERVICES_FLUXDENSITY_H
28 FluxDensity(
double value,
const std::string &units);
double megajansky() const
The FluxDensity class is used to represent a flux density in any units.
double jansky() const
Convenience method to return the value of this FluxDensity in Janskys.
double millijansky() const
const FluxDensity operator+(const FluxDensity &flux) const
Add two FluxDensities.
const FluxDensity operator+=(const FluxDensity &flux)
Increment FluxDensity.
bool operator<(const FluxDensity &flux) const
Compare two FluxDensityes.
FluxDensity(double value, const std::string &units)
Construct a FluxDensity object.
std::ostream & operator<<(std::ostream &os, const carma::services::Angle &angle)
Define the << operator to allow, e.g.
const FluxDensity operator-=(const FluxDensity &flux)
Decrement FluxDensity.
const FluxDensity operator-(const FluxDensity &flux) const
Subtract two FluxDensities.