| 54 | : PlanarSurfaceGroup_Impl(other, model, keepHandle) {} |
| 55 | |
| 56 | boost::optional<ParentObject> ShadingSurfaceGroup_Impl::parent() const { |
| 57 | boost::optional<ParentObject> result; |
| 58 | |
| 59 | std::string shadingSurfaceType = this->shadingSurfaceType(); |
| 60 | if (istringEqual("Site", shadingSurfaceType)) { |
| 61 | result = this->model().getOptionalUniqueModelObject<Site>(); |
| 62 | } else if (istringEqual("Building", shadingSurfaceType)) { |
| 63 | result = this->model().building(); |
| 64 | } else if (istringEqual("Space", shadingSurfaceType)) { |
| 65 | result = this->space(); |
| 66 | } |
| 67 | return result; |
| 68 | } |
| 69 | |
| 70 | bool ShadingSurfaceGroup_Impl::setParent(ParentObject& newParent) { |
| 71 | bool result = false; |
nothing calls this directly
no test coverage detected