34 : _bids{ bids }, _asks{ asks } {}
std::vector< LevelInfo > LevelInfos
A vector of LevelInfo objects for managing multiple price levels.
Definition: LevelInfo.hpp:33
Holds the bid and ask levels for an orderbook.
Definition: OrderbookLevelInfos.hpp:21
const LevelInfos & getBids() const
Retrieves the bid levels in the orderbook.
Definition: OrderbookLevelInfos.cpp:16
const LevelInfos & getAsks() const
Retrieves the ask levels in the orderbook.
Definition: OrderbookLevelInfos.cpp:25
OrderbookLevelInfos(const LevelInfos &bids, const LevelInfos &asks)
Constructs an OrderbookLevelInfos object with specified bid and ask levels.
Definition: OrderbookLevelInfos.hpp:33