qtty-cpp 0.4.5
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
velocity.hpp File Reference
#include "../ffi_core.hpp"
#include "length.hpp"
#include "time.hpp"
Include dependency graph for velocity.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  qtty::UnitTraits< CompoundTag< NumeratorTag, DenominatorTag > >
struct  qtty::UnitTraits< CompoundTag< MeterTag, SecondTag > >
struct  qtty::UnitTraits< CompoundTag< KilometerTag, HourTag > >
struct  qtty::UnitTraits< CompoundTag< MeterTag, HourTag > >
struct  qtty::UnitTraits< CompoundTag< KilometerTag, SecondTag > >
struct  qtty::UnitTraits< CompoundTag< MeterTag, MinuteTag > >
struct  qtty::UnitTraits< CompoundTag< KilometerTag, MinuteTag > >

Namespaces

namespace  qtty

Typedefs

template<typename LengthUnit, typename TimeUnit>
using qtty::Velocity = Quantity<CompoundTag<typename LengthUnit::unit_tag, typename TimeUnit::unit_tag>>
using qtty::MeterPerSecond = Quantity<CompoundTag<MeterTag, SecondTag>>
using qtty::KilometerPerHour = Quantity<CompoundTag<KilometerTag, HourTag>>
using qtty::KilometerPerSecond = Quantity<CompoundTag<KilometerTag, SecondTag>>
using qtty::MeterPerHour = Quantity<CompoundTag<MeterTag, HourTag>>
using qtty::MeterPerMinute = Quantity<CompoundTag<MeterTag, MinuteTag>>
using qtty::KilometerPerMinute = Quantity<CompoundTag<KilometerTag, MinuteTag>>

Functions

template<typename LengthTag, typename TimeTag>
Quantity< CompoundTag< LengthTag, TimeTag > > qtty::operator/ (const Quantity< LengthTag > &length, const Quantity< TimeTag > &time)