dbHierObj class
A dbHierObj is a helper class created in hierarchical searches using dbGetHierOverlaps(). It contains the object, the cellView that contains the object and the transformation of the object from the top level.
hierObj = dbHierObj(cellView *cv, dbObj *obj, transform trans);
Construct a dbHierObj with the cellView cv containing object obj and the transformation trans as seen from the top level.
bool dbHierObj::operator== (const dbHierObj & other)
true if the two dbHierObjs are equal.
dbHierObj::operator != (const dbHierObj & other)
true if the two dbHierObjs are not equal.
bool dbHierObj::operator < (const dbHierObj & other)
true if the dbHierObj is 'less than' the other. 'Less than' is a rather arbitrary comparison used for sorting. Objects are compared by type, layer, transformation and finally their pointlist.
dbObj * dbHierObj::object()
Returns the dbObj associated with the dbHierObj.
transform dbHierObj::transform()
Returns the transform of the dbHierObj.
int dbHierObj::layer()
Returns the layer of the object.
cellView * dbHierObj::cv()
Returns the cellView that contains the object.