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.
|
#include "area.h"
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "force.h"
Go to the source code of this file.
Classes | |
struct | SI::unit_symbol< 'p', std::ratio< 1 > > |
struct | SI::unit_symbol< 'p', _ratio > |
Namespaces | |
SI | |
SI::detail | |
Namespace containing implementation details for SI. | |
SI::literals | |
Typedefs | |
template<typename _type , class _ratio = std::ratio<1>> | |
using | SI::pressure_t = detail::unit_t< 'p', std::ratio< 1 >, _type, _ratio > |
template<typename _type > | |
using | SI::atto_pascal_t = pressure_t< _type, std::atto > |
specific units More... | |
template<typename _type > | |
using | SI::femto_pascal_t = pressure_t< _type, std::femto > |
template<typename _type > | |
using | SI::pico_pascal_t = pressure_t< _type, std::pico > |
template<typename _type > | |
using | SI::nano_pascal_t = pressure_t< _type, std::nano > |
template<typename _type > | |
using | SI::micro_pascal_t = pressure_t< _type, std::micro > |
template<typename _type > | |
using | SI::milli_pascal_t = pressure_t< _type, std::milli > |
template<typename _type > | |
using | SI::pascal_t = pressure_t< _type, std::ratio< 1 > > |
template<typename _type > | |
using | SI::kilo_pascal_t = pressure_t< _type, std::kilo > |
template<typename _type > | |
using | SI::mega_pascal_t = pressure_t< _type, std::mega > |
template<typename _type > | |
using | SI::giga_pascal_t = pressure_t< _type, std::giga > |
template<typename _type > | |
using | SI::tera_pascal_t = pressure_t< _type, std::tera > |
template<typename _type > | |
using | SI::peta_pascal_t = pressure_t< _type, std::peta > |
template<typename _type > | |
using | SI::exa_pascal_t = pressure_t< _type, std::exa > |
Functions | |
template<char... _digits> | |
constexpr atto_pascal_t< int64_t > | SI::literals::operator""_apa () |
template<char... _digits> | |
constexpr femto_pascal_t< int64_t > | SI::literals::operator""_fpa () |
template<char... _digits> | |
constexpr pico_pascal_t< int64_t > | SI::literals::operator""_ppa () |
template<char... _digits> | |
constexpr nano_pascal_t< int64_t > | SI::literals::operator""_npa () |
template<char... _digits> | |
constexpr micro_pascal_t< int64_t > | SI::literals::operator""_upa () |
template<char... _digits> | |
constexpr milli_pascal_t< int64_t > | SI::literals::operator""_mpa () |
template<char... _digits> | |
constexpr pascal_t< int64_t > | SI::literals::operator""_pa () |
template<char... _digits> | |
constexpr kilo_pascal_t< int64_t > | SI::literals::operator""_kpa () |
template<char... _digits> | |
constexpr mega_pascal_t< int64_t > | SI::literals::operator""_Mpa () |
template<char... _digits> | |
constexpr giga_pascal_t< int64_t > | SI::literals::operator""_Gpa () |
template<char... _digits> | |
constexpr tera_pascal_t< int64_t > | SI::literals::operator""_Tpa () |
template<char... _digits> | |
constexpr peta_pascal_t< int64_t > | SI::literals::operator""_Ppa () |
template<char... _digits> | |
constexpr exa_pascal_t< int64_t > | SI::literals::operator""_Epa () |
constexpr atto_pascal_t< long double > | SI::literals::operator""_apa (long double value) |
constexpr femto_pascal_t< long double > | SI::literals::operator""_fpa (long double value) |
constexpr pico_pascal_t< long double > | SI::literals::operator""_ppa (long double value) |
constexpr nano_pascal_t< long double > | SI::literals::operator""_npa (long double value) |
constexpr micro_pascal_t< long double > | SI::literals::operator""_upa (long double value) |
constexpr milli_pascal_t< long double > | SI::literals::operator""_mpa (long double value) |
constexpr pascal_t< long double > | SI::literals::operator""_pa (long double value) |
constexpr kilo_pascal_t< long double > | SI::literals::operator""_kpa (long double value) |
constexpr mega_pascal_t< long double > | SI::literals::operator""_Mpa (long double value) |
constexpr giga_pascal_t< long double > | SI::literals::operator""_Gpa (long double value) |
constexpr tera_pascal_t< long double > | SI::literals::operator""_Tpa (long double value) |
constexpr peta_pascal_t< long double > | SI::literals::operator""_Ppa (long double value) |
constexpr exa_pascal_t< long double > | SI::literals::operator""_Epa (long double value) |