9#ifndef _9d8fe506_1ea6_448c_8c6c_bcd7375e89de
10#define _9d8fe506_1ea6_448c_8c6c_bcd7375e89de
36template<
typename Iterator,
typename UnaryFunctor>
38 Message const & message, Iterator destination, UnaryFunctor functor);
42template<
typename UnaryFunctor>
50template<
typename Iterator,
typename UnaryFunction>
52 Iterator begin, Iterator end, UnaryFunction serialize, std::ostream & stream,
53 std::string
const & boundary);
59#include "multipart_related.txx"
RFC 5322 Message (i.e. headers with body).
Definition: Message.h:27
void for_each_part(Message const &message, UnaryFunctor functor)
Use to call a functor for each part of a multipart/related message.
bool is_multipart_related(Message const &message)
Test whether the message is multipart/related.
void transform_parts(Message const &message, Iterator destination, UnaryFunctor functor)
Transform each part of a multipart/related message.
std::string random_boundary()
Return a random multipart/related boundary.
std::ostream & accumulate_parts(Iterator begin, Iterator end, UnaryFunction serialize, std::ostream &stream, std::string const &boundary)
Serialize the (begin, end) sequence as a multipart/related message body in stream as described in the...
std::size_t count_parts(Message const &message)
Return the number of parts in the message, 0 if the message is not multipart/related.
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28