Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Namespaces | Enumerations | Functions
Energy.hpp File Reference
#include <cstddef>
#include <cstdint>
#include <functional>
#include <map>
#include <ostream>
#include <string_view>
#include <unordered_map>
#include "../Base.hpp"
#include "../Dimension/ElectricCurrent.hpp"
#include "../Dimension/Length.hpp"
#include "../Dimension/LuminousIntensity.hpp"
#include "../Dimension/Mass.hpp"
#include "../Dimension/SubstanceAmount.hpp"
#include "../Dimension/Temperature.hpp"
#include "../Dimension/Time.hpp"
#include "../Dimensions.hpp"
#include "../Unit.hpp"
#include "../UnitSystem.hpp"

Go to the source code of this file.

Namespaces

 PhQ
 Namespace that encompasses all of the Physical Quantities library's content.
 
 PhQ::Unit
 Namespace that contains units of measure.
 

Enumerations

enum class  PhQ::Unit::Energy : int8_t {
  PhQ::Unit::Joule , PhQ::Unit::Millijoule , PhQ::Unit::Microjoule , PhQ::Unit::Nanojoule ,
  PhQ::Unit::Kilojoule , PhQ::Unit::Megajoule , PhQ::Unit::Gigajoule , PhQ::Unit::WattMinute ,
  PhQ::Unit::WattHour , PhQ::Unit::KilowattMinute , PhQ::Unit::KilowattHour , PhQ::Unit::MegawattMinute ,
  PhQ::Unit::MegawattHour , PhQ::Unit::GigawattMinute , PhQ::Unit::GigawattHour , PhQ::Unit::FootPound ,
  PhQ::Unit::InchPound , PhQ::Unit::Calorie , PhQ::Unit::Millicalorie , PhQ::Unit::Microcalorie ,
  PhQ::Unit::Nanocalorie , PhQ::Unit::Kilocalorie , PhQ::Unit::Megacalorie , PhQ::Unit::Gigacalorie ,
  PhQ::Unit::Electronvolt , PhQ::Unit::Millielectronvolt , PhQ::Unit::Microelectronvolt , PhQ::Unit::Nanoelectronvolt ,
  PhQ::Unit::Kiloelectronvolt , PhQ::Unit::Megaelectronvolt , PhQ::Unit::Gigaelectronvolt , PhQ::Unit::BritishThermalUnit
}
 Energy units. More...
 

Functions

std::ostream & PhQ::operator<< (std::ostream &stream, const Unit::Energy unit)