13#include "GaudiKernel/ClassID.h"
14#include "GaudiKernel/DataObject.h"
15#include "GaudiKernel/MsgStream.h"
16#include "GaudiKernel/StatusCode.h"
37 MsgStream log(msgSvc(),
"CondAttrListCollCnv");
39 log << MSG::DEBUG <<
"initialize() in CondAttrListCollCnv" <<
endmsg;
40 StatusCode status = Converter::initialize();
41 if (!status.isSuccess()) {
42 log << MSG::ERROR <<
"Can not initialize Converter base class." <<
endmsg;
54 MsgStream log(msgSvc(),
"CondAttrListCollCnv");
55 log << MSG::DEBUG <<
"Creating CondAttrListCollAddress Object" <<
endmsg;
63 log << MSG::ERROR <<
"CondAttrListCollection ptr is 0 from CondAttrListCollAddress " <<
endmsg;
64 return(StatusCode::FAILURE);
68 log << MSG::ERROR <<
"Could not extract ptr for CondAttrListCollAddress " <<
endmsg;
69 return(StatusCode::FAILURE);
72 return(StatusCode::SUCCESS);
81 MsgStream log(msgSvc(),
"CondAttrListCollCnv");
82 log << MSG::DEBUG <<
"Copy CondAttrListCollection ptr into CondAttrListCollAddress" <<
endmsg;
86 if ( pAddr !=
nullptr ) pAddr->release();
89 "POOLContainer_CondAttrListCollection][CLID=x");
94 log << MSG::DEBUG <<
"Created CondAttrListCollAddress with list ptr: " << list <<
endmsg;
95 return(StatusCode::SUCCESS);
This file contains the class definition for the CondAttrListCollAddress class.
This file contains the class definition for the CondAttrListCollCnv class.
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
uint32_t CLID
The Class ID type.
This class provides an IOpaqueAddress/GenericAddress which can hold a pointer to a CondAttrListCollec...
CondAttrListCollection * attrListColl()
Access to AttributeList.
void setAttrListColl(CondAttrListCollection *attrListColl)
Add AttributeList.
virtual long int repSvcType() const
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create a transient object from a POOL persistent representation.
virtual ~CondAttrListCollCnv()
Destructor.
static long storageType()
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
CondAttrListCollCnv(ISvcLocator *svcloc)
Constructor.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create a POOL persistent representation for a transient object.
static const CLID & classID()
This class is a collection of AttributeLists where each one is associated with a channel number.
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