|
dxFeed Graal CXX API v4.3.1
|
Represents a set of orders, sorted by a comparator. More...
#include <MarketDepthModel.hpp>
Public Member Functions | |
| bool | isChanged () const |
| void | setDepthLimit (std::size_t depthLimit) |
| Sets the depth limit. | |
| bool | insert (const std::shared_ptr< O > &order) |
| Inserts an order to set. | |
| bool | erase (const std::shared_ptr< O > &order) |
| Removes an order from the set. | |
| void | clearBySource (const IndexedEventSource &source) |
| Clears orders from the set by source. | |
Represents a set of orders, sorted by a comparator.
| Less | The comparator type. |
|
inline |
Clears orders from the set by source.
| source | The source to clear orders by. |
|
inline |
Removes an order from the set.
| order | The order to remove. |
true if order was removed.
|
inline |
Inserts an order to set.
| order | The order to add. |
true if order was added.
|
inline |
|
inline |
Sets the depth limit.
| depthLimit | The new depth limit. |