GCC Code Coverage Report


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

src/model/SurfaceControlMovableInsulation_Impl.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_SURFACECONTROLMOVABLEINSULATION_IMPL_HPP
7 #define MODEL_SURFACECONTROLMOVABLEINSULATION_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 class Surface;
16 class Material;
17 class Schedule;
18
19 namespace detail {
20
21 /** SurfaceControlMovableInsulation_Impl is a ModelObject_Impl that is the implementation class for SurfaceControlMovableInsulation.*/
22 class MODEL_API SurfaceControlMovableInsulation_Impl : public ModelObject_Impl
23 {
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 SurfaceControlMovableInsulation_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
29
30 SurfaceControlMovableInsulation_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
31
32 SurfaceControlMovableInsulation_Impl(const SurfaceControlMovableInsulation_Impl& other, Model_Impl* model, bool keepHandle);
33
34 12 virtual ~SurfaceControlMovableInsulation_Impl() override = default;
35
36 //@}
37 /** @name Virtual Methods */
38 //@{
39
40 virtual ModelObject clone(Model model) const override;
41
42 virtual const std::vector<std::string>& outputVariableNames() const override;
43
44 virtual IddObjectType iddObjectType() const override;
45
46 virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override;
47
48 //@}
49 /** @name Getters */
50 //@{
51
52 std::string insulationType() const;
53
54 Surface surface() const;
55
56 Material material() const;
57
58 Schedule schedule() const;
59
60 //@}
61 /** @name Setters */
62 //@{
63
64 bool setInsulationType(const std::string& insulationType);
65
66 bool setSurface(const Surface& surface);
67
68 bool setMaterial(const Material& material);
69
70 bool setSchedule(Schedule& schedule);
71
72 //@}
73 /** @name Other */
74 //@{
75
76 //@}
77 protected:
78 private:
79 − REGISTER_LOGGER("openstudio.model.SurfaceControlMovableInsulation");
80 };
81
82 } // namespace detail
83
84 } // namespace model
85 } // namespace openstudio
86
87 #endif // MODEL_SURFACECONTROLMOVABLEINSULATION_IMPL_HPP
88