TypeSI
Units of 'Système international' Blended for C++
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
si_base.hpp File Reference

Base SI units. More...

Go to the source code of this file.

Namespaces

namespace  Si::Base
 Base SI units.
 
namespace  Si::Base::Literals
 Use this namespace to enable literals for base units.
 

Typedefs

template<typename T >
using Si::Base::Meter = Internal::Unit< T, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Kilogram = Internal::Unit< T, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Second = Internal::Unit< T, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Ampere = Internal::Unit< T, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Kelvin = Internal::Unit< T, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Mole = Internal::Unit< T, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 >, std::ratio< 0 > >
 
template<typename T >
using Si::Base::Candela = Internal::Unit< T, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 0 >, std::ratio< 1 > >
 

Functions

Meter< long double > Si::Base::Literals::operator""_m (long double value)
 _m long double literal for meter
 
Kilogram< long double > Si::Base::Literals::operator""_kg (long double value)
 _kg long double literal for kilogram
 
Second< long double > Si::Base::Literals::operator""_s (long double value)
 _s long double literal for second
 
Ampere< long double > Si::Base::Literals::operator""_A (long double value)
 _A long double literal for ampere
 
Kelvin< long double > Si::Base::Literals::operator""_K (long double value)
 _K long double literal for kelvin
 
Mole< long double > Si::Base::Literals::operator""_mol (long double value)
 _mol long double literal for mole
 
Candela< long double > Si::Base::Literals::operator""_cd (long double value)
 _cd long double literal for candela
 

Detailed Description

Base SI units.