From 1126cea5189d035934f98822078f2ae23d9739ec Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Fri, 24 Nov 2006 17:29:58 +0000 Subject: Added propertyToProxy --- cpp/src/Ice/ProxyFactory.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpp/src/Ice/ProxyFactory.cpp') diff --git a/cpp/src/Ice/ProxyFactory.cpp b/cpp/src/Ice/ProxyFactory.cpp index 8bf47bd1952..183d3df977d 100644 --- a/cpp/src/Ice/ProxyFactory.cpp +++ b/cpp/src/Ice/ProxyFactory.cpp @@ -47,6 +47,13 @@ IceInternal::ProxyFactory::proxyToString(const ObjectPrx& proxy) const } } +ObjectPrx +IceInternal::ProxyFactory::propertyToProxy(const string& prefix) const +{ + ReferencePtr ref = _instance->referenceFactory()->createFromProperties(prefix); + return referenceToProxy(ref); +} + ObjectPrx IceInternal::ProxyFactory::streamToProxy(BasicStream* s) const { -- cgit v1.2.3