#include <ozo/io/send.h>
Defines how to send an object to an output stream.
This functor is used to serialize object as query parameter.
In | — type of an object to apply to |
<anonymous> | — SFINAE-based overloading parameter. |
The default implementation uses ozo::write
function to serialize simple objects like integers or strings. To serialize complex types like Array or Composite special internal implementations are used.
This template is a customization point for specializing serialization for user defined types if it can not be obtained via the library. Typically user does not need it.
Static Public Member Functions | |
template<typename OidMap > | |
static ostream & | apply (ostream &out, const OidMap &, const In &in) |
Implementation of serialization object into stream. More... | |
|
static |
Implementation of serialization object into stream.
out | — output stream |
OidMap | — #OidMap to get oid for custom types |
in | — object to serialize |