API Reference > OdDg Classes > OdDgIdMapping Class > OdDgIdMapping Methods > OdDgIdMapping::compute Method
OdDgIdMapping::compute Method
Syntax
C++
virtual bool compute(OdDgIdPair& idPair) const = 0;
Parameters 
Description 
OdDgIdPair& idPair 
[in/out] Supplies the key and receives the value. 

Returns true if and only if the key is found.

Returns the value of the IdPair in this IdMapping element that matches the key in the specified IdPair element. 

 

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