GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 60.0% 3 / 0 / 5
Functions: 60.0% 3 / 0 / 5
Branches: -% 0 / 0 / 0

src/model/PlantEquipmentOperationHeatingLoad.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_PLANTEQUIPMENTOPERATIONHEATINGLOAD_HPP
7 #define MODEL_PLANTEQUIPMENTOPERATIONHEATINGLOAD_HPP
8
9 #include "ModelAPI.hpp"
10 #include "PlantEquipmentOperationRangeBasedScheme.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 class PlantEquipmentOperationHeatingLoad_Impl;
18
19 } // namespace detail
20
21 /** PlantEquipmentOperationHeatingLoad is a PlantEquipmentOperationRangeBasedScheme that wraps the OpenStudio IDD object 'OS:PlantEquipmentOperation:HeatingLoad'. */
22 class MODEL_API PlantEquipmentOperationHeatingLoad : public PlantEquipmentOperationRangeBasedScheme
23 {
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 explicit PlantEquipmentOperationHeatingLoad(const Model& model);
29
30 17 virtual ~PlantEquipmentOperationHeatingLoad() override = default;
31 // Default the copy and move operators because the virtual dtor is explicit
32 3 PlantEquipmentOperationHeatingLoad(const PlantEquipmentOperationHeatingLoad& other) = default;
33 6 PlantEquipmentOperationHeatingLoad(PlantEquipmentOperationHeatingLoad&& other) = default;
34 ✗ PlantEquipmentOperationHeatingLoad& operator=(const PlantEquipmentOperationHeatingLoad&) = default;
35 ✗ PlantEquipmentOperationHeatingLoad& operator=(PlantEquipmentOperationHeatingLoad&&) = default;
36
37 //@}
38
39 static IddObjectType iddObjectType();
40
41 protected:
42 /// @cond
43 using ImplType = detail::PlantEquipmentOperationHeatingLoad_Impl;
44
45 explicit PlantEquipmentOperationHeatingLoad(std::shared_ptr<detail::PlantEquipmentOperationHeatingLoad_Impl> impl);
46
47 friend class detail::PlantEquipmentOperationHeatingLoad_Impl;
48 friend class Model;
49 friend class IdfObject;
50 friend class openstudio::detail::IdfObject_Impl;
51 /// @endcond
52 private:
53 REGISTER_LOGGER("openstudio.model.PlantEquipmentOperationHeatingLoad");
54 };
55
56 /** \relates PlantEquipmentOperationHeatingLoad*/
57 using OptionalPlantEquipmentOperationHeatingLoad = boost::optional<PlantEquipmentOperationHeatingLoad>;
58
59 /** \relates PlantEquipmentOperationHeatingLoad*/
60 using PlantEquipmentOperationHeatingLoadVector = std::vector<PlantEquipmentOperationHeatingLoad>;
61
62 } // namespace model
63 } // namespace openstudio
64
65 #endif // MODEL_PLANTEQUIPMENTOPERATIONHEATINGLOAD_HPP
66