Anonymous avatar Anonymous committed 850855b

Use IProxyDictWithPool to make address remapping work for ElementLinks (Thanks Scott)

Comments (0)

Files changed (3)

+2009-08-17  Peter van Gemmeren <>
+	* src/AddressRemappingSvc: Use IProxyDictWithPool (rather than IProxyDict) to make address remapping
+	work for ElementLinks (Thanks Scott)
+	* tagged as SGComps-00-00-24
 2009-07-24  Peter van Gemmeren <>
 	* src/AddressRemappingSvc.cxx: Create addresses for new proxies to make remapping work with


 #include "GaudiKernel/GenericAddress.h"
 #include "AthenaKernel/IClassIDSvc.h"
-#include "AthenaKernel/IProxyDict.h"
+#include "SGTools/IProxyDictWithPool.h"
 #include "SGTools/DataProxy.h"
 #include "SGTools/TransientAddress.h"
       SG::TransientAddress newTad(getClid(entry.second.substr(0, p_newSep)), entry.second.substr(p_newSep + 1));
       log << MSG::INFO << "TypeKeyOverwriteMaps for: " << newTad.clID() << "#" << << " -> " << oldTad.clID() << "#" << << endreq;
+      m_proxyDict->stringToKey (, oldTad.clID());
+      m_proxyDict->stringToKey (, newTad.clID());


 // Forward declarations
 class IClassIDSvc;
-class IProxyDict;
+class IProxyDictWithPool;
 //template <class TYPE> class SvcFactory;
 private: // Data
    ServiceHandle<IClassIDSvc> m_clidSvc;
-   ServiceHandle<IProxyDict>  m_proxyDict;
+   ServiceHandle<IProxyDictWithPool> m_proxyDict;
    /// TypeKeyOverwriteMaps, map for type#key overwrites.
    StringArrayProperty m_overwriteMaps;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.