X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacket.mpp;h=e743d5a3cde6b2039533541782cd2dc94bb16b71;hb=85ab07d100a382467a42e19d741d403a7a96c951;hp=36809a483250f5fac2fdd06e88153a676d184c1b;hpb=3e42ecb22121f2e6df86b27bea73f890384a4ee4;p=senf.git diff --git a/Packets/Packet.mpp b/Packets/Packet.mpp index 36809a4..e743d5a 100644 --- a/Packets/Packet.mpp +++ b/Packets/Packet.mpp @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -56,7 +56,7 @@ senf::Packet::reinterpret( BOOST_PP_ENUM( BOOST_PP_ITERATION(), pkARG, ) ) throw TruncatedPacketException(); typename ptr_t::ptr p ( new OtherPacket(PacketOp_replace(this), - BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a ) ), + BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a ) ), false); return p; } @@ -84,10 +84,10 @@ senf::Packet::registerInterpreter(raw_container::iterator begin, if (!OtherPacket::check(begin,end)) throw TruncatedPacketException(); typename ptr_t::ptr p ( - new OtherPacket(PacketOp_register(begin-impl_->data_.begin(), - end-impl_->data_.begin(), - this), - BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a) ), + new OtherPacket(PacketOp_register(begin-impl_->data_.begin(), + end-impl_->data_.begin(), + this), + BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a) ), false); return p; } @@ -96,7 +96,7 @@ senf::Packet::registerInterpreter(raw_container::iterator begin, /////////////////////////////////////////////////////////////////////////// // Packet::create declaration -template < class OtherPacket, class InputIterator, +template < class OtherPacket, class InputIterator, BOOST_PP_ENUM_PARAMS(BOOST_PP_ITERATION(), class A) > static typename senf::Packet::ptr_t::ptr create( InputIterator b, InputIterator e, @@ -106,7 +106,7 @@ static typename senf::Packet::ptr_t::ptr create( /////////////////////////////////////////////////////////////////////////// // Packet::create implementation -template < class OtherPacket, class InputIterator, +template < class OtherPacket, class InputIterator, BOOST_PP_ENUM_PARAMS(BOOST_PP_ITERATION(), class A) > typename senf::Packet::ptr_t::ptr senf::Packet::create( InputIterator b, InputIterator e, @@ -116,8 +116,8 @@ typename senf::Packet::ptr_t::ptr senf::Packet::create( if (!OtherPacket::check(impl->data_.begin(), impl->data_.end())) throw TruncatedPacketException(); typename ptr_t::ptr p ( - new OtherPacket(PacketOp_set(impl.get()), - BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a) ), + new OtherPacket(PacketOp_set(impl.get()), + BOOST_PP_ENUM_PARAMS( BOOST_PP_ITERATION(), a) ), false); return p; } @@ -130,5 +130,8 @@ typename senf::Packet::ptr_t::ptr senf::Packet::create( // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: