Merging with branch Master
[satune.git] / src / Backend / orderelement.h
index ab2ef7916d85bc6dc67bcaf614815b3e3f2e8b0b..07913c9aa4fd5a85be0fbe2d2d99d0abec752c43 100644 (file)
 class OrderElement {
 public:
        OrderElement(uint64_t item, Element *elem);
+       inline uint getHash() {return (uint) item;}
+       inline bool equals(OrderElement* oe){ return item == oe->item;}
+       inline Element* getElement() { return elem; }
+       CMEMALLOC;
+private:
        uint64_t item;
        Element *elem;
-       CMEMALLOC;
 };