| 500 | } |
| 501 | |
| 502 | bool SubSurface_Impl::allowWindowPropertyFrameAndDivider() const { |
| 503 | bool result = false; |
| 504 | |
| 505 | std::string subSurfaceType = this->subSurfaceType(); |
| 506 | if (istringEqual("FixedWindow", subSurfaceType) || istringEqual("OperableWindow", subSurfaceType) || istringEqual("Skylight", subSurfaceType) |
| 507 | || istringEqual("GlassDoor", subSurfaceType)) { |
| 508 | result = true; |
| 509 | } |
| 510 | |
| 511 | return result; |
| 512 | } |
| 513 | |
| 514 | boost::optional<WindowPropertyFrameAndDivider> SubSurface_Impl::windowPropertyFrameAndDivider() const { |
| 515 | return getObject<SubSurface>().getModelObjectTarget<WindowPropertyFrameAndDivider>(OS_SubSurfaceFields::FrameandDividerName); |