1#ifndef VISTLE_MESSAGE_PAYLOAD_TEMPLATES_H
2#define VISTLE_MESSAGE_PAYLOAD_TEMPLATES_H
13 ar &
const_cast<Payload &
>(payload);
19template<
class Payload>
27 }
catch (::yas::io_exception &ex) {
28 std::cerr <<
"ERROR: failed to get message payload from " << data.size() <<
" bytes: " << ex.what()
37template<
class Payload>
Definition: message.h:157
void setPayloadSize(size_t size)
set payload size
Definition: message.cpp:261
Definition: vecstreambuf.h:52
Definition: vecstreambuf.h:12
const Vector & get_vector() const
Definition: vecstreambuf.h:42
Definition: archives.h:342
Definition: archives.h:197
buffer addPayload(Message &message, const Payload &payload)
Definition: messagepayloadtemplates.h:9
Payload getPayload(const buffer &data)
Definition: messagepayloadtemplates.h:38
void getFromPayload(const buffer &data, Payload &payload)
Definition: messagepayloadtemplates.h:20
Definition: allobjects.cpp:30
std::vector< char, allocator< char > > buffer
Definition: buffer.h:9
std::string backtrace()
Definition: tools.cpp:20