API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > purge Method > OdDbDatabase::purge Method (OdDbObjectIdGraph&)
OdDbDatabase::purge Method (OdDbObjectIdGraph&)
Syntax
C++
virtual void purge(OdDbObjectIdGraph& objectIds) const;
Parameters 
Description 
OdDbObjectIdGraph& objectIds 
[in/out] Id graph to examine. 

Removes the nodes from the id graph that are hard referenced in this database object. 

 

This function builds a reference graph between the objects, which can be used to remove objects with circular references in one pass. All the objects referenced from outside of the graph are removed from it on return. This function does not modify this database object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.