MCPcopy Create free account
hub / github.com/Kitware/VTK / GetCacheData

Method GetCacheData

Common/DataModel/vtkCellGridResponders.cxx:143–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143vtkSmartPointer<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
154bool vtkCellGridResponders::SetCacheData(
155 std::size_t key, vtkSmartPointer<vtkObject> value, bool overwrite)

Callers 2

GetCacheDataAsFunction · 0.80
DrawStringMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected