12#include "GaudiKernel/ClassID.h"
13#include "GaudiKernel/DataObject.h"
14#include "GaudiKernel/MsgStream.h"
15#include "GaudiKernel/StatusCode.h"
36 MsgStream log(msgSvc(),
"CondAttrListVecCnv");
38 log << MSG::DEBUG <<
"initialize() in CondAttrListVecCnv" <<
endmsg;
39 StatusCode status = Converter::initialize();
40 if (!status.isSuccess()) {
41 log << MSG::ERROR <<
"Can not initialize Converter base class." <<
endmsg;
53 MsgStream log(msgSvc(),
"CondAttrListVecCnv");
54 log << MSG::DEBUG <<
"Creating CondAttrListVecAddress Object" <<
endmsg;
62 log << MSG::ERROR <<
"CondAttrListVec ptr is 0 from CondAttrListVecAddress " <<
endmsg;
63 return(StatusCode::FAILURE);
66 log << MSG::ERROR <<
"Could not extract ptr for CondAttrListVecAddress " <<
endmsg;
67 return(StatusCode::FAILURE);
70 return(StatusCode::SUCCESS);
79 MsgStream log(msgSvc(),
"CondAttrListVecCnv");
80 log << MSG::DEBUG <<
"Copy CondAttrListVec ptr into CondAttrListVecAddress" <<
endmsg;
84 if ( pAddr !=
nullptr ) pAddr->release();
87 "POOLContainer_CondAttrListVec][CLID=x");
91 log << MSG::DEBUG <<
"Created CondAttrListVec with list ptr: " << list <<
endmsg;
92 return(StatusCode::SUCCESS);
This file contains the class definition for the CondAttrListVecAddress class.
This file contains the class definition for the CondAttrListVecCnv class.
A CondAttrListVec is an Athena DataObject holding a vector of CORAL AttributeLists,...
uint32_t CLID
The Class ID type.
This class provides an IOpaqueAddress/GenericAddress which can hold a pointer to a CondAttrListVec ob...
CondAttrListVec * attrListVec()
Access to CondAttrListVec.
void setAttrListVec(CondAttrListVec *attrListVec)
Add CondAttrListVec.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create a transient object from a POOL persistent representation.
virtual long int repSvcType() const
static long storageType()
virtual ~CondAttrListVecCnv()
Destructor.
CondAttrListVecCnv(ISvcLocator *svcloc)
Constructor.
static const CLID & classID()
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create a POOL persistent representation for a transient object.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const DbType POOL_StorageType