]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.15
authorfred <fred>
Wed, 18 Dec 1996 01:00:54 +0000 (01:00 +0000)
committerfred <fred>
Wed, 18 Dec 1996 01:00:54 +0000 (01:00 +0000)
flower/interval.hh

index 6f9fa63f672b6856ca6179a597a63de575b5fbc4..a7a269153bf42ba9e34502011909dd0358a27bd4 100644 (file)
@@ -48,13 +48,23 @@ struct Interval {
        max +=r;
        return *this;
     }
-
+    bool elt_q(Real r);
     operator String() const;
-};
 
+    /// partial ordering
+    static compare(const Interval&,Interval const&);
+};
+/**
+  this represents the closed interval [min,max]
+  */
 
 Interval intersection(Interval, Interval const&);
 
+#include "compare.hh"
+
+instantiate_compare(Interval&, Interval::compare);
+
 #endif // INTERVAL_HH
 
 
+