X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FGenericPacket.hh;h=7506cb5378b8b171e5403592d4d45cd7e7da74d3;hb=9a988902090d28007578e93bffd809f6bd913155;hp=c8cd5d891ad756dffc08f302575a069d99c29da6;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Packets/GenericPacket.hh b/Packets/GenericPacket.hh index c8cd5d8..7506cb5 100644 --- a/Packets/GenericPacket.hh +++ b/Packets/GenericPacket.hh @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -28,8 +28,8 @@ ///////////////////////////////hh.p//////////////////////////////////////// -namespace satcom { -namespace pkf { +namespace senf { + /** \brief General packet comprised of header, trailer and payload @@ -60,12 +60,12 @@ namespace pkf { iterator end_trailer() const; static size_type trailer_len(); - static bool check(iterator const & b, iterator const & e) + static bool check(iterator const & b, iterator const & e) { return unsigned(e - b) >= HEADER + TRAILER; } - + protected: - private: + private: template GenericPacket(Arg const & arg); @@ -76,7 +76,7 @@ namespace pkf { friend class Packet; }; -}} +} ///////////////////////////////hh.e//////////////////////////////////////// //#include "GenericPacket.cci" @@ -87,5 +87,8 @@ namespace pkf { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: