X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FListParser.hh;h=352d6b1eb03803c44d7ed70a51be1825dc3676b2;hb=b490ccf2b17ccb29681e60b3e35aa5a949df3a10;hp=3b26dadb09b42a31a4fa351f5d992f7ac620e802;hpb=8170f9bdf8fae3d9f16b20e04bdea7770280ccf0;p=senf.git diff --git a/senf/Packets/ListParser.hh b/senf/Packets/ListParser.hh index 3b26dad..352d6b1 100644 --- a/senf/Packets/ListParser.hh +++ b/senf/Packets/ListParser.hh @@ -63,7 +63,7 @@ namespace senf { packet_usage_fields_collection. \see - \ref How to access \ref packet_usage_fields_collection + How to access \ref packet_usage_fields_collection \n SENF_PARSER_LIST() macro used to define list fields \n ListParser_Container list container wrapper API \n ExampleListPolicy @@ -102,9 +102,9 @@ namespace senf { value_type back() const; template void push_back (Value const & value, size_type n=1) const; - void push_back_space (size_type n=1) const; + value_type push_back_space (size_type n=1) const; template void push_front (Value const & value, size_type n=1) const; - void push_front_space (size_type n=1) const; + value_type push_front_space (size_type n=1) const; void resize (size_type n) const; template void resize (size_type n, Value value) const; @@ -183,7 +183,7 @@ namespace senf { ///@{ // All these operations can be quite inefficient depending on the list type - void shift(iterator pos, size_type n=1); + value_type shift(iterator pos, size_type n=1); template void insert(iterator pos, Value const & t); template @@ -201,10 +201,10 @@ namespace senf { void clear(); template void push_back (Value const & value, size_type n=1); - void push_back_space (size_type n=1); + value_type push_back_space (size_type n=1); template void push_front (Value const & value, size_type n=1); - void push_front_space (size_type n=1); - void resize (size_type n); + value_type push_front_space (size_type n=1); + void resize (size_type n); template void resize (size_type n, Value value); ///@}