API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::countHardReferences Method
OdDbDatabase::countHardReferences Method
Syntax
C++
virtual void countHardReferences(const OdDbObjectIdArray& objectIds, OdUInt32* counts) const;
Parameters 
Description 
const OdDbObjectIdArray& objectIds 
[in] Array of object IDs.  
OdUInt32* counts 
[out] Receives an array of hard reference counts. 

Returns a count of hard references to each of the specified object IDs. 

 

counts must be the same size as objectIds. 

Each element of counts will be incremented for each hard reference of the corresponding objectId. The caller must initialize the elements of count to zero or an appropriate value before calling this function.

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