GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 20.0% 1 / 1 / 6
Functions: 20.0% 1 / 1 / 6
Branches: -% 0 / 1 / 1

src/model/EnergyManagementSystemConstructionIndexVariable.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_ENERGYMANAGEMENTSYSTEMCONSTRUCTIONINDEXVARIABLE_HPP
7 #define MODEL_ENERGYMANAGEMENTSYSTEMCONSTRUCTIONINDEXVARIABLE_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 // TODO: Check the following class names against object getters and setters.
16 class Construction;
17
18 namespace detail {
19
20 class EnergyManagementSystemConstructionIndexVariable_Impl;
21
22 } // namespace detail
23
24 /** EnergyManagementSystemConstructionIndexVariable is a ModelObject that wraps the OpenStudio IDD object 'OS:EnergyManagementSystem:ConstructionIndexVariable'. */
25 class MODEL_API EnergyManagementSystemConstructionIndexVariable : public ModelObject
26 {
27 public:
28 /** @name Constructors and Destructors */
29 //@{
30
31 explicit EnergyManagementSystemConstructionIndexVariable(const Model& model, const Construction& construction);
32
33 explicit EnergyManagementSystemConstructionIndexVariable(const Model& model);
34
35 11 virtual ~EnergyManagementSystemConstructionIndexVariable() override = default;
36 // Default the copy and move operators because the virtual dtor is explicit
37 ✗ EnergyManagementSystemConstructionIndexVariable(const EnergyManagementSystemConstructionIndexVariable& other) = default;
38 ✗ EnergyManagementSystemConstructionIndexVariable(EnergyManagementSystemConstructionIndexVariable&& other) = default;
39 ✗ EnergyManagementSystemConstructionIndexVariable& operator=(const EnergyManagementSystemConstructionIndexVariable&) = default;
40 ✗ EnergyManagementSystemConstructionIndexVariable& operator=(EnergyManagementSystemConstructionIndexVariable&&) = default;
41
42 //@}
43
44 static IddObjectType iddObjectType();
45
46 /** @name Getters */
47 //@{
48
49 ModelObject constructionObject() const;
50
51 //@}
52 /** @name Setters */
53 //@{
54
55 bool setConstructionObject(const ModelObject& construction);
56
57 //@}
58 /** @name Other */
59 //@{
60
61 //@}
62 protected:
63 /// @cond
64 using ImplType = detail::EnergyManagementSystemConstructionIndexVariable_Impl;
65
66 explicit EnergyManagementSystemConstructionIndexVariable(std::shared_ptr<detail::EnergyManagementSystemConstructionIndexVariable_Impl> impl);
67
68 friend class detail::EnergyManagementSystemConstructionIndexVariable_Impl;
69 friend class Model;
70 friend class IdfObject;
71 friend class openstudio::detail::IdfObject_Impl;
72 /// @endcond
73 private:
74 − REGISTER_LOGGER("openstudio.model.EnergyManagementSystemConstructionIndexVariable");
75 };
76
77 /** \relates EnergyManagementSystemConstructionIndexVariable*/
78 using OptionalEnergyManagementSystemConstructionIndexVariable = boost::optional<EnergyManagementSystemConstructionIndexVariable>;
79
80 /** \relates EnergyManagementSystemConstructionIndexVariable*/
81 using EnergyManagementSystemConstructionIndexVariableVector = std::vector<EnergyManagementSystemConstructionIndexVariable>;
82
83 } // namespace model
84 } // namespace openstudio
85
86 #endif // MODEL_ENERGYMANAGEMENTSYSTEMCONSTRUCTIONINDEXVARIABLE_HPP
87