MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / isStepMarkedSkip

Function isStepMarkedSkip

src/workflow/ApplyMeasure.cpp:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace openstudio {
33
34bool isStepMarkedSkip(const std::map<std::string, openstudio::Variant>& stepArgs) {
35 bool skip_measure = false;
36
37 // handle skip first
38 if (!stepArgs.empty() && stepArgs.contains("__SKIP__")) {
39 const openstudio::Variant& argumentValue = stepArgs.at("__SKIP__");
40 skip_measure = argumentValue.isTrueish();
41 }
42 return skip_measure;
43}
44
45void OSWorkflow::applyMeasures(MeasureType measureType, ApplyMeasureType apply_measure_type) {
46

Callers 1

applyMeasuresMethod · 0.85

Calls 2

isTrueishMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected