![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Literal constants for frequency quantities. More...
Functions | |
| constexpr hertz | operator""_Hz (long double v) |
| Literal hertz value. More... | |
| constexpr hertz | operator""_Hz (unsigned long long int v) |
| Literal hertz value. More... | |
| constexpr kilohertz | operator""_kHz (long double v) |
| Literal kilohertz value. More... | |
| constexpr kilohertz | operator""_kHz (unsigned long long int v) |
| Literal kilohertz value. More... | |
| constexpr megahertz | operator""_MHz (long double v) |
| Literal megahertz value. More... | |
| constexpr megahertz | operator""_MHz (unsigned long long int v) |
| Literal megahertz value. More... | |
| constexpr gigahertz | operator""_GHz (long double v) |
| Literal gigahertz value. More... | |
| constexpr gigahertz | operator""_GHz (unsigned long long int v) |
| Literal gigahertz value. More... | |
Literal constants for frequency quantities.
These functions allow a simplified syntax for specifying a frequency quantity. In order to use these, their namespace must be used:
| constexpr gigahertz util::quantities::frequency_literals::operator""_GHz | ( | long double | v | ) |
Literal gigahertz value.
Definition at line 166 of file frequency.h.
| constexpr gigahertz util::quantities::frequency_literals::operator""_GHz | ( | unsigned long long int | v | ) |
Literal gigahertz value.
Definition at line 170 of file frequency.h.
References f, and operator*().
| constexpr hertz util::quantities::frequency_literals::operator""_Hz | ( | long double | v | ) |
Literal hertz value.
Definition at line 130 of file frequency.h.
| constexpr hertz util::quantities::frequency_literals::operator""_Hz | ( | unsigned long long int | v | ) |
Literal hertz value.
Definition at line 134 of file frequency.h.
| constexpr kilohertz util::quantities::frequency_literals::operator""_kHz | ( | long double | v | ) |
Literal kilohertz value.
Definition at line 142 of file frequency.h.
| constexpr kilohertz util::quantities::frequency_literals::operator""_kHz | ( | unsigned long long int | v | ) |
Literal kilohertz value.
Definition at line 146 of file frequency.h.
| constexpr megahertz util::quantities::frequency_literals::operator""_MHz | ( | long double | v | ) |
Literal megahertz value.
Definition at line 154 of file frequency.h.
| constexpr megahertz util::quantities::frequency_literals::operator""_MHz | ( | unsigned long long int | v | ) |
Literal megahertz value.
Definition at line 158 of file frequency.h.