From 5ab4ca01eb76291567c9f148882cd25ebdc5cce7 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 11 Jan 2011 16:02:23 +0000 Subject: QMFv2 API change: 1) Added public constructor for DataAddr(Variant::Map) 2) Fixed Python and Ruby typemaps to support Variant::Map& and Variant::List& with const 3) Added support for building Queries based on object-id maps in both Python and Ruby wrappers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057709 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qmf/DataAddr.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qmf/DataAddr.cpp') diff --git a/cpp/src/qmf/DataAddr.cpp b/cpp/src/qmf/DataAddr.cpp index c864ac9bf4..fb51d5787f 100644 --- a/cpp/src/qmf/DataAddr.cpp +++ b/cpp/src/qmf/DataAddr.cpp @@ -38,6 +38,7 @@ DataAddr& DataAddr::operator=(const DataAddr& s) { return PI::assign(*this, s); bool DataAddr::operator==(const DataAddr& o) { return *impl == *o.impl; } bool DataAddr::operator<(const DataAddr& o) { return *impl < *o.impl; } +DataAddr::DataAddr(const qpid::types::Variant::Map& m) { PI::ctor(*this, new DataAddrImpl(m)); } DataAddr::DataAddr(const string& n, const string& a, uint32_t e) { PI::ctor(*this, new DataAddrImpl(n, a, e)); } const string& DataAddr::getName() const { return impl->getName(); } const string& DataAddr::getAgentName() const { return impl->getAgentName(); } -- cgit v1.2.1