SI  2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
Classes | Namespaces | Typedefs | Functions
energy.h File Reference
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "detail/unit_symbol.h"
#include "force.h"
#include "length.h"
#include "pressure.h"
Include dependency graph for energy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SI::unit_symbol< 'E', std::ratio< 1 > >
 
struct  SI::unit_symbol< 'E', _ratio >
 

Namespaces

 SI
 
 SI::detail
 Namespace containing implementation details for SI.
 
 SI::literals
 

Typedefs

template<typename _type , class _ratio = std::ratio<1>>
using SI::energy_t = detail::unit_t< 'E', std::ratio< 1 >, _type, _ratio >
 
template<typename _type >
using SI::atto_joule_t = energy_t< _type, std::atto >
 specific units More...
 
template<typename _type >
using SI::femto_joule_t = energy_t< _type, std::femto >
 
template<typename _type >
using SI::pico_joule_t = energy_t< _type, std::pico >
 
template<typename _type >
using SI::nano_joule_t = energy_t< _type, std::nano >
 
template<typename _type >
using SI::micro_joule_t = energy_t< _type, std::micro >
 
template<typename _type >
using SI::milli_joule_t = energy_t< _type, std::milli >
 
template<typename _type >
using SI::joule_t = energy_t< _type, std::ratio< 1 > >
 
template<typename _type >
using SI::kilo_joule_t = energy_t< _type, std::kilo >
 
template<typename _type >
using SI::mega_joule_t = energy_t< _type, std::mega >
 
template<typename _type >
using SI::giga_joule_t = energy_t< _type, std::giga >
 
template<typename _type >
using SI::tera_joule_t = energy_t< _type, std::tera >
 
template<typename _type >
using SI::peta_joule_t = energy_t< _type, std::peta >
 
template<typename _type >
using SI::exa_joule_t = energy_t< _type, std::exa >
 

Functions

template<char... _digits>
constexpr atto_joule_t< int64_t > SI::literals::operator""_aJ ()
 
template<char... _digits>
constexpr femto_joule_t< int64_t > SI::literals::operator""_fJ ()
 
template<char... _digits>
constexpr pico_joule_t< int64_t > SI::literals::operator""_pJ ()
 
template<char... _digits>
constexpr nano_joule_t< int64_t > SI::literals::operator""_nJ ()
 
template<char... _digits>
constexpr micro_joule_t< int64_t > SI::literals::operator""_uJ ()
 
template<char... _digits>
constexpr milli_joule_t< int64_t > SI::literals::operator""_mJ ()
 
template<char... _digits>
constexpr joule_t< int64_t > SI::literals::operator""_J ()
 
template<char... _digits>
constexpr kilo_joule_t< int64_t > SI::literals::operator""_kJ ()
 
template<char... _digits>
constexpr mega_joule_t< int64_t > SI::literals::operator""_MJ ()
 
template<char... _digits>
constexpr giga_joule_t< int64_t > SI::literals::operator""_GJ ()
 
template<char... _digits>
constexpr tera_joule_t< int64_t > SI::literals::operator""_TJ ()
 
template<char... _digits>
constexpr peta_joule_t< int64_t > SI::literals::operator""_PJ ()
 
template<char... _digits>
constexpr exa_joule_t< int64_t > SI::literals::operator""_EJ ()
 
constexpr atto_joule_t< long double > SI::literals::operator""_aJ (long double value)
 
constexpr femto_joule_t< long double > SI::literals::operator""_fJ (long double value)
 
constexpr pico_joule_t< long double > SI::literals::operator""_pJ (long double value)
 
constexpr nano_joule_t< long double > SI::literals::operator""_nJ (long double value)
 
constexpr micro_joule_t< long double > SI::literals::operator""_uJ (long double value)
 
constexpr milli_joule_t< long double > SI::literals::operator""_mJ (long double value)
 
constexpr joule_t< long double > SI::literals::operator""_J (long double value)
 
constexpr kilo_joule_t< long double > SI::literals::operator""_kJ (long double value)
 
constexpr mega_joule_t< long double > SI::literals::operator""_MJ (long double value)
 
constexpr giga_joule_t< long double > SI::literals::operator""_GJ (long double value)
 
constexpr tera_joule_t< long double > SI::literals::operator""_TJ (long double value)
 
constexpr peta_joule_t< long double > SI::literals::operator""_PJ (long double value)
 
constexpr exa_joule_t< long double > SI::literals::operator""_EJ (long double value)