source file of the GNU LilyPond music typesetter
- (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef PITCH_INTERVAL_HH
public:
Pitch_interval ();
Pitch_interval (Pitch, Pitch);
- void add_point (Pitch);
+ Drul_array<bool> add_point (Pitch);
+ bool is_empty () const;
+};
+
+class Pitch_lexicographic_interval : public Drul_array<Pitch>
+{
+public:
+ Pitch_lexicographic_interval ();
+ Pitch_lexicographic_interval (Pitch, Pitch);
+ Drul_array<bool> add_point (Pitch);
bool is_empty () const;
};