src/energyplus/ForwardTranslator/ForwardTranslateNode.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 | #include "../../model/Node.hpp" | ||
| 8 | #include "../../model/SetpointManager.hpp" | ||
| 9 | |||
| 10 | using namespace openstudio::model; | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | |||
| 14 | namespace energyplus { | ||
| 15 | |||
| 16 | 6793 | boost::optional<IdfObject> ForwardTranslator::translateNode(Node& modelObject) { | |
| 17 |
1/1✓ Branch 1 taken 6793 times.
|
6793 | std::vector<SetpointManager> _setpointManagers = modelObject.setpointManagers(); |
| 18 |
2/2✓ Branch 4 taken 539 times.
✓ Branch 5 taken 6793 times.
|
7332 | for (auto& _setpointManager : _setpointManagers) { |
| 19 |
1/1✓ Branch 1 taken 539 times.
|
539 | translateAndMapModelObject(_setpointManager); |
| 20 | } | ||
| 21 | |||
| 22 | 13586 | return {}; | |
| 23 | 6793 | } | |
| 24 | |||
| 25 | } // namespace energyplus | ||
| 26 | |||
| 27 | } // namespace openstudio | ||
| 28 |