| 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()); |
no test coverage detected