oaSubNetwork Class Reference
Inheritance diagram for oaSubNetwork:
Detailed Description
The oaSubNetwork class identifies a subset of the nodes and devices within a full oaParasiticNetwork.
The oaSubNetwork class can be used to represent the relationship between a set of nodes and devices and the corresponding route element or shape. Nodes can appear in multiple subNetworks for such cases as a wire connecting to a via or several wires connecting at an oaSteiner point. Although it is possible for a device to appear in multiple subNetworks, this is generally undesirable because it is not possible to determine what portion of the device's value lies within each subNetwork.
When a subNetwork contains multiple nodes and devices, their positions within the corresponding route element or shape can be specified using oaNode::setLocation().
Undo, properties, and groups are not supported for oaSubNetwork. Extensions on oaSubNetwork (and interPointer extensions that refer to an oaSubNetwork) are accessible only while the oaSubNetwork is loaded.
The oaSubNetwork class can be observed by deriving from oaObserver<oaSubNetwork>.
Member Function Documentation
|
This function creates a subNetwork with the specified name within the specified network. If network is a partition, the subNetwork can only refer to nodes and devices in network or its ancestors.
- Exceptions:
-
|
void oaSubNetwork::destroy |
( |
|
) |
|
|
|
This function destroys this subNetwork. The nodes and devices to which the subNetwork refers are not affected. |
|
This function finds and returns the subNetwork with the specified name. |
|
This function returns a collection containing the devices to which this subNetwork refers. |
oaFig * oaSubNetwork::getFig |
( |
|
) |
const |
|
|
This function returns the fig associated with this subNetwork. If this subNetwork is not associated with a fig, NULL is returned. |
void oaSubNetwork::getName |
( |
oaString & |
name |
) |
const |
|
|
This function returns the name of this subNetwork. |
|
This function returns a collection containing the nodes to which this subNetwork refers. |
|
This function returns the parasiticNetwork to which this subNetwork belongs. |
void oaSubNetwork::setFig |
( |
oaFig * |
fig |
) |
|
|
|
This function sets the fig that this subNetwork represents, which must be a shape or a via.
- Parameters:
-
fig | The figure to associate with this subNetwork |
- Exceptions:
-
|
void oaSubNetwork::setName |
( |
const oaString & |
name |
) |
|
|
|
This function sets the name of this subNetwork.
- Exceptions:
-
|
Member Enumeration Documentation
The documentation for this class was generated from the following files:
Return to top of page
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.