GCC Code Coverage Report


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

src/energyplus/ForwardTranslator/ForwardTranslateInfraredTransparentMaterial.cpp
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 #include "../ForwardTranslator.hpp"
7
8 #include "../../model/InfraredTransparentMaterial.hpp"
9
10 #include <utilities/idd/Material_InfraredTransparent_FieldEnums.hxx>
11 #include "../../utilities/idd/IddEnums.hpp"
12 #include <utilities/idd/IddEnums.hxx>
13
14 using namespace openstudio::model;
15
16 namespace openstudio {
17
18 namespace energyplus {
19
20 ✗ boost::optional<IdfObject> ForwardTranslator::translateInfraredTransparentMaterial(InfraredTransparentMaterial& modelObject) {
21 ✗ IdfObject idfObject(openstudio::IddObjectType::Material_InfraredTransparent);
22
23 ✗ m_idfObjects.push_back(idfObject);
24
25 ✗ idfObject.setString(Material_InfraredTransparentFields::Name, modelObject.name().get());
26
27 ✗ return boost::optional<IdfObject>(idfObject);
28 ✗ }
29
30 } // namespace energyplus
31
32 } // namespace openstudio
33