| 46 | } |
| 47 | |
| 48 | std::vector<WSITileGraphicsItem*> WSITileGraphicsItemCache::getAllItems() { |
| 49 | std::vector<WSITileGraphicsItem*> allItems; |
| 50 | for (auto it = _cache.begin(); it != _cache.end(); ++it) { |
| 51 | allItems.push_back(it->second.first.first); |
| 52 | } |
| 53 | return allItems; |
| 54 | } |
| 55 | |
| 56 | int WSITileGraphicsItemCache::set(const keyType& k, WSITileGraphicsItem* v, unsigned int size, bool topLevel) { |
| 57 | if (_cache.find(k) != _cache.end()) { |
no outgoing calls
no test coverage detected