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
electric_resistance.h File Reference
#include "detail/number_parser.h"
#include "detail/operator_helpers.h"
#include "detail/unit.h"
#include "electric_current.h"
#include "electric_potential.h"
Include dependency graph for electric_resistance.h:

Go to the source code of this file.

Classes

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

Namespaces

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

Typedefs

template<typename _type , class _ratio = std::ratio<1>>
using SI::electric_resistance_t = detail::unit_t< 'O', std::ratio< 1 >, _type, _ratio >
 
template<typename _type >
using SI::atto_ohm_t = electric_resistance_t< _type, std::atto >
 specific units More...
 
template<typename _type >
using SI::femto_ohm_t = electric_resistance_t< _type, std::femto >
 
template<typename _type >
using SI::pico_ohm_t = electric_resistance_t< _type, std::pico >
 
template<typename _type >
using SI::nano_ohm_t = electric_resistance_t< _type, std::nano >
 
template<typename _type >
using SI::micro_ohm_t = electric_resistance_t< _type, std::micro >
 
template<typename _type >
using SI::milli_ohm_t = electric_resistance_t< _type, std::milli >
 
template<typename _type >
using SI::ohm_t = electric_resistance_t< _type, std::ratio< 1 > >
 
template<typename _type >
using SI::kilo_ohm_t = electric_resistance_t< _type, std::kilo >
 
template<typename _type >
using SI::mega_ohm_t = electric_resistance_t< _type, std::mega >
 
template<typename _type >
using SI::giga_ohm_t = electric_resistance_t< _type, std::giga >
 
template<typename _type >
using SI::tera_ohm_t = electric_resistance_t< _type, std::tera >
 
template<typename _type >
using SI::peta_ohm_t = electric_resistance_t< _type, std::peta >
 
template<typename _type >
using SI::exa_ohm_t = electric_resistance_t< _type, std::exa >
 

Functions

 SI::detail::BUILD_UNIT_FROM_DIVISION (electric_conductance_t, electric_current_t, electric_potential_t) template< typename _type
 
template<char... _digits>
constexpr atto_ohm_t< int64_t > SI::literals::operator""_aOhm ()
 
template<char... _digits>
constexpr femto_ohm_t< int64_t > SI::literals::operator""_fOhm ()
 
template<char... _digits>
constexpr pico_ohm_t< int64_t > SI::literals::operator""_pOhm ()
 
template<char... _digits>
constexpr nano_ohm_t< int64_t > SI::literals::operator""_nOhm ()
 
template<char... _digits>
constexpr micro_ohm_t< int64_t > SI::literals::operator""_uOhm ()
 
template<char... _digits>
constexpr milli_ohm_t< int64_t > SI::literals::operator""_mOhm ()
 
template<char... _digits>
constexpr ohm_t< int64_t > SI::literals::operator""_Ohm ()
 
template<char... _digits>
constexpr kilo_ohm_t< int64_t > SI::literals::operator""_kOhm ()
 
template<char... _digits>
constexpr mega_ohm_t< int64_t > SI::literals::operator""_MOhm ()
 
template<char... _digits>
constexpr giga_ohm_t< int64_t > SI::literals::operator""_GOhm ()
 
template<char... _digits>
constexpr tera_ohm_t< int64_t > SI::literals::operator""_TOhm ()
 
template<char... _digits>
constexpr peta_ohm_t< int64_t > SI::literals::operator""_POhm ()
 
template<char... _digits>
constexpr exa_ohm_t< int64_t > SI::literals::operator""_EOhm ()
 
constexpr atto_ohm_t< long double > SI::literals::operator""_aOhm (long double value)
 
constexpr femto_ohm_t< long double > SI::literals::operator""_fOhm (long double value)
 
constexpr pico_ohm_t< long double > SI::literals::operator""_pOhm (long double value)
 
constexpr nano_ohm_t< long double > SI::literals::operator""_nOhm (long double value)
 
constexpr micro_ohm_t< long double > SI::literals::operator""_uOhm (long double value)
 
constexpr milli_ohm_t< long double > SI::literals::operator""_mOhm (long double value)
 
constexpr ohm_t< long double > SI::literals::operator""_Ohm (long double value)
 
constexpr kilo_ohm_t< long double > SI::literals::operator""_kOhm (long double value)
 
constexpr mega_ohm_t< long double > SI::literals::operator""_MOhm (long double value)
 
constexpr giga_ohm_t< long double > SI::literals::operator""_GOhm (long double value)
 
constexpr tera_ohm_t< long double > SI::literals::operator""_TOhm (long double value)
 
constexpr peta_ohm_t< long double > SI::literals::operator""_POhm (long double value)
 
constexpr exa_ohm_t< long double > SI::literals::operator""_EOhm (long double value)