Glade Reference
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, dbTransform trans);
Construct a dbHierObj with the cellView cv containing object obj and the transformation trans as seen from the top level.
bool operator == (dbHierObj other)
True if the two dbHierObjs are equal.
bool operator != (dbHierObj other)
True if the two dbHierObjs are not equal.
bool operator < (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 *obj = hierObj.object()
Returns the dbObj associated with the dbHierObj.
dbTransform trans = hierObj.transform()
Retuens the transform of the dbHierObj.
db_Int16 layer = hierObj.layer()
Returns the layer of the object.
cellView *cv = hierObj.cv()
Returns the cellView that contains the object.
Contents|Index
Copyright © Peardrop Design Systems Ltd 2016.