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