#include <rational.h>
◆ Rational() [1/4]
av::Rational::Rational |
( |
| ) |
|
|
noexcept |
◆ Rational() [2/4]
av::Rational::Rational |
( |
int |
numerator, |
|
|
int |
denominator = 1 |
|
) |
| |
|
noexcept |
◆ Rational() [3/4]
av::Rational::Rational |
( |
const AVRational & |
value | ) |
|
|
noexcept |
◆ Rational() [4/4]
◆ dump()
void av::Rational::dump |
( |
| ) |
const |
|
noexcept |
◆ fromDouble()
◆ getDenominator()
int av::Rational::getDenominator |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDouble()
double av::Rational::getDouble |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNumerator()
int av::Rational::getNumerator |
( |
| ) |
const |
|
inlinenoexcept |
◆ getValue() [1/2]
const AVRational& av::Rational::getValue |
( |
| ) |
const |
|
inlinenoexcept |
◆ getValue() [2/2]
AVRational& av::Rational::getValue |
( |
| ) |
|
|
inlinenoexcept |
◆ operator const AVRational &()
av::Rational::operator const AVRational & |
( |
| ) |
const |
|
inlinenoexcept |
◆ operator!=()
bool av::Rational::operator!= |
( |
const Rational & |
other | ) |
const |
|
inlinenoexcept |
◆ operator()()
double av::Rational::operator() |
( |
| ) |
const |
|
noexcept |
◆ operator*()
◆ operator+()
◆ operator-()
◆ operator/()
◆ operator<()
bool av::Rational::operator< |
( |
const Rational & |
other | ) |
const |
|
inlinenoexcept |
◆ operator<=()
bool av::Rational::operator<= |
( |
const Rational & |
other | ) |
const |
|
inlinenoexcept |
◆ operator=() [1/2]
Rational & av::Rational::operator= |
( |
const AVRational & |
value | ) |
|
|
noexcept |
◆ operator=() [2/2]
Rational & av::Rational::operator= |
( |
double |
value | ) |
|
|
noexcept |
◆ operator==()
bool av::Rational::operator== |
( |
const Rational & |
other | ) |
const |
|
noexcept |
◆ operator>()
bool av::Rational::operator> |
( |
const Rational & |
other | ) |
const |
|
inlinenoexcept |
◆ operator>=()
bool av::Rational::operator>= |
( |
const Rational & |
other | ) |
const |
|
inlinenoexcept |
◆ rescale()
int64_t av::Rational::rescale |
( |
int64_t |
srcValue, |
|
|
const Rational & |
dstBase |
|
) |
| const |
|
noexcept |
◆ setDenominator()
void av::Rational::setDenominator |
( |
int |
denominator | ) |
|
|
inlinenoexcept |
◆ setNumerator()
void av::Rational::setNumerator |
( |
int |
numerator | ) |
|
|
inlinenoexcept |
◆ setValue()
void av::Rational::setValue |
( |
const AVRational & |
newValue | ) |
|
|
inlinenoexcept |
The documentation for this class was generated from the following files: