|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/MsgStream.h"
27 m_storeGate(
"StoreGateSvc",
"INav4MomAssocsCnv")
29 if ( 0 == svcLocator ) {
30 throw std::runtime_error(
"NULL pointer to ISvcLocator !!");
34 throw std::runtime_error(
"Could not fetch StoreGateSvc !!");
59 static const pool::Guid tr_guid(
"DF941034-CCB2-4A1A-9A8C-5F3D5EAFD08C");
60 static const pool::Guid p1_guid(
"85027AE1-4FD4-4808-B151-5485634ACD5D");
61 static const pool::Guid p2_guid(
"8040BEAA-BC65-43B8-B468-A7157C89ACB3");
62 static const pool::Guid p3_guid(
"455AEE6B-9834-4E72-8F81-2532A52E3BE7");
66 std::unique_ptr<INav4MomAssocs_p3> persObj( poolReadObject<INav4MomAssocs_p3>() );
71 std::unique_ptr<INav4MomAssocs_p2> persObj( poolReadObject<INav4MomAssocs_p2>() );
76 std::unique_ptr<INav4MomAssocs_p1> persObj( poolReadObject<INav4MomAssocs_p1>() );
82 return poolReadObject<INav4MomAssocs>();
85 throw std::runtime_error(
"Unsupported persistent version of INav4MomAssocs");
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
virtual INav4MomAssocs_PERS * createPersistent(INav4MomAssocs *transCont)
Build the persistent representation from the transient one.
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
INav4MomAssocsCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
INav4MomAssocsCnv_p2 m_tpConverter_p2
Compatibility for old converter classes that don't get passed the key.
INav4MomAssocsCnv_p3 m_tpConverter_p3
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to the StoreGateSvc.
virtual INav4MomAssocs * createTransient()
Build the transient representation from a persistent one.
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.