src/model/PlantEquipmentOperationScheme.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "PlantEquipmentOperationScheme.hpp" | ||
| 7 | #include "PlantEquipmentOperationScheme_Impl.hpp" | ||
| 8 | #include "PlantLoop.hpp" | ||
| 9 | #include "PlantLoop_Impl.hpp" | ||
| 10 | #include "Model.hpp" | ||
| 11 | #include "Model_Impl.hpp" | ||
| 12 | #include "../utilities/core/Assert.hpp" | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | |||
| 16 | namespace model { | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | ✗ | PlantEquipmentOperationScheme_Impl::PlantEquipmentOperationScheme_Impl(IddObjectType type, Model_Impl* model) : ModelObject_Impl(type, model) {} | |
| 21 | |||
| 22 | 9 | PlantEquipmentOperationScheme_Impl::PlantEquipmentOperationScheme_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 23 | 9 | : ModelObject_Impl(idfObject, model, keepHandle) {} | |
| 24 | |||
| 25 | ✗ | PlantEquipmentOperationScheme_Impl::PlantEquipmentOperationScheme_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, | |
| 26 | ✗ | bool keepHandle) | |
| 27 | ✗ | : ModelObject_Impl(other, model, keepHandle) {} | |
| 28 | |||
| 29 | 4 | PlantEquipmentOperationScheme_Impl::PlantEquipmentOperationScheme_Impl(const PlantEquipmentOperationScheme_Impl& other, Model_Impl* model, | |
| 30 | 4 | bool keepHandles) | |
| 31 | 4 | : ModelObject_Impl(other, model, keepHandles) {} | |
| 32 | |||
| 33 | ✗ | boost::optional<PlantLoop> PlantEquipmentOperationScheme_Impl::plantLoop() const { | |
| 34 | ✗ | return boost::none; | |
| 35 | } | ||
| 36 | |||
| 37 | } // namespace detail | ||
| 38 | |||
| 39 | 9 | PlantEquipmentOperationScheme::PlantEquipmentOperationScheme(IddObjectType type, const Model& model) : ModelObject(type, model) { | |
| 40 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 9 times.
✗ Branch 5 not taken.
|
9 | OS_ASSERT(getImpl<detail::PlantEquipmentOperationScheme_Impl>()); |
| 41 | 9 | } | |
| 42 | |||
| 43 | 9 | PlantEquipmentOperationScheme::PlantEquipmentOperationScheme(std::shared_ptr<detail::PlantEquipmentOperationScheme_Impl> p) | |
| 44 |
1/1✓ Branch 3 taken 9 times.
|
9 | : ModelObject(std::move(p)) {} |
| 45 | |||
| 46 | ✗ | boost::optional<PlantLoop> PlantEquipmentOperationScheme::plantLoop() const { | |
| 47 | ✗ | return getImpl<detail::PlantEquipmentOperationScheme_Impl>()->plantLoop(); | |
| 48 | } | ||
| 49 | |||
| 50 | } // namespace model | ||
| 51 | |||
| 52 | } // namespace openstudio | ||
| 53 |