Inheritance diagram for oaOccTraverser:
Public Methods | |
oaOccTraverser (oaOccurrence *topOcc) | |
~oaOccTraverser () | |
oaUInt4 & | flags () |
const oaOccurrence * | getTopOccurrence () const |
void | traverse () |
void | abort () |
virtual oaBoolean | startInst (oaOccInst *inst) |
virtual void | endInst (oaOccInst *inst) |
virtual oaBoolean | startOccurrence (oaOccurrence *occ) |
virtual void | endOccurrence (oaOccurrence *occ) |
The traverse() function initiates the traversal, which can be controlled by a set of flags bits accessed by the flags() function. During the traversal, the virtual functions process*() are called for each kind of connectivity object.
To control the expansion of the occurrence hierarchy, the application must override the virtual function startInst(), which is called just before the contents of an instance in the hierarchy are produced.
|
This is the constructor for the oaOccTraverser class. It creates and initializes the producer.
|
|
This is the destructor for the oaOccTraverser class. It frees all storage associated with the producer. |
|
This function aborts the current traversal as soon as possible, returning control to the caller. |
|
This virtual function is called just after the contents of an instance's master in the hierarchy have been produced.
|
|
This virtual function is called just after the contents of an occurrence in the hierarchy have been produced.
|
|
This function gives read/write access to a set of flags that control the traversal. These flags are:
|
|
This function returns the root of the occurrence subtree to be traversed. |
|
This virtual function is called just before the contents of an instance in the hierarchy is produced. The caller can override this function and return a boolean indicating whether or not the traversal should descend into the instance's master. The default implementation returns true, which means the transversal should descend into the instance's master.
|
|
This virtual function is called just before the contents of an occurrence in the hierarchy is produced. The caller can override this function and return a boolean indicating whether or not the contents of this particular occurrence will be produced or not.
|
|
This function causes this traverser object to start generating connectivity objects in the specified occurrence hierarchy. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.