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

Method setSourceObject

src/model/Connection.cpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 bool Connection_Impl::setSourceObject(const ModelObject& object) {
70 return setPointer(openstudio::OS_ConnectionFields::SourceObject, object.handle());
71 ;
72 }
73
74 bool Connection_Impl::setSourceObjectPort(unsigned port) {
75 return this->setUnsigned(openstudio::OS_ConnectionFields::OutletPort, port);

Callers 1

connectMethod · 0.80

Calls 1

handleMethod · 0.45

Tested by

no test coverage detected