summaryrefslogtreecommitdiff
path: root/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
commit3edf82281ced8fed78945878f771707ab4eaeddf (patch)
tree2b64827a765fdc3e4efbfbdbc18cf39460192a6a /cpp/managementgen
parent8da1c5c7cf140957e95971ae4bb7e31647184a41 (diff)
downloadqpid-python-3edf82281ced8fed78945878f771707ab4eaeddf.tar.gz
QPID-2506: enable map and list method arguments.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/managementgen')
-rw-r--r--cpp/managementgen/qmfgen/management-types.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/managementgen/qmfgen/management-types.xml b/cpp/managementgen/qmfgen/management-types.xml
index 61c91fed2d..f1f1351990 100644
--- a/cpp/managementgen/qmfgen/management-types.xml
+++ b/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"/>