ATLAS Offline Software
|
Holder for the is-most-derived flag. More...
#include <IsMostDerivedFlag.h>
Public Member Functions | |
IsMostDerivedFlag () | |
IsMostDerivedFlag (bool flag) | |
IsMostDerivedFlag (const IsMostDerivedFlag &) | |
IsMostDerivedFlag (IsMostDerivedFlag &&) | |
operator bool () const | |
IsMostDerivedFlag & | operator= (const IsMostDerivedFlag &) |
IsMostDerivedFlag & | operator= (bool flag) |
Private Attributes | |
bool | m_flag |
Holder for the is-most-derived flag.
This acts like a bool, except that when the class containing it gets copied via a copy/move constructor, it is initialized to false. This allows us to maintain the flags when the containers have only implicit copy constructors for the derived classes. After copy construction, the flags will get set correctly by the first call to testInsert
.
Definition at line 33 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 36 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 37 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 38 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 39 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 40 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 42 of file IsMostDerivedFlag.h.
|
inline |
Definition at line 41 of file IsMostDerivedFlag.h.
|
private |
Definition at line 45 of file IsMostDerivedFlag.h.