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

Method cumulative

src/model/OutputMeter.cpp:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 bool OutputMeter_Impl::cumulative() const {
119 boost::optional<std::string> value = getString(OS_Output_MeterFields::Cumulative, true);
120 OS_ASSERT(value);
121 return openstudio::istringEqual(value.get(), "True");
122 }
123
124 bool OutputMeter_Impl::isCumulativeDefaulted() const {
125 return isEmpty(OS_Output_MeterFields::Cumulative);

Callers 4

TEST_FFunction · 0.80
translateOutputMeterMethod · 0.80
TEST_FFunction · 0.80

Calls 2

istringEqualFunction · 0.85
getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64