From caca23c5dc055d985fecfe188573104bc707ad9d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 27 Sep 2006 19:50:23 +0000 Subject: git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450556 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/common/framing/src/AMQContentBody.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpp/common/framing/src/AMQContentBody.cpp') diff --git a/cpp/common/framing/src/AMQContentBody.cpp b/cpp/common/framing/src/AMQContentBody.cpp index c8aadc8108..a9ee190ba8 100644 --- a/cpp/common/framing/src/AMQContentBody.cpp +++ b/cpp/common/framing/src/AMQContentBody.cpp @@ -16,6 +16,7 @@ * */ #include "AMQContentBody.h" +#include qpid::framing::AMQContentBody::AMQContentBody(){ } @@ -33,3 +34,7 @@ void qpid::framing::AMQContentBody::decode(Buffer& buffer, u_int32_t size){ buffer.getRawData(data, size); } +void qpid::framing::AMQContentBody::print(std::ostream& out) const +{ + out << "content (" << size() << " bytes)"; +} -- cgit v1.2.1