|
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(),
"AthExElephantinoCnv" );
61 MsgStream
msg(
msgSvc(),
"AthExElephantinoConverter" );
65 static const pool::Guid p1_guid(
"F90BE215-64AD-45E3-B5E4-6AD7DE35BDF9");
70 std::unique_ptr<AthExElephantino_p1> persObj( poolReadObject<AthExElephantino_p1>() );
75 throw std::runtime_error(
"Unsupported persistent version of Elephantino");
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.
virtual AthExElephantino_PERS * createPersistent(AthExElephantino *transCont)
Build the persistent representation from the transient one.
AthExElephantinoCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
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.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual AthExElephantino * createTransient()
Build the transient representation from a persistent one.