X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2Fmain.test.hh;h=0cf67a53b3281104e41a958cfb51104774843a0d;hb=57daeae6f2e924ce3f16f9677c3474f531cba9e5;hp=ecd472cf268a35f5ededd8b618c3d321e9e6ce3f;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Packets/main.test.hh b/senf/Packets/main.test.hh index ecd472c..0cf67a5 100644 --- a/senf/Packets/main.test.hh +++ b/senf/Packets/main.test.hh @@ -1,4 +1,4 @@ -// $Id: TransportPacket.test.cc 560 2007-12-13 14:39:37Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institute for Open Communication Systems (FOKUS) @@ -29,7 +29,7 @@ // Custom includes //#include "main.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -47,13 +47,18 @@ namespace test { PacketInterpreterBase::Prepend_t) { return PacketInterpreter::create(impl,b,e,PacketInterpreterBase::Prepend); } + template + static typename PacketInterpreter::ptr create(PacketImpl * impl, iterator b, iterator e, + PacketInterpreterBase::ptr before) + { return PacketInterpreter::create(impl,b,e,before); } + static PacketImpl * impl(PacketInterpreterBase::ptr p) { return &p->impl(); } }; }}}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "main.test.cci" //#include "main.test.ct" //#include "main.test.cti"