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

Method targetObjectPort

src/model/Connection.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 }
64
65 boost::optional<unsigned> Connection_Impl::targetObjectPort() const {
66 return this->getUnsigned(openstudio::OS_ConnectionFields::InletPort).get();
67 }
68
69 bool Connection_Impl::setSourceObject(const ModelObject& object) {
70 return setPointer(openstudio::OS_ConnectionFields::SourceObject, object.handle());

Callers 2

connectedObjectPortMethod · 0.80
disconnectMethod · 0.80

Calls 2

getMethod · 0.45
getUnsignedMethod · 0.45

Tested by

no test coverage detected