NX Open C++ Reference Guide
|
Represents a collection of StockOffsetPort objects. More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
NXOpen::Routing::StockOffsetPort * | CreateStockOffsetPort (NXOpen::Assemblies::Component *partOccurrence, NXOpen::Routing::Port *portPrototype) |
Creates a Routing::StockOffsetPort in the work part from the stock offset port in the given part occurrence. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a collection of StockOffsetPort objects.
To obtain an instance of this class, refer to Routing::RouteManager
Created in NX8.0.2.
iterator NXOpen::Routing::StockOffsetPortCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Routing::StockOffsetPort* NXOpen::Routing::StockOffsetPortCollection::CreateStockOffsetPort | ( | NXOpen::Assemblies::Component * | partOccurrence, |
NXOpen::Routing::Port * | portPrototype | ||
) |
Creates a Routing::StockOffsetPort in the work part from the stock offset port in the given part occurrence.
Returns the existing stock offset port in the work part if one already exists.
partOccurrence | The part occurrence from which to create the stock offset port. |
portPrototype | The prototype of the stock offset port in the part occurrence. |
iterator NXOpen::Routing::StockOffsetPortCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
tag_t NXOpen::Routing::StockOffsetPortCollection::Tag | ( | ) | const |
Returns the tag of this object.