Every item has to implement this function, and return the complete size this item takes in memory. Must be exactly the same value as ExampleItemRequest::itemSize() has returned while creating the item.
| 44 | //Every item has to implement this function, and return the complete size this item takes in memory. |
| 45 | //Must be exactly the same value as ExampleItemRequest::itemSize() has returned while creating the item. |
| 46 | unsigned int itemSize() const |
| 47 | { |
| 48 | return sizeof(TestItem) + m_dataSize; |
| 49 | } |
| 50 | |
| 51 | bool equals(const TestItem* rhs) const |
| 52 | { |
no outgoing calls
no test coverage detected