X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FListBParser.ih;h=9439ef2e92c55ee07d648fb297412249ea9119e6;hb=0734bd14c709ca5ba1d0ed69c5b9f5d1487e5faa;hp=89f7a11fff1e86663efa4565cd4d9910f67f7fd4;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Packets/ListBParser.ih b/Packets/ListBParser.ih index 89f7a11..9439ef2 100644 --- a/Packets/ListBParser.ih +++ b/Packets/ListBParser.ih @@ -1,8 +1,8 @@ // $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 // // This program is free software; you can redistribute it and/or modify @@ -42,7 +42,7 @@ namespace detail { { // This policy needs to work around a serious problem with this type of list: When we change // the size of any (direct or indirect) subelement of the list, This will change will render - // the list completely invalid and unparseable since the 'byte' field will now be invalid. + // the list completely invalid and unparseable since the 'byte' field will now be invalid. // // The solution we apply is to store the *size* (i.e. the number of elements) of the list // when creating the container wrapper. We also maintain this value accross insert/erase @@ -63,7 +63,7 @@ namespace detail { // just apply the size change directly to the bytes header (no need to traverse the // list). However, the implementation of this approach would be much more complex and even // more invasive and would probably suffer from the same restrictions to the user. - + struct container_policy; typedef PacketParserBase::data_iterator iterator; @@ -78,7 +78,7 @@ namespace detail { size_type bytes (iterator i, state_type s) const; size_type size (iterator i, state_type s) const; void init (iterator i, state_type s) const; - + /** \brief Internal: ListBParser_Policy's iterator policy \internal */ @@ -105,7 +105,7 @@ namespace detail { static const size_type init_bytes = ListBParser_Policy< ElementParser,BytesParser>::init_bytes; - + container_policy(parser_type const & list); size_type bytes (iterator i, state_type s) const;