MUSX Document Model
|
A single time signature component. More...
#include <CommonClasses.h>
Public Member Functions | |
bool | operator== (const TimeSigComponent &src) const |
Test if two TimeSigComponent values are the same. | |
util::Fraction | sumCounts () const |
Compute the sum of all counts. | |
Edu | sumUnits () const |
Compute the sum of all units. | |
Public Attributes | |
std::vector< util::Fraction > | counts |
std::vector< Edu > | units |
A single time signature component.
std::vector<util::Fraction> musx::dom::TimeSignature::TimeSigComponent::counts |
The array of counts in this component. For simple time signatures this is a single value, and it is an integer like 4/1.
std::vector<Edu> musx::dom::TimeSignature::TimeSigComponent::units |
The array of beat values in this component. For simple time signatures this is a single value, and it is a note value like 1024 (quarter note) For straightforward compound time it may be a single dotted value like 1536 (dotted quarter)