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

Method rainIndicator

src/model/DesignDay.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 bool DesignDay_Impl::rainIndicator() const {
109 bool result(false);
110 std::string i = getString(OS_SizingPeriod_DesignDayFields::RainIndicator, true).get();
111 if (i == "Yes") {
112 result = true;
113 }
114 return result;
115 }
116
117 bool DesignDay_Impl::isRainIndicatorDefaulted() const {
118 return isEmpty(OS_SizingPeriod_DesignDayFields::RainIndicator);

Callers 3

TEST_FFunction · 0.80
translateDesignDayMethod · 0.80
TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64