MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / getAllItems

Method getAllItems

ASAP/WSITileGraphicsItemCache.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48std::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
56int WSITileGraphicsItemCache::set(const keyType& k, WSITileGraphicsItem* v, unsigned int size, bool topLevel) {
57 if (_cache.find(k) != _cache.end()) {

Callers 3

updateTileForegoundsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected