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

Method isTypeValueAllowingSlatAngleControl

src/model/ShadingControl.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 bool ShadingControl_Impl::isTypeValueAllowingSlatAngleControl(const std::string& type) {
105 static constexpr std::array data{
106 //"InteriorShade",
107 //"ExteriorShade",
108 //"ExteriorScreen",
109 "InteriorBlind", "ExteriorBlind",
110 //"BetweenGlassShade",
111 "BetweenGlassBlind",
112 //"SwitchableGlazing",
113 //"InteriorDaylightRedirectionDevice"
114 };
115 return std::find_if(data.begin(), data.end(), [&type](auto c) { return openstudio::istringEqual(type, c); }) != data.end();
116 }
117
118 IddObjectType ShadingControl_Impl::iddObjectType() const {
119 return ShadingControl::iddObjectType();

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 4

istringEqualFunction · 0.85
beginMethod · 0.80
shadingTypeMethod · 0.80
endMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64