------------------------------------------------------------------------------
| 97 | |
| 98 | //------------------------------------------------------------------------------ |
| 99 | bool vtkObjectIdMap::FreeObject(vtkObject* obj) |
| 100 | { |
| 101 | auto iter = this->Internals->GlobalId.find(obj); |
| 102 | auto found = iter != this->Internals->GlobalId.end(); |
| 103 | if (found) |
| 104 | { |
| 105 | this->Internals->Object.erase(iter->second); |
| 106 | this->Internals->GlobalId.erase(iter); |
| 107 | } |
| 108 | return found; |
| 109 | } |
| 110 | |
| 111 | //------------------------------------------------------------------------------ |
| 112 | bool vtkObjectIdMap::FreeObjectById(vtkTypeUInt32 id) |
no test coverage detected