| 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); |