GCC Code Coverage Report


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

src/model/WeatherFileConditionType.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_WEATHERFILECONDITIONTYPE_HPP
7 #define MODEL_WEATHERFILECONDITIONTYPE_HPP
8
9 #include "ModelAPI.hpp"
10 #include "SizingPeriod.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16 class WeatherFileConditionType_Impl;
17 } // namespace detail
18
19 class MODEL_API WeatherFileConditionType : public SizingPeriod
20 {
21 public:
22 // constructor
23 explicit WeatherFileConditionType(const Model& model);
24
25 5 virtual ~WeatherFileConditionType() override = default;
26 // Default the copy and move operators because the virtual dtor is explicit
27 ✗ WeatherFileConditionType(const WeatherFileConditionType& other) = default;
28 ✗ WeatherFileConditionType(WeatherFileConditionType&& other) = default;
29 ✗ WeatherFileConditionType& operator=(const WeatherFileConditionType&) = default;
30 ✗ WeatherFileConditionType& operator=(WeatherFileConditionType&&) = default;
31
32 static IddObjectType iddObjectType();
33
34 protected:
35 using ImplType = detail::WeatherFileConditionType_Impl;
36
37 friend class Model;
38 friend class openstudio::IdfObject;
39
40 // constructor
41 explicit WeatherFileConditionType(std::shared_ptr<detail::WeatherFileConditionType_Impl> impl);
42
43 private:
44 REGISTER_LOGGER("openstudio.model.WeatherFileConditionType");
45 };
46
47 /** \relates WeatherFileConditionType */
48 using OptionalWeatherFileConditionType = boost::optional<WeatherFileConditionType>;
49
50 /** \relates WeatherFileConditionType */
51 using WeatherFileConditionTypeVector = std::vector<WeatherFileConditionType>;
52
53 } // namespace model
54 } // namespace openstudio
55
56 #endif // MODEL_WEATHERFILECONDITIONTYPE_HPP
57