2 pitch-interval.hh -- declare Pitch_interval
4 source file of the GNU LilyPond music typesetter
6 (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef PITCH_INTERVAL_HH
10 #define PITCH_INTERVAL_HH
14 class Pitch_interval
: public Drul_array
<Pitch
>
18 Pitch_interval (Pitch
, Pitch
);
19 Drul_array
<bool> add_point (Pitch
);
20 bool is_empty () const;
23 class Pitch_lexicographic_interval
: public Drul_array
<Pitch
>
26 Pitch_lexicographic_interval ();
27 Pitch_lexicographic_interval (Pitch
, Pitch
);
28 Drul_array
<bool> add_point (Pitch
);
29 bool is_empty () const;
32 #endif /* PITCH_INTERVAL_HH */