Whitespce cleanup: Remove whitespace at end-on-line, remove tabs, wrap
[senf.git] / senf / Packets / PacketImpl.hh
index 0ad1e77..8c64647 100644 (file)
@@ -34,9 +34,8 @@
 #include <boost/type_traits/has_trivial_constructor.hpp>
 #include <boost/type_traits/has_trivial_destructor.hpp>
 #include <boost/static_assert.hpp>
-#include "../Utils/pool_alloc_mixin.hh"
-#include "PacketTypes.hh"
-#include "../Utils/singleton.hh"
+#include <senf/Utils/pool_alloc_mixin.hh>
+#include <senf/Utils/singleton.hh>
 
 //#include "PacketImpl.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -92,8 +91,8 @@ namespace detail {
     };
 
     template <class Annotation>
-    struct AnnotationIndexer 
-        : public senf::singleton< AnnotationIndexer<Annotation> >, 
+    struct AnnotationIndexer
+        : public senf::singleton< AnnotationIndexer<Annotation> >,
           public AnnotationIndexerBase
     {
         AnnotationIndexer();
@@ -106,7 +105,7 @@ namespace detail {
 #       if 0 // The test is difficult since it does not work with user-defined trivial constructors
 #       ifdef BOOST_HAS_TYPE_TRAITS_INTRINSICS
 
-        BOOST_STATIC_ASSERT(( (boost::has_trivial_constructor<Annotation>::value 
+        BOOST_STATIC_ASSERT(( (boost::has_trivial_constructor<Annotation>::value
                                && boost::has_trivial_destructor<Annotation>::value)
                               || Complex ));
 
@@ -175,6 +174,7 @@ namespace detail {
 
         void appendInterpreter    (PacketInterpreterBase * p);
         void prependInterpreter   (PacketInterpreterBase * p);
+        void prependInterpreter   (PacketInterpreterBase * p, PacketInterpreterBase * before);
         void truncateInterpreters (PacketInterpreterBase * p);
         void truncateInterpretersBackwards (PacketInterpreterBase * p);
 
@@ -221,7 +221,7 @@ namespace detail {
         refcount_t refcount_;
         raw_container data_;
         interpreter_list interpreters_;
-        
+
         typedef std::vector<AnnotationEntry> Annotations;
         Annotations annotations_;