|
dxFeed Graal CXX API v9.0.0
|
Side of an order or a trade. More...
#include <Side.hpp>
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< Side, 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 Side | UNDEFINED {0, "UNDEFINED"} |
| Side is undefined, unknown or inapplicable. | |
| static const DXFCPP_EXPORT Side | BUY {1, "BUY"} |
| Buy side (bid). | |
| static const DXFCPP_EXPORT Side | SELL {2, "SELL"} |
| Sell side (ask or offer). | |
| static const DXFCPP_EXPORT std::span< const std::reference_wrapper< const Side > > | ALL {ALL_ELEMENTS} |
| All elements of the enum (constant-initialized). | |
Additional Inherited Members | |
| Static Public Member Functions inherited from Enum< Side, std::uint32_t > | |
| static const Side & | valueOf (OtherCodeType code) noexcept |
| Returns enum element by integer code bit pattern. | |
| Protected Member Functions inherited from Enum< Side, std::uint32_t > | |
| constexpr | Enum (OtherCodeType code, std::string_view name) noexcept |
| Creates an element of the enum. | |
Side of an order or a trade.
|
inlineconstexprnoexcept |
Creates an element of the enum.
| code | The element code. |
| name | The element name with static storage duration (a string literal). |