// $Id$
//
-// Copyright (C) 2006
+// Copyright (C) 2006
// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
throw TruncatedPacketException();
typename ptr_t<OtherPacket>::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;
}
if (!OtherPacket::check(begin,end))
throw TruncatedPacketException();
typename ptr_t<OtherPacket>::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;
}
///////////////////////////////////////////////////////////////////////////
// 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<OtherPacket>::ptr create(
InputIterator b, InputIterator e,
///////////////////////////////////////////////////////////////////////////
// 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<OtherPacket>::ptr senf::Packet::create(
InputIterator b, InputIterator e,
if (!OtherPacket::check(impl->data_.begin(), impl->data_.end()))
throw TruncatedPacketException();
typename ptr_t<OtherPacket>::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;
}
\f
// Local Variables:
// mode: c++
+// fill-column: 100
// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
// End: