Go to the documentation of this file.
26 #include <string_view>
29 #include <boost/iostreams/filtering_streambuf.hpp>
30 #include <boost/iostreams/copy.hpp>
31 #include <boost/iostreams/filter/gzip.hpp>
33 #include <Ice/OutputStream.h>
51 std::tie(_begin, _end) = _out.finished();
65 const Ice::Byte*
end()
const
70 std::ptrdiff_t
size()
const
75 Ice::OutputStream _out;
76 const Ice::Byte* _begin{
nullptr};
77 const Ice::Byte* _end{
nullptr};
96 const std::string_view sv(
reinterpret_cast<const char*
>(_ser.begin()), _ser.size());
98 std::stringstream istr;
100 boost::iostreams::filtering_istreambuf in;
101 in.push(boost::iostreams::gzip_compressor());
103 std::stringstream ostr;
const Ice::Byte * begin() const
void serialize(const T &obj)
const char * begin() const
ObjectToIceBlobSerializer(const T &obj)
void serialize(const T &obj)
Use of this software is granted under one of the following two to be chosen freely by the user Boost Software License Version Marcin Kalicinski Permission is hereby free of to any person or organization obtaining a copy of the software and accompanying documentation covered by this and transmit the and to prepare derivative works of the and to permit third parties to whom the Software is furnished to do all subject to the including the above license this restriction and the following must be included in all copies of the in whole or in and all derivative works of the unless such copies or derivative works are solely in the form of machine executable object code generated by a source language processor THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF FITNESS FOR A PARTICULAR TITLE AND NON INFRINGEMENT IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN TORT OR ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE The MIT Marcin Kalicinski Permission is hereby free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to copy
ObjectToCompressedIceBlobSerializer()=default
const Ice::Byte * end() const
std::ptrdiff_t size() const
ObjectToCompressedIceBlobSerializer(const T &obj)
ObjectToIceBlobSerializer()=default
This file offers overloads of toIce() and fromIce() functions for STL container types.