GCC Code Coverage Report


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

src/model/WeatherFileConditionType_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_WEATHERFILECONDITIONTYPE_IMPL_HPP
7 #define MODEL_WEATHERFILECONDITIONTYPE_IMPL_HPP
8
9 #include "SizingPeriod_Impl.hpp"
10
11 namespace openstudio {
12 namespace model {
13
14 namespace detail {
15
16 class MODEL_API WeatherFileConditionType_Impl : public SizingPeriod_Impl
17 {
18 public:
19 // constructor
20 WeatherFileConditionType_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
21
22 // construct from workspace
23 WeatherFileConditionType_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
24
25 // clone copy constructor
26 WeatherFileConditionType_Impl(const WeatherFileConditionType_Impl& other, Model_Impl* model, bool keepHandle);
27
28 // virtual destructor
29 3 virtual ~WeatherFileConditionType_Impl() override = default;
30
31 // Get all output variable names that could be associated with this object.
32 virtual const std::vector<std::string>& outputVariableNames() const override;
33
34 virtual IddObjectType iddObjectType() const override;
35
36 // ensure that this object does not contain the date 2/29
37 virtual void ensureNoLeapDays() override;
38
39 private:
40 REGISTER_LOGGER("openstudio.model.WeatherFileConditionType");
41 };
42
43 } // namespace detail
44
45 } // namespace model
46 } // namespace openstudio
47
48 #endif // MODEL_WEATHERFILECONDITIONTYPE_IMPL_HPP
49