Loading [MathJax]/jax/output/SVG/config.js
|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "GaudiKernel/ClassID.h"
14 #include "GaudiKernel/DataObject.h"
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/StatusCode.h"
36 MsgStream
log(
msgSvc(),
"AthenaAttributeListCnv");
41 log << MSG::ERROR <<
"Can not initialize Converter base class." <<
endmsg;
53 MsgStream
log(
msgSvc(),
"AthenaAttributeListCnv");
62 log << MSG::ERROR <<
"AttributeList ptr is 0 from AthenaAttrListAddress " <<
endmsg;
63 return(StatusCode::FAILURE);
66 log << MSG::ERROR <<
"Could not extract ptr for AthenaAttrListAddress " <<
endmsg;
67 return(StatusCode::FAILURE);
70 return(StatusCode::SUCCESS);
79 MsgStream
log(
msgSvc(),
"AthenaAttributeListCnv");
86 "POOLContainer_AthenaAttributeList][CLID=x");
91 return(StatusCode::SUCCESS);
95 return(POOL_StorageType);
103 Converter(POOL_StorageType, classID(), svcloc) {
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
AthenaAttributeList * attrList()
Access to AttributeList.
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
AthenaAttributeListCnv(ISvcLocator *svcloc)
Constructor.
This file contains the class definition for the AthenaAttributeListCnv class.
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create a transient object from a POOL persistent representation.
This class provides the an IOpaqueAddress/GenericAddress which can hold a pointer to an AthenaAttribu...
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual long int repSvcType() const
Default, invalid implementation of ClassID_traits.
This file contains the class definition for theAthenaAttrListAddress class.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create a POOL persistent representation for a transient object.
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
uint32_t CLID
The Class ID type.
void setAttrList(AthenaAttributeList *attrList)
Add AttributeList.
static long storageType()
static const CLID & classID()
virtual ~AthenaAttributeListCnv()
Destructor.