22 #ifndef MamdaOrderBookPriceLevelH
23 #define MamdaOrderBookPriceLevelH
28 #include <mama/mamacpp.h>
37 class MamdaOrderBookEntry;
38 class MamdaOrderBookBasicDeltaList;
170 void addEntriesFromLevel (
182 void deleteEntriesFromSource (
183 const MamaSource* source,
199 void setPrice (
double price);
200 void setPrice (MamaPrice& price);
201 void setSize (mama_quantity_t size);
202 void setSizeChange (mama_quantity_t sizeChange);
203 void setNumEntries (mama_u32_t numEntries);
204 void setSide (Side side);
205 void setAction (Action action);
206 void setTime (
const MamaDateTime& time);
213 void markAllDeleted ();
223 double getPrice ()
const;
224 MamaPrice getMamaPrice ()
const;
231 mama_quantity_t getSize ()
const;
241 mama_quantity_t getSizeChange ()
const;
252 mama_u32_t getNumEntries ()
const;
258 mama_u32_t getNumEntriesTotal ()
const;
272 Side getSide ()
const;
280 Action getAction ()
const;
287 const MamaDateTime& getTime ()
const;
308 {
return ! operator== (rhs); }
333 const char* getSymbol()
const;
343 const char*
id)
const;
374 mama_u32_t pos)
const;
381 void setClosure (
void* closure);
388 void* getClosure ()
const;
394 OrderType getOrderType ()
const;
400 void setOrderType (OrderType orderType);
423 iterator (
const iteratorImpl& copy);
429 const iterator& operator++ ()
const;
430 bool operator== (
const iterator& rhs)
const;
431 bool operator!= (
const iterator& rhs)
const;
451 const char*
id)
const;
460 static void setStrictChecking (
bool strict);
467 struct MamdaOrderBookPriceLevelImpl;
468 MamdaOrderBookPriceLevelImpl& mImpl;
473 #endif // MamdaOrderBookPriceLevelH