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/GasLayer_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_GASLAYER_IMPL_HPP
7 #define MODEL_GASLAYER_IMPL_HPP
8
9 #include "FenestrationMaterial_Impl.hpp"
10
11 namespace openstudio {
12 namespace model {
13
14 // forward declaration
15 class GasLayer;
16
17 namespace detail {
18
19 class MODEL_API GasLayer_Impl : public FenestrationMaterial_Impl
20 {
21 public:
22 /** @name Constructors and Destructors */
23 //@{
24
25 // Construct completely new object.
26 GasLayer_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
27
28 // Construct from existing workspace object (typically when Model is being constructed
29 // from Workspace).
30 GasLayer_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
31
32 // Clone copy constructor.
33 GasLayer_Impl(const GasLayer_Impl& other, Model_Impl* model, bool keepHandle);
34
35 320 virtual ~GasLayer_Impl() override = default;
36
37 //@}
38 /** @name Getters */
39 //@{
40
41 virtual boost::optional<double> getVisibleTransmittance() const override;
42
43 virtual boost::optional<double> interiorVisibleAbsorptance() const override;
44
45 virtual boost::optional<double> exteriorVisibleAbsorptance() const override;
46
47 //@}
48
49 private:
50 REGISTER_LOGGER("openstudio.model.GasLayer");
51 };
52
53 } // namespace detail
54
55 } // namespace model
56 } // namespace openstudio
57
58 #endif // MODEL_GASLAYER_IMPL_HPP
59