Store Sequence sequence location in a shared_ptr class
authorDiane Trout <diane@caltech.edu>
Tue, 20 Mar 2007 23:05:43 +0000 (23:05 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 20 Mar 2007 23:05:43 +0000 (23:05 +0000)
commit7d4fbcb6060a60a8ea25ca1303fcaaaf8574f24a
tree9562534cbbfa1810c218826ad30ee6795f692b26
parent95b39cf6c13f0d203a98779a6cfcf42601405587
Store Sequence sequence location in a shared_ptr class
This is a large (176 changes) patch, that moved most of the
information needed to store a sequence location into a class called
SeqSpan, which is designed to be solely managed as a shared_ptr.

This is one step in converting sequence annotations into being tree
of subsequences.

The hope is that the Sequence class doesn't store very much and
is mostly responsible for managing various collections of shared_ptrs
(which are a bit annoying to work with as local variables).

This also updated GlSequence to be a subclass of Sequence
(instead of holding a reference a shared_ptr<Sequence>)

Those changes required updating many random little function
calls.
25 files changed:
alg/CMakeLists.txt
alg/flp_seqcomp.cpp
alg/glseqbrowser.cpp
alg/glseqbrowser.hpp
alg/glsequence.cpp
alg/glsequence.hpp
alg/motif_parser.cpp
alg/seq.hpp [new file with mode: 0644]
alg/seq_span.cpp [new file with mode: 0644]
alg/seq_span.hpp [new file with mode: 0644]
alg/sequence.cpp
alg/sequence.hpp
alg/sequence_location.hpp
alg/test/CMakeLists.txt
alg/test/test_glseqbrowser.cpp
alg/test/test_glsequence.cpp
alg/test/test_seq_span.cpp [new file with mode: 0644]
alg/test/test_sequence.cpp
mussa_exceptions.hpp
py/glsequence.cpp
py/module.cpp
qui/seqbrowser/SequenceBrowserWidget.cpp
qui/seqbrowser/SequenceDescription.cpp
qui/seqbrowser/seqproperties/SequencePropertiesModel.cpp
qui/test/TestSequenceDescription.hpp