src/measure/ReportingMeasure.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 "ReportingMeasure.hpp" | ||
| 7 | |||
| 8 | #include "OSArgument.hpp" | ||
| 9 | #include "OSOutput.hpp" | ||
| 10 | #include "OSRunner.hpp" | ||
| 11 | |||
| 12 | #include <vector> | ||
| 13 | |||
| 14 | namespace openstudio { | ||
| 15 | namespace measure { | ||
| 16 | |||
| 17 |
2/2✓ Branch 1 taken 86 times.
✓ Branch 4 taken 86 times.
|
86 | ReportingMeasure::ReportingMeasure() : OSMeasure(MeasureType::ReportingMeasure){}; |
| 18 | |||
| 19 | ✗ | std::vector<OSArgument> ReportingMeasure::arguments(const openstudio::model::Model& /*model*/) const { | |
| 20 | ✗ | return {}; | |
| 21 | } | ||
| 22 | |||
| 23 | ✗ | std::vector<OSOutput> ReportingMeasure::outputs() const { | |
| 24 | ✗ | return {}; | |
| 25 | } | ||
| 26 | |||
| 27 | 26 | bool ReportingMeasure::run(OSRunner& runner, const std::map<std::string, OSArgument>& /*user_arguments*/) const { | |
| 28 | 26 | runner.prepareForMeasureRun(*this); | |
| 29 | 26 | return true; | |
| 30 | } | ||
| 31 | |||
| 32 | ✗ | bool ReportingMeasure::modelOutputRequests(openstudio::model::Model& /*model*/, OSRunner& /*runner*/, | |
| 33 | const std::map<std::string, OSArgument>& /*user_arguments*/) const { | ||
| 34 | ✗ | return true; | |
| 35 | } | ||
| 36 | |||
| 37 | 15 | std::vector<IdfObject> ReportingMeasure::energyPlusOutputRequests(OSRunner& /*runner*/, | |
| 38 | const std::map<std::string, OSArgument>& /*user_arguments*/) const { | ||
| 39 | 15 | return {}; | |
| 40 | } | ||
| 41 | |||
| 42 | } // namespace measure | ||
| 43 | } // namespace openstudio | ||
| 44 |