SequenceLocation was being intialized with left,right
[mussa.git] / alg / sequence_location.hpp
index 31831ce96b316e7d28514b0de41892ff0ec00636..3aca443b4164352817ff84e5edfb7e6abe6477e5 100644 (file)
@@ -7,8 +7,8 @@
 //! convenience structure for holding selected track segments
 class SequenceLocation {
   public:
-    SequenceLocation(boost::shared_ptr<Sequence> s, int l, int c);
-    SequenceLocation(const Sequence& s, int l, int c);
+    SequenceLocation(boost::shared_ptr<Sequence> s, int l, int r);
+    SequenceLocation(const Sequence& s, int l, int r);
     SequenceLocation(const SequenceLocation& );
     SequenceLocation& operator=(const SequenceLocation&);
 
@@ -20,12 +20,13 @@ class SequenceLocation {
     int getLeft() const;
     void setCount(int c);
     int getCount() const ;
+    //! set one past the right-most base 
     void setRight(int r);
     int getRight() const;
 
   private:
     boost::shared_ptr<Sequence> sequence;
     int left;
-    int count;
+    int right;
   };
 #endif