src/model/PlantEquipmentOperationScheme.hpp
| 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 | #ifndef MODEL_PLANTEQUIPMENTOPERATIONSCHEME_HPP | ||
| 7 | #define MODEL_PLANTEQUIPMENTOPERATIONSCHEME_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class PlantLoop; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | class PlantEquipmentOperationScheme_Impl; | ||
| 19 | } | ||
| 20 | |||
| 21 | class MODEL_API PlantEquipmentOperationScheme : public ModelObject | ||
| 22 | { | ||
| 23 | |||
| 24 | public: | ||
| 25 | PlantEquipmentOperationScheme(IddObjectType type, const Model& model); | ||
| 26 | |||
| 27 | 34 | virtual ~PlantEquipmentOperationScheme() override = default; | |
| 28 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 29 | 7 | PlantEquipmentOperationScheme(const PlantEquipmentOperationScheme& other) = default; | |
| 30 | 11 | PlantEquipmentOperationScheme(PlantEquipmentOperationScheme&& other) = default; | |
| 31 | ✗ | PlantEquipmentOperationScheme& operator=(const PlantEquipmentOperationScheme&) = default; | |
| 32 | ✗ | PlantEquipmentOperationScheme& operator=(PlantEquipmentOperationScheme&&) = default; | |
| 33 | |||
| 34 | boost::optional<PlantLoop> plantLoop() const; | ||
| 35 | |||
| 36 | protected: | ||
| 37 | /// @cond | ||
| 38 | using ImplType = detail::PlantEquipmentOperationScheme_Impl; | ||
| 39 | |||
| 40 | explicit PlantEquipmentOperationScheme(std::shared_ptr<detail::PlantEquipmentOperationScheme_Impl> impl); | ||
| 41 | |||
| 42 | friend class detail::PlantEquipmentOperationScheme_Impl; | ||
| 43 | friend class Model; | ||
| 44 | friend class IdfObject; | ||
| 45 | friend class openstudio::detail::IdfObject_Impl; | ||
| 46 | /// @endcond | ||
| 47 | private: | ||
| 48 | REGISTER_LOGGER("openstudio.model.PlantEquipmentOperationScheme"); | ||
| 49 | }; | ||
| 50 | |||
| 51 | using OptionalPlantEquipmentOperationScheme = boost::optional<PlantEquipmentOperationScheme>; | ||
| 52 | |||
| 53 | using PlantEquipmentOperationSchemeVector = std::vector<PlantEquipmentOperationScheme>; | ||
| 54 | |||
| 55 | } // namespace model | ||
| 56 | } // namespace openstudio | ||
| 57 | |||
| 58 | #endif // MODEL_PLANTEQUIPMENTOPERATIONSCHEME_HPP | ||
| 59 |