Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
Functions
units::energy Namespace Reference

namespace for unit types and containers representing energy values More...

Functions

std::ostream & operator<< (std::ostream &os, const joule_t &obj)
 
std::string to_string (const joule_t &obj)
 
std::ostream & operator<< (std::ostream &os, const calorie_t &obj)
 
std::string to_string (const calorie_t &obj)
 
std::ostream & operator<< (std::ostream &os, const kilowatt_hour_t &obj)
 
std::string to_string (const kilowatt_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const watt_hour_t &obj)
 
std::string to_string (const watt_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_t &obj)
 
std::string to_string (const british_thermal_unit_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_iso_t &obj)
 
std::string to_string (const british_thermal_unit_iso_t &obj)
 
std::ostream & operator<< (std::ostream &os, const british_thermal_unit_59_t &obj)
 
std::string to_string (const british_thermal_unit_59_t &obj)
 
std::ostream & operator<< (std::ostream &os, const therm_t &obj)
 
std::string to_string (const therm_t &obj)
 
std::ostream & operator<< (std::ostream &os, const foot_pound_t &obj)
 
std::string to_string (const foot_pound_t &obj)
 

Detailed Description

namespace for unit types and containers representing energy values

The SI unit for energy is joules, and the corresponding base_unit category is energy_unit.

See also
See unit_t for more information on unit type containers.