Implement serialize for sequence
authorDiane Trout <diane@caltech.edu>
Wed, 9 Aug 2006 01:19:24 +0000 (01:19 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 9 Aug 2006 01:19:24 +0000 (01:19 +0000)
commitf3b6e8fa194217e3c386a556430d496cd2e09ee7
tree2500e74523112b0c8517323183a5ca278d46e0d0
parentf464cbe60bbb56066a8120a760802b53c398e062
Implement serialize for sequence
This manages to save Sequence, motif, and annot using boost::serialization.

I added a serialize_simple to test_sequence.cpp

On the down side with this patch mussa now depends on boost::serialize
libraries.

(And it was harder to get working than I'd expected. I missed the fact
that there seems to be limits about sending non-const objects to an
archive class. I also found it useful to put the
template<class Archive> serialize() function into the header with
and to mark the class with BOOST_CLASS_EXPORT(). If one includes
the boost/archive/*archive classes before including sequence.hpp,
the BOOST_CLASS_EXPORT will force the appropriate template to be
instantiated.)
CMakeLists.txt
alg/sequence.cpp
alg/sequence.hpp
alg/test/CMakeLists.txt
alg/test/test_sequence.cpp
py/CMakeLists.txt
py/test/CMakeLists.txt
qui/test/CMakeLists.txt