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

Method hvacComponent

src/model/PortList.cpp:279–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277 }
278
279 HVACComponent PortList_Impl::hvacComponent() const {
280 boost::optional<HVACComponent> result;
281
282 result = getObject<ModelObject>().getModelObjectTarget<HVACComponent>(OS_PortListFields::HVACComponent);
283
284 OS_ASSERT(result);
285
286 return result.get();
287 }
288
289 bool PortList_Impl::setHVACComponent(const HVACComponent& hvacComponent) {
290 return setPointer(OS_PortListFields::HVACComponent, hvacComponent.handle());

Callers 3

returnPlenumMethod · 0.80
removeReturnPlenumMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected