// $Id$
//
-// Copyright (C) 2007
-// Fraunhofer Institute for Open Communication Systems (FOKUS)
-// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Copyright (C) 2007
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// senf::Packet
template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::findNext(NoThrow_t)
+prefix_ OtherPacket senf::Packet::find(NoThrow_t)
const
{
Packet p (*this);
while (p && ! p.is<OtherPacket>())
- p = p.next();
+ p = p.next(nothrow);
if (p)
return p.as<OtherPacket>();
else
}
template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::findPrev(NoThrow_t)
+prefix_ OtherPacket senf::Packet::rfind(NoThrow_t)
const
{
Packet p (*this);
while (p && ! p.is<OtherPacket>())
- p = p.prev();
+ p = p.prev(nothrow);
if (p)
return p.as<OtherPacket>();
else