Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / sequence.hpp
index fc8a0cfe7b2eea9d2690f5adfdc9af5b0b175544..706f499f29a48596a0471245448a61568ff0535f 100644 (file)
 #include <boost/filesystem/path.hpp>
 #include <boost/filesystem/fstream.hpp>
 
-#include <boost/serialization/base_object.hpp>
-#include <boost/serialization/export.hpp>
-#include <boost/serialization/list.hpp>
-#include <boost/serialization/nvp.hpp>
-#include <boost/serialization/string.hpp>
-#include <boost/serialization/shared_ptr.hpp>
-#include <boost/serialization/utility.hpp>
-#include <boost/serialization/version.hpp>
-#include <boost/serialization/vector.hpp>
-
 #include <boost/shared_ptr.hpp>
 #include <boost/enable_shared_from_this.hpp>
 
@@ -69,7 +59,6 @@ private:
     ar & BOOST_SERIALIZATION_NVP(sequence);
   }
 };
-BOOST_CLASS_EXPORT(motif);
 
 class Sequence;
 typedef boost::shared_ptr<Sequence> SequenceRef;
@@ -78,6 +67,8 @@ typedef boost::shared_ptr<Sequence> SequenceRef;
 class Sequence 
 {
 public:
+
+
   typedef SeqString::value_type value_type;
   typedef SeqString::difference_type difference_type;
   typedef SeqString::iterator iterator;
@@ -254,16 +245,6 @@ protected:
   //! look for a string sequence type and and it to an annotation list
   void add_string_annotation(std::string a_seq, std::string name);
   
-  // boost::serialization support
-  friend class boost::serialization::access;
-  template<class Archive>
-  void serialize(Archive& ar, const unsigned int /*version*/) {
-    ar & BOOST_SERIALIZATION_NVP(seq);
-    ar & BOOST_SERIALIZATION_NVP(header);
-    ar & BOOST_SERIALIZATION_NVP(species);
-    ar & BOOST_SERIALIZATION_NVP(annotation_list);
-    ar & BOOST_SERIALIZATION_NVP(motif_list);
-  }
 };
-BOOST_CLASS_EXPORT(Sequence);
+
 #endif