dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches

Scope of an order. More...

#include <Scope.hpp>

Inheritance diagram for Scope:

Public Member Functions

template<Integral OtherCodeType>
constexpr Enum (OtherCodeType code, std::string_view name) noexcept
 Creates an element of the enum.
Public Member Functions inherited from Enum< Scope, std::uint32_t >
constexpr std::uint32_t getCode () const noexcept
 Returns code that is used in flag bits.
std::string getName () const
 Returns the enum element name.
std::string toString () const
 Returns a string representation of an enum element.

Static Public Attributes

static const DXFCPP_EXPORT Scope COMPOSITE {0, "COMPOSITE"}
 Represents the best bid or the best offer for the whole market.
static const DXFCPP_EXPORT Scope REGIONAL {1, "REGIONAL"}
 Represents the best bid or the best offer for a given exchange code.
static const DXFCPP_EXPORT Scope AGGREGATE {2, "AGGREGATE"}
 Represents aggregate information for a given price level or best bid or the best offer for a given market maker.
static const DXFCPP_EXPORT Scope ORDER {3, "ORDER"}
 Represents individual order on the market.
static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const Scope > > ALL {ALL_ELEMENTS}
 All elements of the enum (constant-initialized).

Additional Inherited Members

Static Public Member Functions inherited from Enum< Scope, std::uint32_t >
static const Scope & valueOf (OtherCodeType code) noexcept
 Returns enum element by integer code bit pattern.
Protected Member Functions inherited from Enum< Scope, std::uint32_t >
constexpr Enum (OtherCodeType code, std::string_view name) noexcept
 Creates an element of the enum.

Detailed Description

Scope of an order.

Member Function Documentation

◆ Enum()

template<Integral OtherCodeType>
Enum< Child, Code >::Enum ( OtherCodeType code,
std::string_view name )
inlineconstexprnoexcept

Creates an element of the enum.

Parameters
codeThe element code.
nameThe element name with static storage duration (a string literal).