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