OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
TradeCondition Struct Reference

#include <OnixS/B3/MarketData/UMDF/messaging/Fields.h>

Public Types

enum  
typedef UInt16 Bits

Public Member Functions

 __attribute__ ((__warn_unused_result__)) bool openingPrice() const noexcept
 __attribute__ ((__warn_unused_result__)) bool crossed() const noexcept
 __attribute__ ((__warn_unused_result__)) bool lastTradeAtTheSamePrice() const noexcept
 __attribute__ ((__warn_unused_result__)) bool outOfSequence() const noexcept
 __attribute__ ((__warn_unused_result__)) bool tradeOnBehalf() const noexcept
 __attribute__ ((__warn_unused_result__)) bool regularTrade() const noexcept
 __attribute__ ((__warn_unused_result__)) bool blockTrade() const noexcept
Bits bits () const noexcept
 TradeCondition (Bits bits=0) noexcept
__attribute__((__warn_unused_result__)) std __attribute__ ((__warn_unused_result__)) bool operator!

Detailed Description

Definition at line 1553 of file Fields.h.

Member Typedef Documentation

◆ Bits

typedef UInt16 Bits

Aliases integral type whose bits are used to indicate flag presence.

Definition at line 1558 of file Fields.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Size sizeof(Bits) 

Definition at line 1560 of file Fields.h.

Constructor & Destructor Documentation

◆ TradeCondition()

TradeCondition ( Bits bits = 0)
inlineexplicitnoexcept

Constructs from a value.

Definition at line 1640 of file Fields.h.

Member Function Documentation

◆ __attribute__() [1/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether BlockTrade bit is set.

Definition at line 1624 of file Fields.h.

◆ __attribute__() [2/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether Crossed bit is set.

Definition at line 1584 of file Fields.h.

◆ __attribute__() [3/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether LastTradeAtTheSamePrice bit is set.

Definition at line 1592 of file Fields.h.

◆ __attribute__() [4/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether OpeningPrice bit is set.

Definition at line 1576 of file Fields.h.

◆ __attribute__() [5/8]

__attribute__((__warn_unused_result__)) std __attribute__ ( (__warn_unused_result__) )

Compares encoded data.

Returns
a human-readable presentation.

◆ __attribute__() [6/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether OutOfSequence bit is set.

Definition at line 1600 of file Fields.h.

◆ __attribute__() [7/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether RegularTrade bit is set.

Definition at line 1616 of file Fields.h.

◆ __attribute__() [8/8]

__attribute__ ( (__warn_unused_result__) ) const
inlinenoexcept

Indicates whether TradeOnBehalf bit is set.

Definition at line 1608 of file Fields.h.

◆ bits()

Bits bits ( ) const
inlinenoexcept
Returns
elements as they packed in the set.

Definition at line 1632 of file Fields.h.