15#include "GaudiKernel/DataObject.h"
16#include "GaudiKernel/IOpaqueAddress.h"
17#include "GaudiKernel/IRegistry.h"
18#include "GaudiKernel/ISvcLocator.h"
19#include "GaudiKernel/StatusCode.h"
34 m_tool(
"LVL1BS::CpByteStreamTool/CpByteStreamTool")
62 return StatusCode::SUCCESS;
68 IOpaqueAddress*& pAddr )
const
73 return StatusCode::FAILURE;
76 const std::string nm = pObj->registry()->name();
83 return m_tool->convert( cp );
#define ATH_CHECK
Evaluate an expression and check for errors.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
Helpers for checking error return status codes and reporting errors.
An STL vector of pointers that by default owns its pointed-to elements.
uint32_t CLID
The Class ID type.
Defines the ROB data entity. The ROB data is an abstract entity that is used to decouple the raw even...
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()
virtual StatusCode initialize() override
static const CLID & classID()
CpByteStreamCnv(ISvcLocator *svcloc)
static long storageType()
virtual ~CpByteStreamCnv()
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Create ByteStream from Cp Container.
ToolHandle< LVL1BS::CpByteStreamTool > m_tool
Tool that does the actual work.
Cluster Processor container for writing bytestream.
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)