dxFeed Graal CXX API v4.0.0
|
The event flags' mask (a set of bit flags) More...
#include <EventFlag.hpp>
Public Member Functions | |
EventFlagsMask () noexcept | |
Creates an empty event flags mask. | |
template<Integral MaskType> | |
EventFlagsMask (MaskType mask) noexcept | |
Create event flags mask by integer value. | |
template<typename EventFlagIt > | |
EventFlagsMask (EventFlagIt begin, EventFlagIt end) noexcept | |
Creates event flags mask by iterators of container with flags. | |
EventFlagsMask (std::initializer_list< EventFlag > eventFlags) noexcept | |
Creates event flags mask by initializer list with flags. | |
constexpr std::uint32_t | getMask () const noexcept |
Returns an integer representation of event mask. | |
bool | contains (const EventFlag &flag) const noexcept |
Friends | |
EventFlagsMask | operator| (const EventFlagsMask &eventFlagsMask, const EventFlag &eventFlag) noexcept |
Performs a bit or operation with an event flags' mask and an event flag. | |
EventFlagsMask | operator& (const EventFlagsMask &eventFlagsMask, const EventFlag &eventFlag) noexcept |
Performs a bit and operation with an event flags' mask and an event flag. | |
The event flags' mask (a set of bit flags)
|
inlineexplicitnoexcept |
Create event flags mask by integer value.
MaskType | The type of integer mask |
mask | The integer mask value |
|
inlinenoexcept |
Creates event flags mask by iterators of container with flags.
EventFlagIt | The iterator type |
begin | The start position |
end | The end position |
|
inlinenoexcept |
Creates event flags mask by initializer list with flags.
eventFlags | The list with flags |
References EventFlagsMask().
Referenced by EventFlagsMask().
|
inlinenoexcept |
flag | The flag to check. |
true
if this mask contains the flag. References EventFlag::getFlag().
|
inlineconstexprnoexcept |
Returns an integer representation of event mask.
Referenced by Candle::setEventFlags(), Greeks::setEventFlags(), OrderBase::setEventFlags(), Series::setEventFlags(), TheoPrice::setEventFlags(), and Underlying::setEventFlags().
|
friend |
Performs a bit and
operation with an event flags' mask and an event flag.
eventFlagsMask | The event flags' mask |
eventFlag | The event flag |
|
friend |
Performs a bit or
operation with an event flags' mask and an event flag.
eventFlagsMask | The event flags' mask |
eventFlag | The event flag |