X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FClientSocketHandle.ih;h=619f524171b1f220c05aa6e15f8c76aac93b163d;hb=ae06fe86f16fdabb7ffb219d255444d2eb4f4f79;hp=e970c1a1629db886507baf8beb1f277eaae44e57;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Socket/ClientSocketHandle.ih b/Socket/ClientSocketHandle.ih index e970c1a..619f524 100644 --- a/Socket/ClientSocketHandle.ih +++ b/Socket/ClientSocketHandle.ih @@ -25,7 +25,7 @@ #define IH_ClientSocketHandle_ 1 // Custom includes -#include "Utils/IteratorTraits.hh" +#include "../Utils/IteratorTraits.hh" ///////////////////////////////ih.p//////////////////////////////////////// @@ -35,6 +35,13 @@ namespace detail { /////////////////////////////////////////////////////////////////////// // senf::detail::ReadRange + /** \brief Internal: Choose optimal read implementation + + \internal + + If the range iterator is a contiguous_storage_iterator, the data is *directly* read into the + range, otherwise a temporary storage area is used. + */ template struct ReadRange { @@ -45,6 +52,8 @@ namespace detail { readfrom(Handle & handle, ForwardWritableRange & range, typename Handle::Address & addr); }; +# ifndef DOXYGEN + template struct ReadRange { @@ -55,20 +64,31 @@ namespace detail { readfrom(Handle & handle, ForwardWritableRange & range, typename Handle::Address & addr); }; +# endif + /////////////////////////////////////////////////////////////////////// // senf::detail::WriteRange + /** \brief Internal: Choose optimal write implementation + + \internal + + If the range iterator is a contiguous_storage_iterator, the data is *directly* written from + the range, otherwise a temporary storage area is used. + */ template struct WriteRange { - static typename boost::range_iterator::type + static typename boost::range_const_iterator::type write(Handle & handle, ForwardReadableRange & range); - static typename boost::range_iterator::type + static typename boost::range_const_iterator::type writeto(Handle & handle, ForwardReadableRange & range, typename Handle::Address const & addr); }; +# ifndef DOXYGEN + template struct WriteRange { @@ -80,6 +100,8 @@ namespace detail { typename Handle::Address const & addr); }; +# endif + }} ///////////////////////////////ih.e//////////////////////////////////////// @@ -93,4 +115,5 @@ namespace detail { // indent-tabs-mode: nil // ispell-local-dictionary: "american" // compile-command: "scons -u test" +// comment-column: 40 // End: