ATLAS Offline Software
Control
AthContainers
AthContainers
tools
IsMostDerivedFlag.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
16
#ifndef ATHCONTAINERS_ISMOSTDERIVEDFLAG_H
17
#define ATHCONTAINERS_ISMOSTDERIVEDFLAG_H
18
19
20
namespace
SG
{
21
22
33
class
IsMostDerivedFlag
34
{
35
public
:
36
IsMostDerivedFlag
() :
m_flag
(false) {}
37
IsMostDerivedFlag
(
bool
flag
) :
m_flag
(
flag
) {}
38
IsMostDerivedFlag
(
const
IsMostDerivedFlag
&) :
m_flag
(false) {}
39
IsMostDerivedFlag
(
IsMostDerivedFlag
&&) :
m_flag
(false) {}
40
operator
bool
()
const
{
return
m_flag
; }
41
IsMostDerivedFlag
&
operator=
(
const
IsMostDerivedFlag
&) {
return
*
this
; }
42
IsMostDerivedFlag
&
operator=
(
bool
flag
) {
m_flag
=
flag
;
return
*
this
;}
43
44
private
:
45
bool
m_flag
;
46
};
47
48
49
}
// namespace SG
50
51
52
#endif // not ATHCONTAINERS_ISMOSTDERIVEDFLAG_H
SG::IsMostDerivedFlag
Holder for the is-most-derived flag.
Definition:
IsMostDerivedFlag.h:34
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::IsMostDerivedFlag::m_flag
bool m_flag
Definition:
IsMostDerivedFlag.h:45
SG::IsMostDerivedFlag::IsMostDerivedFlag
IsMostDerivedFlag(bool flag)
Definition:
IsMostDerivedFlag.h:37
master.flag
bool flag
Definition:
master.py:29
SG::IsMostDerivedFlag::IsMostDerivedFlag
IsMostDerivedFlag()
Definition:
IsMostDerivedFlag.h:36
SG::IsMostDerivedFlag::operator=
IsMostDerivedFlag & operator=(const IsMostDerivedFlag &)
Definition:
IsMostDerivedFlag.h:41
SG::IsMostDerivedFlag::IsMostDerivedFlag
IsMostDerivedFlag(const IsMostDerivedFlag &)
Definition:
IsMostDerivedFlag.h:38
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition:
TrigDecision_v1.cxx:60
SG::IsMostDerivedFlag::IsMostDerivedFlag
IsMostDerivedFlag(IsMostDerivedFlag &&)
Definition:
IsMostDerivedFlag.h:39
Generated on Fri Jan 10 2025 21:11:48 for ATLAS Offline Software by
1.8.18