ome-common  5.2.0
Classes | Namespaces | Typedefs | Functions
temperature.h File Reference

Temperature units of measurement. More...

#include <ome/common/config.h>
#include <ome/common/units/types.h>
#include <boost/units/base_units/si/kelvin.hpp>
#include <boost/units/base_units/temperature/celsius.hpp>
#include <boost/units/base_units/temperature/fahrenheit.hpp>
#include <boost/units/unit.hpp>
#include <boost/units/quantity.hpp>
#include <boost/units/systems/si.hpp>
+ Include dependency graph for temperature.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ome::common::units::rankine_base_unit
 Base unit for temperature in Rankine. More...
 
struct  boost::units::base_unit_info< ome::common::units::rankine_base_unit >
 Unit information for Rankine. More...
 

Namespaces

 ome::common
 OME compatibility functions and classes.
 

Typedefs

typedef si::temperature ome::common::units::temperature_unit
 Unit definition for temperature.
 
typedef quantity< si::temperature > ome::common::units::temperature_quantity
 Measured quantity in temperature.
 
typedef boost::units::si::kelvin_base_unit::unit_type ome::common::units::kelvin_unit
 Unit definition for relative temperature in kelvin.
 
typedef quantity< kelvin_unit > ome::common::units::kelvin_quantity
 Measured quantity in kelvin.
 
typedef boost::units::temperature::celsius_base_unit::unit_type ome::common::units::celsius_unit
 Unit definition for relative temperature in Celsius (not convertible to or from other units due to relative scale).
 
typedef quantity< celsius_unit > ome::common::units::celsius_quantity
 Measured quantity in Celsius.
 
typedef boost::units::temperature::fahrenheit_base_unit::unit_type ome::common::units::fahrenheit_unit
 Unit definition for relative temperature in Fahrenheit (not convertible to or from other units due to relative scale).
 
typedef quantity< fahrenheit_unit > ome::common::units::fahrenheit_quantity
 Measured quantity in Fahrenheit.
 
typedef rankine_base_unit::unit_type ome::common::units::rankine_unit
 Unit definition for relative temperature in Rankine.
 
typedef quantity< rankine_unit > ome::common::units::rankine_quantity
 Measured quantity in Rankine.
 
typedef boost::units::absolute< kelvin_unit > ome::common::units::kelvin_absolute_unit
 Unit definition for absolute temperature in kelvin.
 
typedef quantity< kelvin_absolute_unit > ome::common::units::kelvin_absolute_quantity
 Measured quantity in absolute kelvin.
 
typedef boost::units::absolute< celsius_unit > ome::common::units::celsius_absolute_unit
 Unit definition for absolute temperature in Celsius.
 
typedef quantity< celsius_absolute_unit > ome::common::units::celsius_absolute_quantity
 Measured quantity in absolute Celsius.
 
typedef boost::units::absolute< fahrenheit_unit > ome::common::units::fahrenheit_absolute_unit
 Unit definition for absolute temperature in Fahrenheit.
 
typedef quantity< fahrenheit_absolute_unit > ome::common::units::fahrenheit_absolute_quantity
 Measured quantity in absolute Fahrenheit.
 
typedef boost::units::absolute< rankine_unit > ome::common::units::rankine_absolute_unit
 Unit definition for absolute temperature in Rankine.
 
typedef quantity< rankine_absolute_unit > ome::common::units::rankine_absolute_quantity
 Measured quantity in absolute Rankine.
 

Functions

 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kelvin, kelvin_unit)
 Numeric constant for kelvin.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kelvins, kelvin_unit)
 Numeric constant for kelvin.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (celsius, celsius_unit)
 Numeric constant for Celsius.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (fahrenheit, fahrenheit_unit)
 Numeric constant for Fahrenheit.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (rankine, rankine_unit)
 Numeric constant for Rankine.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kelvin_absolute, kelvin_absolute_unit)
 Numeric constant for absolute kelvin.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (kelvins_absolute, kelvin_absolute_unit)
 Numeric constant for absolute kelvin.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (celsius_absolute, celsius_absolute_unit)
 Numeric constant for absolute Celsius.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (fahrenheit_absolute, fahrenheit_absolute_unit)
 Numeric constant for absolute Fahrenheit.
 
 ome::common::units::BOOST_UNITS_STATIC_CONSTANT (rankine_absolute, rankine_absolute_unit)
 Numeric constant for absolute Rankine.
 
 BOOST_UNITS_DEFINE_CONVERSION_FACTOR (ome::common::units::rankine_base_unit, boost::units::si::kelvin_base_unit, double, 5.0/9.0)
 Conversion factor for Rankine to kelvin.
 
 BOOST_UNITS_DEFINE_CONVERSION_OFFSET (ome::common::units::rankine_base_unit, boost::units::si::kelvin_base_unit, double, 0.0)
 Conversion offset for Rankine to kelvin.
 
 BOOST_UNITS_DEFAULT_CONVERSION (ome::common::units::rankine_base_unit, boost::units::si::kelvin_base_unit)
 Default conversion for Rankine is to SI temperature units (kelvin).
 

Detailed Description

Temperature units of measurement.

This header contains unit definition types, unit constants and measured quantity types for SI and other standard temperature units of measurement.