From 57665ab41ae26b15d20aeeb5693177502098d985 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 20 Dec 1996 22:09:28 +0000 Subject: [PATCH] lilypond-0.0.19 --- hdr/grouping.hh | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/hdr/grouping.hh b/hdr/grouping.hh index 21a4b4b70f..da1ddd2ce3 100644 --- a/hdr/grouping.hh +++ b/hdr/grouping.hh @@ -11,28 +11,44 @@ #include "vray.hh" - +/// data structure which represents rhythmic units struct Rhythmic_grouping { - svec divisions; + svec children; - + Interval *interval_; + /****************/ - svec interior(); - Rhythmic_grouping partial_grouping(Interval t); + svec intervals(); + Interval interval()const; Real length() const; - Interval time() const; - Rhythmic_grouping(Interval); - Rhythmic_grouping(); - Rhythmic_grouping(svec); - Rhythmic_grouping(Rhythmic_grouping const&); + void intersect(Interval); + void operator=(Rhythmic_grouping const&); + Rhythmic_grouping(Rhythmic_grouping const&); + Rhythmic_grouping(Interval, int n=1); + Rhythmic_grouping(); + Rhythmic_grouping(svec); + ~Rhythmic_grouping(); + + void add_child(Real start, Real len); + void split(Rhythmic_grouping r); - void split(svec); - void intersect(Interval); + void split(svec); void split(int n); + void print() const; void OK() const; - ~Rhythmic_grouping(); + + svec generate_beams(svec, int&); + +private: + void junk(); + void copy(Rhythmic_grouping const&); }; +/** + this is a tree. It groupes notes according to rules + + */ + #endif -- 2.39.5