11#include "GaudiKernel/IRegistry.h"
24 ATH_CHECK(AthConstConverter::initialize());
26 return StatusCode::SUCCESS;
34 return StatusCode::FAILURE;
37 std::string nm = pObj->registry()->name();
39 return m_tool->convert(cont);
#define ATH_CHECK
Evaluate an expression and check for errors.
uint32_t CLID
The Class ID type.
convert to and from a SG storable
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
static constexpr long storageType()
static long storageType()
RpcPadContByteStreamCnv(ISvcLocator *svcloc)
ToolHandle< Muon::IRPC_RDOtoByteStreamTool > m_tool
static const CLID & classID()
virtual StatusCode initialize() override
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
Use IdentifiableContainer with RpcPad.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)