OnixS NASDAQ OMX Genium INET Handler for C++
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
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

Country Number.

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

uint8 marketCode ( ) const

Market Code.

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