dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
EventTypeEnum Class Reference

The enumeration type that provides additional information about the dxFeed Graal C++-API event type. More...

#include <EventTypeEnum.hpp>

Public Member Functions

std::uint32_t getId () const noexcept
std::string getName () const
std::string getClassName () const
bool isLasting () const noexcept
bool isIndexed () const noexcept
bool isTimeSeries () const noexcept
bool isOnlyIndexed () const noexcept
bool isMarket () const noexcept

Static Public Attributes

static const std::span< const std::reference_wrapper< const EventTypeEnum > > ALL {ALL_EVENT_TYPES}
 All event types (constant-initialized, so it can be used in the dynamic initialization of global variables).
static const ConstantMap< std::string_view, EventTypeEnum > ALL_BY_NAME {ALL_EVENT_TYPES_BY_NAME}
 All event types by their names.
static const ConstantMap< std::string_view, EventTypeEnum > ALL_BY_CLASS_NAME
 All event types by their class names.
static const ConstantMap< std::uint32_t, EventTypeEnum > ALL_BY_ID {ALL_EVENT_TYPES_BY_ID}
 All event types by their ids.

Detailed Description

The enumeration type that provides additional information about the dxFeed Graal C++-API event type.

Useful when used as a subscription parameter.

Member Function Documentation

◆ getClassName()

std::string EventTypeEnum::getClassName ( ) const
nodiscard
Returns
The current enum element class name

◆ getId()

std::uint32_t EventTypeEnum::getId ( ) const
nodiscardnoexcept
Returns
The dxFeed Graal Native C-API event class id

◆ getName()

std::string EventTypeEnum::getName ( ) const
nodiscard
Returns
The current enum element name

◆ isIndexed()

bool EventTypeEnum::isIndexed ( ) const
nodiscardnoexcept
Returns
true if the current enum element is characterizing the Indexed event.

◆ isLasting()

bool EventTypeEnum::isLasting ( ) const
nodiscardnoexcept
Returns
true if the current enum element is characterizing the Lasting (TICKER) event

◆ isMarket()

bool EventTypeEnum::isMarket ( ) const
nodiscardnoexcept
Returns
true if the current enum element is characterizing the Market event.

◆ isOnlyIndexed()

bool EventTypeEnum::isOnlyIndexed ( ) const
nodiscardnoexcept
Returns
true if the current enum element is characterizing the OnlyIndexed (Indexed, but not TimeSeries) event.

◆ isTimeSeries()

bool EventTypeEnum::isTimeSeries ( ) const
nodiscardnoexcept
Returns
true if the current enum element is characterizing the TimeSeries (HISTORY) event.

Referenced by DXFeed::createTimeSeriesSubscription().