OnixS C++ B3 Binary UMDF Market Data Handler  1.4.2
API documentation
TradeCondition Struct Reference

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

Public Types

enum  { Size = sizeof(Bits) }
 
typedef UInt16 Bits
 

Public Member Functions

ONIXS_B3_UMDF_MD_NODISCARD bool openingPrice () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool crossed () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool lastTradeAtTheSamePrice () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool outOfSequence () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool tradeOnBehalf () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool regularTrade () const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool blockTrade () const throw ()
 
Bits bits () const throw ()
 
 TradeCondition (Bits bits=0) throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD std::string toString () const
 
ONIXS_B3_UMDF_MD_NODISCARD bool operator!= (const TradeCondition &other) const throw ()
 
ONIXS_B3_UMDF_MD_NODISCARD bool operator== (const TradeCondition &other) const throw ()
 

Detailed Description

Definition at line 1531 of file Fields.h.

Member Typedef Documentation

typedef UInt16 Bits

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

Definition at line 1536 of file Fields.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Size 

Definition at line 1538 of file Fields.h.

Constructor & Destructor Documentation

TradeCondition ( Bits  bits = 0)
throw (
)
inlineexplicit

Constructs from a value.

Definition at line 1618 of file Fields.h.

Member Function Documentation

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

Definition at line 1610 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool blockTrade ( ) const
throw (
)
inline

Indicates whether BlockTrade bit is set.

Definition at line 1603 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool crossed ( ) const
throw (
)
inline

Indicates whether Crossed bit is set.

Definition at line 1563 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool lastTradeAtTheSamePrice ( ) const
throw (
)
inline

Indicates whether LastTradeAtTheSamePrice bit is set.

Definition at line 1571 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool openingPrice ( ) const
throw (
)
inline

Indicates whether OpeningPrice bit is set.

Definition at line 1555 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool operator!= ( const TradeCondition other) const
throw (
)
inline

Compares encoded data.

Definition at line 1632 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool operator== ( const TradeCondition other) const
throw (
)
inline

Compares encoded data.

Definition at line 1642 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool outOfSequence ( ) const
throw (
)
inline

Indicates whether OutOfSequence bit is set.

Definition at line 1579 of file Fields.h.

ONIXS_B3_UMDF_MD_NODISCARD bool regularTrade ( ) const
throw (
)
inline

Indicates whether RegularTrade bit is set.

Definition at line 1595 of file Fields.h.

std::string toString ( ) const
inline
Returns
a human-readable presentation.

Definition at line 2116 of file Serialization.h.

ONIXS_B3_UMDF_MD_NODISCARD bool tradeOnBehalf ( ) const
throw (
)
inline

Indicates whether TradeOnBehalf bit is set.

Definition at line 1587 of file Fields.h.


The documentation for this struct was generated from the following files: