ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfAlgCnv_p1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
8
10 TrigConfAlg* transObj,
11 MsgStream &log) const
12{
13 if(log.level() <= MSG::DEBUG) {
14 log << MSG::DEBUG << "TrigConfAlgCnv_p1::persToTrans called " << endmsg;
15 }
16
17 *transObj = TrigConfAlg (persObj->m_index,
18 persObj->m_position,
19 persObj->m_name,
20 persObj->m_type,
21 persObj->m_name_id,
22 persObj->m_type_id);
23}
24
25
27 TrigConfAlg_p1* persObj,
28 MsgStream &log) const
29{
30 if(log.level() <= MSG::DEBUG) {
31 log << MSG::DEBUG << "TrigConfAlgCnv_p1::transToPers called " << endmsg;
32 }
33
34 persObj->m_index = transObj->getIndex();
35 persObj->m_position = transObj->getPosition();
36 persObj->m_name_id = transObj->getNameId();
37 persObj->m_type_id = transObj->getTypeId();
38 persObj->m_name = transObj->getName();
39 persObj->m_type = transObj->getType();
40}
#define endmsg
virtual void transToPers(const TrigConfAlg *transObj, TrigConfAlg_p1 *persObj, MsgStream &log) const override
virtual void persToTrans(const TrigConfAlg_p1 *persObj, TrigConfAlg *transObj, MsgStream &log) const override
std::string m_name
std::string m_type
const std::string & getType() const
Definition TrigConfAlg.h:40
uint16_t getIndex() const
Definition TrigConfAlg.h:42
uint8_t getPosition() const
Definition TrigConfAlg.h:43
uint32_t getNameId() const
Definition TrigConfAlg.h:44
const std::string & getName() const
Definition TrigConfAlg.h:39
uint32_t getTypeId() const
Definition TrigConfAlg.h:45