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
substance.h File Reference
#include "detail/number_parser.h"
#include "detail/unit.h"
#include "detail/unit_symbol.h"
Include dependency graph for substance.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< 'N', std::ratio< 1 > >
 
struct  SI::unit_symbol< 'N', _ratio >
 

Namespaces

 SI
 
 SI::literals
 

Typedefs

template<typename _type , typename _ratio >
using SI::substance_t = detail::unit_t< 'N', std::ratio< 1 >, _type, _ratio >
 
template<typename _type >
using SI::atto_mol_t = substance_t< _type, std::atto >
 
template<typename _type >
using SI::femto_mol_t = substance_t< _type, std::femto >
 
template<typename _type >
using SI::pico_mol_t = substance_t< _type, std::pico >
 
template<typename _type >
using SI::nano_mol_t = substance_t< _type, std::nano >
 
template<typename _type >
using SI::micro_mol_t = substance_t< _type, std::micro >
 
template<typename _type >
using SI::milli_mol_t = substance_t< _type, std::milli >
 
template<typename _type >
using SI::mol_t = substance_t< _type, std::ratio< 1 > >
 
template<typename _type >
using SI::kilo_mol_t = substance_t< _type, std::kilo >
 
template<typename _type >
using SI::mega_mol_t = substance_t< _type, std::mega >
 
template<typename _type >
using SI::giga_mol_t = substance_t< _type, std::giga >
 
template<typename _type >
using SI::tera_mol_t = substance_t< _type, std::tera >
 
template<typename _type >
using SI::peta_mol_t = substance_t< _type, std::peta >
 
template<typename _type >
using SI::exa_mol_t = substance_t< _type, std::exa >
 

Functions

template<char... _digits>
constexpr atto_mol_t< int64_t > SI::literals::operator""_amol ()
 
template<char... _digits>
constexpr femto_mol_t< int64_t > SI::literals::operator""_fmol ()
 
template<char... _digits>
constexpr pico_mol_t< int64_t > SI::literals::operator""_pmol ()
 
template<char... _digits>
constexpr nano_mol_t< int64_t > SI::literals::operator""_nmol ()
 
template<char... _digits>
constexpr micro_mol_t< int64_t > SI::literals::operator""_umol ()
 
template<char... _digits>
constexpr milli_mol_t< int64_t > SI::literals::operator""_mmol ()
 
template<char... _digits>
constexpr mol_t< int64_t > SI::literals::operator""_mol ()
 
template<char... _digits>
constexpr kilo_mol_t< int64_t > SI::literals::operator""_kmol ()
 
template<char... _digits>
constexpr mega_mol_t< int64_t > SI::literals::operator""_Mmol ()
 
template<char... _digits>
constexpr giga_mol_t< int64_t > SI::literals::operator""_Gmol ()
 
template<char... _digits>
constexpr tera_mol_t< int64_t > SI::literals::operator""_Tmol ()
 
template<char... _digits>
constexpr peta_mol_t< int64_t > SI::literals::operator""_Pmol ()
 
template<char... _digits>
constexpr exa_mol_t< int64_t > SI::literals::operator""_Emol ()
 
constexpr atto_mol_t< long double > SI::literals::operator""_amol (long double value)
 
constexpr femto_mol_t< long double > SI::literals::operator""_fmol (long double value)
 
constexpr pico_mol_t< long double > SI::literals::operator""_pmol (long double value)
 
constexpr nano_mol_t< long double > SI::literals::operator""_nmol (long double value)
 
constexpr micro_mol_t< long double > SI::literals::operator""_umol (long double value)
 
constexpr milli_mol_t< long double > SI::literals::operator""_mmol (long double value)
 
constexpr mol_t< long double > SI::literals::operator""_mol (long double value)
 
constexpr kilo_mol_t< long double > SI::literals::operator""_kmol (long double value)
 
constexpr mega_mol_t< long double > SI::literals::operator""_Mmol (long double value)
 
constexpr giga_mol_t< long double > SI::literals::operator""_Gmol (long double value)
 
constexpr tera_mol_t< long double > SI::literals::operator""_Tmol (long double value)
 
constexpr peta_mol_t< long double > SI::literals::operator""_Pmol (long double value)
 
constexpr exa_mol_t< long double > SI::literals::operator""_Emol (long double value)