1 #ifndef IMPORTMIDI_FRACTION_H 2 #define IMPORTMIDI_FRACTION_H 62 #endif // IMPORTMIDI_FRACTION_H bool operator<=(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:284
ReducedFraction & operator+=(const ReducedFraction &)
Definition: importmidi_fraction.cpp:197
ReducedFraction operator+(const ReducedFraction &v) const
Definition: importmidi_fraction.h:36
int numerator() const
Definition: importmidi_fraction.h:17
ReducedFraction operator*(const ReducedFraction &v) const
Definition: importmidi_fraction.h:38
ReducedFraction operator/(int v) const
Definition: importmidi_fraction.h:41
ReducedFraction operator/(const ReducedFraction &v) const
Definition: importmidi_fraction.h:40
void reduce()
Definition: importmidi_fraction.cpp:157
double toDouble() const
Definition: importmidi_fraction.h:23
void preventOverflow()
Definition: importmidi_fraction.cpp:174
bool operator==(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:305
bool isIdenticalTo(const ReducedFraction &f) const
Definition: importmidi_fraction.h:26
ReducedFraction()
Definition: importmidi_fraction.cpp:99
ReducedFraction toMuseScoreTicks(int tick, int oldDivision, bool isDivisionInTps)
Definition: importmidi_fraction.cpp:322
ReducedFraction & operator/=(const ReducedFraction &)
Definition: importmidi_fraction.cpp:250
ReducedFraction & operator-=(const ReducedFraction &)
Definition: importmidi_fraction.cpp:210
ReducedFraction operator-(const ReducedFraction &v) const
Definition: importmidi_fraction.h:37
ReducedFraction operator*(int v) const
Definition: importmidi_fraction.h:39
bool operator>=(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:298
Definition: aeolus.cpp:26
ReducedFraction absValue() const
Definition: importmidi_fraction.h:22
int denominator_
Definition: importmidi_fraction.h:54
int ticks() const
Definition: importmidi_fraction.cpp:134
ReducedFraction reduced() const
Definition: importmidi_fraction.cpp:122
Definition: importmidi_fraction.h:9
bool operator>(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:291
Fraction fraction() const
Definition: importmidi_fraction.h:16
Definition: fraction.h:46
bool operator!=(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:312
int denominator() const
Definition: importmidi_fraction.h:18
bool operator<(const ReducedFraction &) const
Definition: importmidi_fraction.cpp:277
int numerator_
Definition: importmidi_fraction.h:53
static ReducedFraction fromTicks(int ticks)
Definition: importmidi_fraction.cpp:117
ReducedFraction & operator*=(const ReducedFraction &)
Definition: importmidi_fraction.cpp:223