Skyward boardcore
Loading...
Searching...
No Matches
Length.h File Reference
#include <ratio>
#include "Units.h"
Include dependency graph for Length.h:

Go to the source code of this file.

Namespaces

namespace  Boardcore
 This file includes all the types the logdecoder script will decode.
 
namespace  Boardcore::Units
 
namespace  Boardcore::Units::Length
 

Typedefs

template<class Ratio = std::ratio<1>>
using Boardcore::Units::Length::Length = Unit<UnitKind::Length, Ratio>
 
using Boardcore::Units::Length::Millimeter = Length<std::milli>
 
using Boardcore::Units::Length::Centimeter = Length<std::centi>
 
using Boardcore::Units::Length::Decimeter = Length<std::deci>
 
using Boardcore::Units::Length::Meter = Length<>
 
using Boardcore::Units::Length::Kilometer = Length<std::kilo>
 

Functions

template<class ToLength , class FromLength >
ToLength Boardcore::Units::Length::length_cast (FromLength const &from)
 
constexpr auto Boardcore::Units::Length::operator""_mm (long double n)
 
constexpr auto Boardcore::Units::Length::operator""_cm (long double n)
 
constexpr auto Boardcore::Units::Length::operator""_dm (long double n)
 
constexpr auto Boardcore::Units::Length::operator""_m (long double n)
 
constexpr auto Boardcore::Units::Length::operator""_km (long double n)
 
constexpr auto Boardcore::Units::Length::operator""_mm (unsigned long long n)
 
constexpr auto Boardcore::Units::Length::operator""_cm (unsigned long long n)
 
constexpr auto Boardcore::Units::Length::operator""_dm (unsigned long long n)
 
constexpr auto Boardcore::Units::Length::operator""_m (unsigned long long n)
 
constexpr auto Boardcore::Units::Length::operator""_km (unsigned long long n)