|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
16 #include "GaudiKernel/IToolSvc.h"
17 #include "GaudiKernel/IAlgTool.h"
40 if ( 0 == svcLocator ) {
41 throw std::runtime_error(
"NULL pointer to ISvcLocator !!");
50 MsgStream
msg(
msgSvc(),
"AthExFatObjectCnv" );
61 MsgStream
msg(
msgSvc(),
"AthExFatObjectConverter" );
65 static const pool::Guid p1_guid(
"C757B4CB-7C1F-4E79-895E-C77D76FB960B");
70 std::unique_ptr<AthExFatObject_p1> persObj( poolReadObject<AthExFatObject_p1>() );
75 throw std::runtime_error(
"Unsupported persistent version of FatObject");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
Compatibility for old converter classes that don't get passed the key.
MsgStream & msg() const
The standard message stream.
AthExFatObjectCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
virtual AthExFatObject_PERS * createPersistent(AthExFatObject *transCont)
Build the persistent representation from the transient one.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual AthExFatObject * createTransient()
Build the transient representation from a persistent one.