------------------------------------------------------------------------------
| 363 | |
| 364 | //------------------------------------------------------------------------------ |
| 365 | bool vtkObjectManager::UnRegisterObject(vtkTypeUInt32 identifier) |
| 366 | { |
| 367 | if (auto object = this->Context->GetObjectAtId(identifier)) |
| 368 | { |
| 369 | this->Context->Retire(this->OWNERSHIP_KEY(), object); |
| 370 | this->Context->Retire(this->Deserializer->GetObjectDescription(), object); |
| 371 | } |
| 372 | return this->Context->UnRegisterObject(identifier); |
| 373 | } |
| 374 | |
| 375 | //------------------------------------------------------------------------------ |
| 376 | bool vtkObjectManager::RegisterState(const std::string& state) |