MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / setSourceObjectPort

Method setSourceObjectPort

src/model/Connection.cpp:74–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 bool Connection_Impl::setSourceObjectPort(unsigned port) {
75 return this->setUnsigned(openstudio::OS_ConnectionFields::OutletPort, port);
76 }
77
78 bool Connection_Impl::setTargetObject(const ModelObject& object) {
79 return setPointer(openstudio::OS_ConnectionFields::TargetObject, object.handle());

Callers 2

removePortMethod · 0.80
connectMethod · 0.80

Calls 1

setUnsignedMethod · 0.45

Tested by

no test coverage detected