| 141 | } |
| 142 | |
| 143 | vtkSmartPointer<vtkObject> vtkCellGridResponders::GetCacheData(std::size_t key) |
| 144 | { |
| 145 | vtkSmartPointer<vtkObject> value; |
| 146 | auto it = this->Caches.find(key); |
| 147 | if (it == this->Caches.end()) |
| 148 | { |
| 149 | return value; |
| 150 | } |
| 151 | return it->second; |
| 152 | } |
| 153 | |
| 154 | bool vtkCellGridResponders::SetCacheData( |
| 155 | std::size_t key, vtkSmartPointer<vtkObject> value, bool overwrite) |
no test coverage detected