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

Method allowDaylightingDeviceShelf

src/model/SubSurface.cpp:1108–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1106 }
1107
1108 bool SubSurface_Impl::allowDaylightingDeviceShelf() const {
1109 bool result = false;
1110
1111 std::string subSurfaceType = this->subSurfaceType();
1112 if (istringEqual(subSurfaceType, "FixedWindow") || istringEqual(subSurfaceType, "OperableWindow")
1113 || istringEqual(subSurfaceType, "GlassDoor")) {
1114 result = true;
1115 }
1116
1117 return result;
1118 }
1119
1120 boost::optional<DaylightingDeviceShelf> SubSurface_Impl::daylightingDeviceShelf() const {
1121 boost::optional<DaylightingDeviceShelf> result;

Callers 1

Calls 2

subSurfaceTypeMethod · 0.95
istringEqualFunction · 0.85

Tested by

no test coverage detected