36 namespace Implementation
73 const OrderInfos& orders()
const;
76 void swap (PriceLevel&)
throw();
79 std::string toString()
const;
82 void toString (std::string&)
const;
86 void price (
const Decimal& value);
95 void removeOrderId (OrderId
id);
102 friend struct Implementation::Order;
116 typedef std::vector<PriceLevel>
Array;
152 const PriceLevels& asks()
const;
155 const PriceLevels& bids()
const;
158 size_t depth()
const;
161 std::string toString()
const;
164 void toString (std::string&)
const;
167 std::string toShortString()
const;
170 void toShortString (std::string&)
const;
173 std::string toFormattedString()
const;
176 void toFormattedString (std::string&)
const;
185 void setUserPointer (
void* pointer);
188 void* getUserPointer()
const;
191 virtual const PriceLevels& doAsks()
const = 0;
192 virtual const PriceLevels& doBids()
const = 0;
194 virtual size_t doDepth()
const = 0;
PriceLevelCollections::ArrayConstEntry PriceLevelsConstEntry
Iterator over read-only collection of price levels.
PriceLevels PriceLevelsType
PriceLevelCollections::ArrayEntry PriceLevelsEntry
Iterator to access price levels with write permissions.
void checkSanity(const OrderBook &book)
checks whether the given book is properly built
std::ostream & operator<<(std::ostream &stream, const EobiHandlerSettings &settings)
Decimal type for better precision.
Int64 SecurityId
Alias for Security Id type.
Array::const_iterator ArrayConstEntry
Iterator for read-only access.
bool isValid(const PriceLevel &level)
Array::iterator ArrayEntry
Mutable entry iterator.
Miscellaneous traits for PriceLevel class.
PriceLevelCollections::Array PriceLevels
Sequence of price levels.
const Decimal & getPrice(const PriceLevel &level)
UInt64 Quantity
Alias for Quantity type.
std::vector< PriceLevel > Array
Sequential collection of price levels.
Encapsulates price level concept.
std::vector< OrderInfo > OrderInfos