OnixS Brokertec ITCH Market Data Handler for C++  1.1.0.1
Public Member Functions
OrderBook Class Reference

List of all members.

Public Member Functions

 OrderBook ()
 Base initialization.
virtual ~OrderBook ()
 Destruction interface.
OrderBookId orderBookId () const
 Unique instrument Id as qualified.
bool empty () const
 Indicates whether book has no bids & asks.
const PriceLevels & asks () const
 Returns a set of descending bid prices for the given security.
const PriceLevels & bids () const
 Returns a set of ascending ask prices for the given security.
size_t depth () const
 Returns the maximum book depth.
std::string toString () const
 String presentation of the book.
void toString (std::string &) const
 String presentation of the book.
std::string toShortString () const
 Returns brief book info.
void toShortString (std::string &) const
 Appends brief book info to the string.
std::string toFormattedString () const
 Returns formatted presentation of the book.
void toFormattedString (std::string &) const
 Appends Formatted presentation of the book.
std::auto_ptr< OrderBooksnapshot () const
 Creates a read-only snapshot of the workbook.
bool bestAsk (Price4 &price, Quantity &quantity) const
bool bestBid (Price4 &price, Quantity &quantity) const
void setUserPointer (void *pointer)
 sets user data pointer
void * getUserPointer () const
 returns kept user data pointer