| 33 | } |
| 34 | |
| 35 | std::shared_ptr<const Sector> Image::get(const LogicalLocation& location) const |
| 36 | { |
| 37 | auto i = _sectors.find(location); |
| 38 | if (i == _sectors.end()) |
| 39 | return nullptr; |
| 40 | return i->second; |
| 41 | } |
| 42 | |
| 43 | std::shared_ptr<Sector> Image::put(const LogicalLocation& location) |
| 44 | { |