 |
ATLAS Offline Software
|
Go to the documentation of this file.
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");
41 log << MSG::ERROR <<
"Can not initialize Converter base class." <<
endmsg;
53 MsgStream
log(
msgSvc(),
"CondAttrListVecCnv");
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");
84 if ( pAddr !=
nullptr ) pAddr->release();
87 "POOLContainer_CondAttrListVec][CLID=x");
92 return(StatusCode::SUCCESS);
96 return pool::POOL_StorageType.
type();
104 Converter(storageType(), classID(), svcloc) {
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create a transient object from a POOL persistent representation.
CondAttrListVecCnv(ISvcLocator *svcloc)
Constructor.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
virtual long int repSvcType() const
int type() const
Access to full type.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
CondAttrListVec * attrListVec()
Access to CondAttrListVec.
A CondAttrListVec is an Athena DataObject holding a vector of CORAL AttributeLists,...
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
This class provides an IOpaqueAddress/GenericAddress which can hold a pointer to a CondAttrListVec ob...
uint32_t CLID
The Class ID type.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create a POOL persistent representation for a transient object.
static long storageType()
static const CLID & classID()
virtual ~CondAttrListVecCnv()
Destructor.
void setAttrListVec(CondAttrListVec *attrListVec)
Add CondAttrListVec.
This file contains the class definition for the CondAttrListVecAddress class.
This file contains the class definition for the CondAttrListVecCnv class.