Loxahatchee  v0.0.1-1346
Lox Convenience C++ Library
LoxTemperature.hpp File Reference

Common functions to work with and convert metric and imperial temperatures. More...

#include <string>
#include "LoxMetricTypes.hpp"
Include dependency graph for LoxTemperature.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 Lox
 Common methods and functionality easily shared between projects.
 
 Lox::Temperature
 Common functions to work with and convert metric and imperial temperatures.
 

Functions

std::string Lox::Temperature::celsiusString (const CELSIUS c)
 Format the given temperature as a string (Celsius). More...
 
std::string Lox::Temperature::fahrenheitString (const FAHRENHEIT f)
 Format the given temperature as a string (Fahrenheit). More...
 
static CELSIUS Lox::Temperature::toCelsius (const FAHRENHEIT f)
 Convert the given value from Fahrenheit to a Celsius value. E.g., 32.0 F (freezing) converts to zero C. More...
 
static FAHRENHEIT Lox::Temperature::toFahrenheit (const CELSIUS c)
 Convert the given value from Celsius to a Fahrenheit value. E.g., zero C (freezing) converts to 32.0 F. More...
 

Detailed Description

Common functions to work with and convert metric and imperial temperatures.