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

Method sourceObjectPort

src/model/Connection.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 boost::optional<unsigned> Connection_Impl::sourceObjectPort() const {
55 return this->getUnsigned(openstudio::OS_ConnectionFields::OutletPort);
56 }
57
58 boost::optional<ModelObject> Connection_Impl::targetObject() const {
59 if (boost::optional<WorkspaceObject> oCandidate = getTarget(openstudio::OS_ConnectionFields::TargetObject)) {

Callers 2

connectedObjectPortMethod · 0.80
disconnectMethod · 0.80

Calls 1

getUnsignedMethod · 0.45

Tested by

no test coverage detected