OnixS C++ eSpeed ITCH Market Data Handler  1.7.3
API documentation
OrderBook.h File Reference

Go to the source code of this file.

Classes

struct  OrderInfo
 
struct  PriceLevel
 
struct  PriceLevelCollections
 
class  OrderBook
 

Typedefs

typedef std::vector< OrderInfoOrderInfos
 
typedef PriceLevelCollections::Array PriceLevels
 
typedef PriceLevelCollections::ArrayEntry PriceLevelsEntry
 
typedef PriceLevelCollections::ArrayConstEntry PriceLevelsConstEntry
 

Functions

const Price8getPrice (const PriceLevel &level)
 
bool isValid (const PriceLevel &level) ONIXS_ESPEED_ITCH_NOTHROW
 
ONIXS_ESPEED_ITCH_API std::ostream & operator<< (std::ostream &stream, const PriceLevel &value)
 
ONIXS_ESPEED_ITCH_API std::ostream & operator<< (std::ostream &stream, const OrderBook &book)
 
void checkSanity (const OrderBook &book)
 

Typedef Documentation

typedef std::vector<OrderInfo> OrderInfos

Definition at line 43 of file OrderBook.h.

Sequence of price levels.

Definition at line 134 of file OrderBook.h.

Iterator over read-only collection of price levels.

Definition at line 140 of file OrderBook.h.

Iterator to access price levels with write permissions.

Definition at line 137 of file OrderBook.h.

Function Documentation

void checkSanity ( const OrderBook book)

checks whether the given book is properly built

const Price8& getPrice ( const PriceLevel level)
bool isValid ( const PriceLevel level)
ONIXS_ESPEED_ITCH_API std::ostream& operator<< ( std::ostream &  stream,
const PriceLevel value 
)
ONIXS_ESPEED_ITCH_API std::ostream& operator<< ( std::ostream &  stream,
const OrderBook book 
)