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

Method addDaylightingDeviceLightWell

src/model/SubSurface.cpp:1209–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1207 }
1208
1209 boost::optional<DaylightingDeviceLightWell> SubSurface_Impl::addDaylightingDeviceLightWell() const {
1210 boost::optional<DaylightingDeviceLightWell> result = this->daylightingDeviceLightWell();
1211 if (result) {
1212 return result;
1213 }
1214
1215 if (allowDaylightingDeviceLightWell()) {
1216 try {
1217 result = DaylightingDeviceLightWell(getObject<SubSurface>());
1218 } catch (const std::exception&) {
1219 }
1220 }
1221
1222 return result;
1223 }
1224
1225 boost::optional<ModelObject> SubSurface_Impl::surfaceAsModelObject() const {
1226 OptionalModelObject result;

Callers 1

TEST_FFunction · 0.80

Tested by 1

TEST_FFunction · 0.64