X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacket.hh;h=af001a5f34dbcdc92b3e94832c495e7dfa0d29f2;hb=51b24c3227717ce5ad8111a99c2d7eea5fa0bd8d;hp=4e6147f0d75f007cac2b2f37389eed10736f2f76;hpb=0e6076544fbcaba94b6339f0074cb2adcd56d515;p=senf.git diff --git a/senf/Packets/Packet.hh b/senf/Packets/Packet.hh index 4e6147f..af001a5 100644 --- a/senf/Packets/Packet.hh +++ b/senf/Packets/Packet.hh @@ -518,10 +518,11 @@ namespace senf { PacketInterpreterBase::ptr const & ptr() const; - private: - Packet getNext() const; + Packet parseNextAs(factory_t factory, PacketInterpreterBase::optional_range const & range) const; + Packet getNext(PacketInterpreterBase::optional_range const & range) const; Packet getLast() const; + private: PacketInterpreterBase::ptr packet_; template @@ -772,7 +773,11 @@ namespace senf { itself, only it's members. \see \ref packetparser for the %parser interface */ - protected: +#ifndef DOXYGEN + using Packet::next; + + Packet next(NoThrow_t) const; +#endif private: typedef PacketInterpreter interpreter;