X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FParserBase.ih;h=8eee2346dc1a8f6e741952585389ce6d0f2dbbb4;hb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;hp=38698b9aae48761fdb4daa509dfe7855280605df;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Packets/ParserBase.ih b/Packets/ParserBase.ih index 38698b9..8eee234 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 @@ -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 *); @@ -95,5 +95,9 @@ namespace impl { // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" // End: