From 9649f8ccca2a9f62a946bd58e7d3e8cb60031232 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 31 Mar 2008 17:20:08 +0000 Subject: Updated xml fragment to reflect correct types for connection.start.mechanisms, connection.start.locales and connection.open.capabilities Updated connection handler in line with above changes Added Str16Value to FieldValues Allow Array instances of different types to be created git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643067 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Array.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/Array.h') diff --git a/cpp/src/qpid/framing/Array.h b/cpp/src/qpid/framing/Array.h index 6a13c63672..1367a023f2 100644 --- a/cpp/src/qpid/framing/Array.h +++ b/cpp/src/qpid/framing/Array.h @@ -47,9 +47,12 @@ class Array bool operator==(const Array& other) const; Array(); - //only long string arrays can currently be created (any type can be decoded) + Array(uint8_t type); + //creates a longstr array Array(const std::vector& in); + void add(ValuePtr value); + template void collect(std::vector& out) { -- cgit v1.2.1