src/energyplus/ForwardTranslator/ForwardTranslateSurfacePropertyOtherSideConditionsModel.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/Model.hpp" | ||
| 9 | #include "../../model/SurfacePropertyOtherSideConditionsModel.hpp" | ||
| 10 | #include "../../model/SurfacePropertyOtherSideConditionsModel_Impl.hpp" | ||
| 11 | |||
| 12 | #include "../../utilities/idf/IdfExtensibleGroup.hpp" | ||
| 13 | |||
| 14 | #include <utilities/idd/SurfaceProperty_OtherSideConditionsModel_FieldEnums.hxx> | ||
| 15 | |||
| 16 | #include "../../utilities/idd/IddEnums.hpp" | ||
| 17 | #include <utilities/idd/IddEnums.hxx> | ||
| 18 | #include <utilities/idd/IddFactory.hxx> | ||
| 19 | |||
| 20 | #include "../../utilities/core/Assert.hpp" | ||
| 21 | |||
| 22 | using namespace openstudio::model; | ||
| 23 | |||
| 24 | using namespace std; | ||
| 25 | |||
| 26 | namespace openstudio { | ||
| 27 | |||
| 28 | namespace energyplus { | ||
| 29 | |||
| 30 | boost::optional<IdfObject> | ||
| 31 | 3 | ForwardTranslator::translateSurfacePropertyOtherSideConditionsModel(model::SurfacePropertyOtherSideConditionsModel& modelObject) { | |
| 32 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | IdfObject idfObject = createRegisterAndNameIdfObject(openstudio::IddObjectType::SurfaceProperty_OtherSideConditionsModel, modelObject); |
| 33 | |||
| 34 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setString(SurfaceProperty_OtherSideConditionsModelFields::TypeofModeling, modelObject.typeOfModeling()); |
| 35 | |||
| 36 |
1/1✓ Branch 1 taken 3 times.
|
6 | return idfObject; |
| 37 | 3 | } | |
| 38 | |||
| 39 | } // namespace energyplus | ||
| 40 | |||
| 41 | } // namespace openstudio | ||
| 42 |