|
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"
35 MsgStream
log(
msgSvc(),
"CondAttrListVecCnv");
40 log << MSG::ERROR <<
"Can not initialize Converter base class." <<
endmsg;
52 MsgStream
log(
msgSvc(),
"CondAttrListVecCnv");
61 log << MSG::ERROR <<
"CondAttrListVec ptr is 0 from CondAttrListVecAddress " <<
endmsg;
62 return(StatusCode::FAILURE);
65 log << MSG::ERROR <<
"Could not extract ptr for CondAttrListVecAddress " <<
endmsg;
66 return(StatusCode::FAILURE);
69 return(StatusCode::SUCCESS);
78 MsgStream
log(
msgSvc(),
"CondAttrListVecCnv");
85 "POOLContainer_CondAttrListVec][CLID=x");
89 return(StatusCode::SUCCESS);
93 return(POOL_StorageType);
101 Converter(POOL_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
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 the an IOpaqueAddress/GenericAddress which can hold a pointer to an AthenaAttribu...
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.