dxFeed Graal CXX API
|
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. | |
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. | |
EventFlagsMask | operator| (const EventFlag &eventFlag1, const EventFlag &eventFlag2) noexcept |
Performs a bit or operation with two event flags. | |
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.
eventTypes | The list with flags |
References EventFlagsMask().
Referenced by EventFlagsMask().
|
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 two event flags.
eventType1 | The first event flag |
eventType2 | The second 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 |