X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FParserBase.ih;h=f950f6d45a1ab116ceecea5893b909879f7e2ad5;hb=9a988902090d28007578e93bffd809f6bd913155;hp=924189ac03e3b97befcda1f193b0cffa08d075e1;hpb=c257a57f7c0af972d3abc60eaa0b75d303324928;p=senf.git diff --git a/Packets/ParserBase.ih b/Packets/ParserBase.ih index 924189a..f950f6d 100644 --- a/Packets/ParserBase.ih +++ b/Packets/ParserBase.ih @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2006 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) // Stefan Bund @@ -27,8 +27,8 @@ ///////////////////////////////ih.p//////////////////////////////////////// -namespace satcom { -namespace pkf { +namespace senf { + namespace impl { struct ParserBase {}; @@ -53,27 +53,27 @@ namespace impl { template bool check(Iterator const & b, Iterator const & e, ParserBase *); - + template bool check(Iterator const & b, Iterator const & e, void *); template struct ParserCheck { template - static unsigned check(Iterator const & b, Iterator const & e) + static unsigned check(Iterator const & b, Iterator const & e) { return Parser::check(b,e); } }; - + template struct ParserCheck { template static unsigned check(Iterator const & b, Iterator const & e) { return unsigned(e-b) >= Parser::bytes(); } }; - + template unsigned min_bytes(ParserBase *); - + template unsigned min_bytes(void *); @@ -87,7 +87,7 @@ namespace impl { static unsigned bytes() { return Parser::bytes(); } }; -}}} +}} ///////////////////////////////ih.e//////////////////////////////////////// #endif @@ -95,5 +95,8 @@ namespace impl { // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: