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

Method UnRegisterObject

Serialization/Manager/vtkObjectManager.cxx:365–373  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

363
364//------------------------------------------------------------------------------
365bool 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//------------------------------------------------------------------------------
376bool vtkObjectManager::RegisterState(const std::string& state)

Callers 3

PruneUnusedObjectsMethod · 0.45
vtkSessionDestroyObjectFunction · 0.45
serializeMethod · 0.45

Calls 3

RetireMethod · 0.80
GetObjectAtIdMethod · 0.45
GetObjectDescriptionMethod · 0.45

Tested by 1

serializeMethod · 0.36