|
|
| Fraction (const std::shared_ptr< json > &root, json_pointer pointer) |
| | Constructor to wrap a Fraction instance around existing JSON.
|
| |
| | Fraction (Base &parent, std::string_view key, const FractionValue &value) |
| | Creates a new Array class as a child of a JSON element.
|
| |
|
| operator FractionValue () const |
| | Implicit conversion to FractionValue for arithmetic and comparisons.
|
| |
|
| MNX_ARRAY_ELEMENT_PROPERTY (NumType, numerator, NUMERATOR_INDEX) |
| | the numerator of the fraction
|
| |
|
| MNX_ARRAY_ELEMENT_PROPERTY (NumType, denominator, DENOMINATOR_INDEX) |
| | the denominator of the fraction
|
| |
Represents a fraction of a whole note, for measuring musical time.