summaryrefslogtreecommitdiff
path: root/qpid/cpp/managementgen
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2010-04-14 18:57:18 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2010-04-14 18:57:18 +0000
commitae2de91821f016a0a5cecb3b4e9953de6230a7f8 (patch)
treef41ba1d721c6e79a426de0c1bc9206be4e7b7439 /qpid/cpp/managementgen
parent8f1329cea15019c3ffe4a07c7456942ce92f95ed (diff)
downloadqpid-python-ae2de91821f016a0a5cecb3b4e9953de6230a7f8.tar.gz
QPID-2506: enable map and list method arguments.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@934117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/managementgen')
-rw-r--r--qpid/cpp/managementgen/qmfgen/management-types.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/managementgen/qmfgen/management-types.xml b/qpid/cpp/managementgen/qmfgen/management-types.xml
index 61c91fed2d..f1f1351990 100644
--- a/qpid/cpp/managementgen/qmfgen/management-types.xml
+++ b/qpid/cpp/managementgen/qmfgen/management-types.xml
@@ -52,12 +52,12 @@
encode="@.putMap(#)"
decode="@.getMap(#)"
size="::qpid::amqp_0_10::MapCodec::encodedSize(#)"
- stream="#" accessor="direct" init="::qpid::types::Variant::Map()" byRef="y" unmap="::qpid::types::Variant::Map(); assert(false); /*TBD*/"/>
+ stream="#" accessor="direct" init="::qpid::types::Variant::Map()" byRef="y" unmap="(#).asMap()"/>
<type name="list" base="LIST" cpp="::qpid::types::Variant::List"
encode="@.putList(#)"
decode="@.getList(#)"
size="::qpid::amqp_0_10::ListCodec::encodedSize(#)"
- stream="#" accessor="direct" init="::qpid::types::Variant::List()" byRef="y" unmap="::qpid::types::Variant::List(); assert(false); /*TBD*/"/>
+ stream="#" accessor="direct" init="::qpid::types::Variant::List()" byRef="y" unmap="(#).asList()"/>
<type name="hilo8" base="U8" cpp="uint8_t" encode="@.putOctet(#)" decode="# = @.getOctet()" style="wm" stream="#" size="1" accessor="counter" init="0"/>
<type name="hilo16" base="U16" cpp="uint16_t" encode="@.putShort(#)" decode="# = @.getShort()" style="wm" stream="#" size="2" accessor="counter" init="0"/>