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

Method addDaylightingDeviceShelf

src/model/SubSurface.cpp:1133–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1131 }
1132
1133 boost::optional<DaylightingDeviceShelf> SubSurface_Impl::addDaylightingDeviceShelf() const {
1134 boost::optional<DaylightingDeviceShelf> result = this->daylightingDeviceShelf();
1135 if (result) {
1136 return result;
1137 }
1138
1139 if (allowDaylightingDeviceShelf()) {
1140 try {
1141 result = DaylightingDeviceShelf(getObject<SubSurface>());
1142 } catch (const std::exception&) {
1143 }
1144 }
1145
1146 return result;
1147 }
1148
1149 bool SubSurface_Impl::allowDaylightingDeviceTubularDome() const {
1150 bool result = false;

Callers 1

TEST_FFunction · 0.80

Calls 2

Tested by 1

TEST_FFunction · 0.64