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

Method parent

src/model/Space.cpp:154–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 Space_Impl::Space_Impl(const Space_Impl& other, Model_Impl* model, bool keepHandle) : PlanarSurfaceGroup_Impl(other, model, keepHandle) {}
153
154 boost::optional<ParentObject> Space_Impl::parent() const {
155 return boost::optional<ParentObject>(this->model().building());
156 }
157
158 bool Space_Impl::setParent(ParentObject& newParent) {
159 bool result = false;

Callers

nothing calls this directly

Calls 2

buildingMethod · 0.45
modelMethod · 0.45

Tested by

no test coverage detected