55 #if defined(ONIXS_ESPEED_ITCH_COMPILER_CXX_RVALUE_REFERENCES) && ONIXS_ESPEED_ITCH_COMPILER_CXX_RVALUE_REFERENCES 57 PriceLevel(PriceLevel&&)
61 operator=(PriceLevel&& other)
66 PriceLevel(
const PriceLevel&);
69 operator=(
const PriceLevel& other);
72 const Price8& price()
const;
87 std::string toString()
const;
90 void toString (std::string&)
const;
94 void price (
const Price8& value);
103 void removeOrderId (
OrderId id);
117 ONIXS_ESPEED_ITCH_API
124 typedef std::vector<PriceLevel>
Array;
164 size_t depth()
const;
167 std::string toString()
const;
170 void toString (std::string&)
const;
173 std::string toShortString()
const;
176 void toShortString (std::string&)
const;
179 std::string toFormattedString()
const;
182 void toFormattedString (std::string&)
const;
189 void setUserPointer (
void* pointer);
192 void* getUserPointer()
const;
198 virtual size_t doDepth()
const = 0;
199 virtual bool doBestAsk (
Price8& price,
Quantity& quantity)
const = 0;
200 virtual bool doBestBid (
Price8& price,
Quantity& quantity)
const = 0;
207 ONIXS_ESPEED_ITCH_API
const Price8 & getPrice(const PriceLevel &level)
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
Array::iterator ArrayEntry
Mutable entry iterator.
PriceLevelCollections::Array PriceLevels
Sequence of price levels.
void checkSanity(const OrderBook &book)
checks whether the given book is properly built
UInt32 Quantity
Alias for Quantity type.
Miscellaneous traits for PriceLevel class.
Array::const_iterator ArrayConstEntry
Iterator for read-only access.
UInt64 OrderId
Alias for OrderId type.
bool isValid(const PriceLevel &level) ONIXS_ESPEED_ITCH_NOTHROW
ONIXS_ESPEED_ITCH_API std::ostream & operator<<(std::ostream &stream, const PriceLevel &value)
PriceLevelCollections::ArrayConstEntry PriceLevelsConstEntry
Iterator over read-only collection of price levels.
std::vector< OrderInfo > OrderInfos
Int64 Price8
Alias for Price type (8 bytes).
PriceLevelCollections::ArrayEntry PriceLevelsEntry
Iterator to access price levels with write permissions.
std::vector< PriceLevel > Array
Sequential collection of price levels.
#define ONIXS_ESPEED_ITCH_NOTHROW
Encapsulates price level concept.
UInt32 OrderBookId
Alias for Security Id type.