OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
ConstOrdersRange Class Reference

#include <OnixS/B3/MarketData/UMDF/OrderBook.h>

Public Member Functions

OrdersIterator begin () const noexcept
OrdersIterator end () const noexcept
OrdersIterator cbegin () const noexcept
OrdersIterator cend () const noexcept
bool empty () const noexcept
size_t size () const noexcept
const Orderoperator[] (size_t idx) const noexcept
 ConstOrdersRange () noexcept=default
bool valid () const noexcept

Friends

class OrderBook

Detailed Description

Definition at line 384 of file OrderBook.h.

Constructor & Destructor Documentation

◆ ConstOrdersRange()

ConstOrdersRange ( )
defaultnoexcept

Creates an empty, invalid range.

Member Function Documentation

◆ begin()

OrdersIterator begin ( ) const
inlinenoexcept

Returns an iterator to the first order.

Definition at line 391 of file OrderBook.h.

◆ cbegin()

OrdersIterator cbegin ( ) const
inlinenoexcept

Returns a const iterator to the first order.

Definition at line 405 of file OrderBook.h.

◆ cend()

OrdersIterator cend ( ) const
inlinenoexcept

Returns a const iterator to one past the last order.

Definition at line 412 of file OrderBook.h.

◆ empty()

bool empty ( ) const
inlinenoexcept

Indicates whether the range contains no orders.

Definition at line 419 of file OrderBook.h.

◆ end()

OrdersIterator end ( ) const
inlinenoexcept

Returns an iterator to one past the last order.

Definition at line 398 of file OrderBook.h.

◆ operator[]()

const Order & operator[] ( size_t idx) const
inlinenoexcept

Returns the order at the given zero-based index.

Definition at line 433 of file OrderBook.h.

◆ size()

size_t size ( ) const
inlinenoexcept

Returns the number of orders in the range.

Definition at line 426 of file OrderBook.h.

◆ valid()

bool valid ( ) const
inlinenoexcept

Indicates whether the range is bound to storage.

Definition at line 444 of file OrderBook.h.

◆ OrderBook

friend class OrderBook
friend

Definition at line 450 of file OrderBook.h.