OnixS EBS BrokerTec Market Data and Trading Handler for C++  2.14.1.0
Public Member Functions | Public Attributes | List of all members
MarketId Struct Reference

Typed Market ID representation. More...

Public Member Functions

 MarketId (uint32 id=0)
 
uint8 marketCode () const
 Market Code. More...
 
uint8 countryCode () const
 Country Number. More...
 
bool operator== (const MarketId &other) const
 Comparison.
 
bool operator!= (const MarketId &other) const
 
bool operator< (const MarketId &other) const
 
std::string toString () const
 String representation.
 

Public Attributes

uint32 value
 Binary representation of ID.
 

Detailed Description

Typed Market ID representation.

Member Function Documentation

uint8 countryCode ( ) const
inline

Country Number.

Country and exchange identity . Country Number is a part of the Series definition.

uint8 marketCode ( ) const
inline

Market Code.

Binary representation of the market. Unique together with Country Code.