Flag type for flags in marlinmt::book.
More...
#include <Flags.h>
|
static constexpr std::size_t | AmtFlags = 8 |
|
Flag type for flags in marlinmt::book.
Definition at line 15 of file Flags.h.
◆ Flag_t() [1/5]
constexpr marlinmt::book::Flag_t::Flag_t |
( |
unsigned long long |
val | ) |
|
|
inlineexplicit |
constructor flag from number.
Definition at line 22 of file Flags.h.
◆ Flag_t() [2/5]
marlinmt::book::Flag_t::Flag_t |
( |
const std::bitset< AmtFlags > & |
val | ) |
|
|
inlineexplicit |
Construct flag from bitset.
Definition at line 28 of file Flags.h.
◆ Flag_t() [3/5]
marlinmt::book::Flag_t::Flag_t |
( |
| ) |
|
|
default |
◆ Flag_t() [4/5]
marlinmt::book::Flag_t::Flag_t |
( |
const Flag_t & |
| ) |
|
|
default |
◆ Flag_t() [5/5]
marlinmt::book::Flag_t::Flag_t |
( |
Flag_t && |
| ) |
|
|
defaultnoexcept |
◆ ~Flag_t()
marlinmt::book::Flag_t::~Flag_t |
( |
| ) |
|
|
default |
◆ contains()
bool marlinmt::book::Flag_t::contains |
( |
const Flag_t & |
f | ) |
const |
|
inline |
◆ operator &()
Flag_t marlinmt::book::Flag_t::operator& |
( |
const Flag_t & |
f | ) |
const |
|
inline |
◆ operator bool()
marlinmt::book::Flag_t::operator bool |
( |
| ) |
const |
|
inlineexplicit |
cast to bool.
- Returns
- true if any flag is set.
Definition at line 55 of file Flags.h.
◆ operator const std::bitset< AmtFlags > &()
marlinmt::book::Flag_t::operator const std::bitset< AmtFlags > & |
( |
| ) |
const |
|
inlineexplicit |
cast to bitset.
Definition at line 60 of file Flags.h.
◆ operator unsigned long long()
marlinmt::book::Flag_t::operator unsigned long long |
( |
| ) |
const |
|
inlineexplicit |
◆ operator!=()
bool marlinmt::book::Flag_t::operator!= |
( |
const Flag_t & |
f | ) |
const |
|
inline |
check for inequality.
Definition at line 70 of file Flags.h.
References _val.
◆ operator=() [1/2]
Flag_t& marlinmt::book::Flag_t::operator= |
( |
const Flag_t & |
flag | ) |
|
|
inline |
◆ operator=() [2/2]
◆ operator==()
bool marlinmt::book::Flag_t::operator== |
( |
const Flag_t & |
f | ) |
const |
|
inline |
check for equality.
Definition at line 65 of file Flags.h.
References _val.
◆ operator|()
Flag_t marlinmt::book::Flag_t::operator| |
( |
const Flag_t & |
f | ) |
const |
|
inline |
◆ operator~()
Flag_t marlinmt::book::Flag_t::operator~ |
( |
| ) |
const |
|
inline |
◆ Flags::value
◆ _initValue
const unsigned long long marlinmt::book::Flag_t::_initValue {0} |
|
private |
◆ _val
std::bitset< AmtFlags > marlinmt::book::Flag_t::_val {0} |
|
private |
◆ AmtFlags
constexpr std::size_t marlinmt::book::Flag_t::AmtFlags = 8 |
|
staticprivate |
The documentation for this class was generated from the following file: