8 #include "GaudiKernel/IClassIDSvc.h"
9 #include "GaudiKernel/MsgStream.h"
14 ISvcLocator* pSvcLocator) :
16 p_clidsvc (
"ClassIDSvc",
name )
27 return StatusCode::SUCCESS;
32 return StatusCode::SUCCESS;
37 for (
unsigned int iobj=0;iobj<
m_objectList.size();++iobj) {
39 std::string::size_type ihash=
m_objectList[iobj].find_first_of(
'#');
40 if (ihash==std::string::npos) {
42 return StatusCode::FAILURE;
44 std::string::size_type ihash2=
m_objectList[iobj].find_first_of(
'#',ihash+1);
45 if (ihash2 != std::string::npos) ihash2-=(1+ihash);
46 const std::string objName=
m_objectList[iobj].substr(0,ihash);
47 const std::string objKey=
m_objectList[iobj].substr(ihash+1,ihash2);
49 ATH_MSG_INFO (
"Retrieving object " << objName <<
", key " << objKey );
57 ATH_MSG_ERROR (
"Could not find proxy for object of type " << objName <<
" with key " << objKey );
58 return StatusCode::FAILURE;
61 if (
proxy->accessData()!=
nullptr) {
62 ATH_MSG_INFO (
"Sucessfully retrieved object of type " << objName <<
" with key " << objKey );
65 return StatusCode::SUCCESS;