//! 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&);
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