38 #ifndef MARSHALLERADAPTOR_HPP 39 #define MARSHALLERADAPTOR_HPP 48 template<
class InputStream,
class DeMarshaller,
class marsh::MarshallInterface,
class OutputStream>
55 template<
class marsh::MarshallInterface,
class OutputStream>
65 template<
class HeaderMarshaller,
66 class BodyMarshaller >
75 : header_marshaller(o_stream), body_marshaller(o_stream), output(o_stream)
78 HeaderMarshaller&
header() {
return header_marshaller; }
79 BodyMarshaller&
body() {
return body_marshaller; }
80 OutputStream&
stream() {
return output; }
92 template<
class InputStream,
class HeaderDemarshaller,
class BodyDemarshaller>
97 : header_demarshaller(i_stream), body_demarshaller(i_stream), input(i_stream)
100 HeaderDemarshaller&
header() {
return header_demarshaller; }
101 BodyDemarshaller&
body() {
return body_demarshaller; }
HeaderMarshaller & header()
BodyMarshaller::OutputStream OutputStream
BodyDemarshaller & body()
BodyDemarshaller body_demarshaller
DemarshallConfiguration(InputStream &i_stream)
HeaderDemarshaller & header()
HeaderDemarshaller header_demarshaller
BodyMarshaller body_marshaller
MarshallConfiguration(OutputStream &o_stream)
HeaderMarshaller header_marshaller