|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/MsgStream.h"
18 MsgStream
log( this->
msgSvc(),
"CTP_RDOCnv" );
29 static const pool::Guid p2_guid(
"12717F15-E516-4ECD-BC07-82C72B524AD5" );
30 static const pool::Guid p1_guid(
"5E6D3E52-952F-4144-BC68-83ACE605AA45" );
31 static const pool::Guid p0_guid(
"56C714CC-DC17-4927-B413-9151C82792BB" );
35 std::unique_ptr< CTP_RDO_p2 > pers_ref( this->poolReadObject< CTP_RDO_p2 >() );
36 MsgStream
log( this->
msgSvc(),
"CTP_RDOCnv" );
41 std::unique_ptr< CTP_RDO_p1 > pers_ref( this->poolReadObject< CTP_RDO_p1 >() );
42 MsgStream
log( this->
msgSvc(),
"CTP_RDOCnv" );
47 return this->poolReadObject< CTP_RDO >();
51 throw std::runtime_error(
"Unsupported persistent version of CTP_RDO" );
CTP_RDOCnv_p1 m_converter_p1
Persistent representation of CTP_RDO.
virtual TRANS * createTransient(const PERS *persObj, MsgStream &log)
Create transient representation of a persistent object.
CTP_RDOCnv_p2 m_converter
virtual PERS * createPersistent(const TRANS *transObj, MsgStream &log)
Create persistent representation of a transient object.
msgSvc
Provide convenience handles for various services.
virtual CTP_RDO * createTransient()
Function reading a version of CTP_RDO from POOL and converting it to a transient CTP_RDO object.
virtual bool compareClassGuid(const Guid &clid) const
Compare POOL class GUID with the one of the object being read.
virtual CTP_RDO_PERS * createPersistent(CTP_RDO *transObj)
Function creating a persistent CTP_RDO_PERS object from a transient CTP_RDO one.