ATLAS Offline Software
Loading...
Searching...
No Matches
TrigPassFlagsCollectionCnv.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
8
13
18
20
21//createPersistent
23{
24 MsgStream mlog(msgSvc(), "TrigPassFlagsCollectionConverter" );
25
26 TrigPassFlagsCollection_PERS * p_cont = m_impl->m_TPconverter_p1.createPersistent( transObj, mlog );
27
28 return p_cont;
29
30}//end of create persistent method
31
32
33//createTransient
35{
36 MsgStream mlog(msgSvc(), "TrigPassFlagsCollectionConverter" );
37
38 static const pool::Guid p1_guid( "7DE670AF-A256-4E8E-BC44-1CA30810F294" );
39
40 // TrigPassFlagsCollection *p_collection = 0;
41 if( compareClassGuid( p1_guid ) )
42 {
43 std::unique_ptr< TrigPassFlagsCollection_p1 > col_vect( poolReadObject< TrigPassFlagsCollection_p1 >() );
44 return m_impl->m_TPconverter_p1.createTransient( col_vect.get(), mlog ) ;
45 }
46 else throw std::runtime_error( "Unsupported persistent version of TrigPassFlagsCollection" );
47
48}//end of create transient method
49
TrigPassFlagsCollection_p1 TrigPassFlagsCollection_PERS
T_AthenaPoolCustomCnv< TrigPassFlagsCollection, TrigPassFlagsCollection_PERS > TrigPassFlagsCollectionCnvBase
T_AthenaPoolTPCnvVector< TrigPassFlagsCollection, TrigPassFlagsCollection_p1, TrigPassFlagsCnv_p1 > TrigPassFlagsCollectionCnv_p1
TrigPassFlagsCollectionCnv(ISvcLocator *svcloc)
std::unique_ptr< TrigPassFlagsCollectionCnv_impl > m_impl
virtual TrigPassFlagsCollection_PERS * createPersistent(TrigPassFlagsCollection *transObj)
virtual TrigPassFlagsCollection * createTransient()
STL namespace.
TrigPassFlagsCollectionCnv_p1 m_TPconverter_p1