Modifier and Type | Method and Description |
---|---|
Port |
CompModelPlugin.createPort()
Creates a
Port object, adds it to the end of the
port objects list and returns a pointer to the newly
created object. |
Port |
ListOfPorts.get(java.lang.String sid)
Get a
Port from the ListOfPorts
based on its identifier. |
Port |
CompModelPlugin.getPort(long n)
Returns the port with the given index.
|
Port |
CompModelPlugin.getPort(java.lang.String id)
Returns the port with the given identifier.
|
Port |
ListOfPorts.remove(java.lang.String sid)
Removes an item from this
ListOfPorts items based on the identifier and
returns a pointer to it. |
Port |
CompModelPlugin.removePort(long index)
Removes the port with the given index.
|
Modifier and Type | Method and Description |
---|---|
int |
CompModelPlugin.addPort(Port port)
Adds a copy of the given
Port object to the list of ports. |
Constructor and Description |
---|
Port(Port source)
Copy constructor.
|