NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions
NXOpen::Routing::PortConnectionCollection Class Reference

Represents a collection of PortConnection objects. More...

Inheritance diagram for NXOpen::Routing::PortConnectionCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Types

enum  PortsStatus { PortsStatusCanConnect, PortsStatusCannotConnect }
 Option to check if two ports can be connected by creating a PortConnection object. More...

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::Routing::PortConnectionCollection::PortsStatus CanPortsConnect (NXOpen::Routing::Port *port1, NXOpen::Routing::Port *port2)
 Determines if the two ports can be connected using a Port Connection object.
NXOpen::Routing::PortConnectionCreatePortConnection (NXOpen::Routing::Port *port1, NXOpen::Routing::Port *port2)
 Creates a PortConnection object.
iterator end ()
 Returns an iterator addressing one past the last element.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

Represents a collection of PortConnection objects.


To obtain an instance of this class, refer to Routing::RouteManager

Created in NX4.0.0.


Member Enumeration Documentation

Option to check if two ports can be connected by creating a PortConnection object.

Enumerator:
PortsStatusCanConnect 

The Ports can be connected using Port Connection object.

PortsStatusCannotConnect 

The Ports cannot be connected using Port Connection object.


Member Function Documentation

Returns an iterator addressing the first element.

Determines if the two ports can be connected using a Port Connection object.

Returns:

Created in NX4.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Parameters:
port1first Port to be connected by the Port Connection object
port2second Port to be connected by the Port Connection object

Creates a PortConnection object.

Returns:

Created in NX4.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
Parameters:
port1first Port to be connected by the Port Connection object
port2second Port to be connected by the Port Connection object

Returns an iterator addressing one past the last element.

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.