1 #ifndef _SEQUENCE_LOCATION_H_
2 #define _SEQUENCE_LOCATION_H_
4 #include <boost/shared_ptr.hpp>
5 #include "alg/sequence.hpp"
7 //! convenience structure for holding selected track segments
8 class SequenceLocation {
10 SequenceLocation(boost::shared_ptr<Sequence> s, int l, int r);
11 SequenceLocation(const Sequence& s, int l, int r);
12 SequenceLocation(const SequenceLocation& );
13 SequenceLocation& operator=(const SequenceLocation&);
15 //! get the sequence we're selecting from
16 const Sequence& getSequence() const;
17 //! return the selected subsequence
18 Sequence getSelectedSequence() const;
22 int getCount() const ;
23 //! set one past the right-most base
28 boost::shared_ptr<Sequence> sequence;