summaryrefslogtreecommitdiff
path: root/cpp/managementgen
diff options
context:
space:
mode:
authorKen Giusti <kgiusti@apache.org>2010-04-14 18:57:18 +0000
committerKen Giusti <kgiusti@apache.org>2010-04-14 18:57:18 +0000
commitc2b9c3862b8e0bfefc7b5c449acc91d76c98765f (patch)
tree2b64827a765fdc3e4efbfbdbc18cf39460192a6a /cpp/managementgen
parent3d56287b1298631c53ff93835ad36a593a74bc96 (diff)
downloadqpid-python-c2b9c3862b8e0bfefc7b5c449acc91d76c98765f.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"/>