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

Method SpaceLoadInstance

src/model/SpaceLoadInstance.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 } // namespace detail
83
84 SpaceLoadInstance::SpaceLoadInstance(IddObjectType type, const SpaceLoadDefinition& definition) : SpaceLoad(type, definition.model()) {
85 OS_ASSERT(getImpl<detail::SpaceLoadInstance_Impl>());
86 OS_ASSERT(this->setPointer(getImpl<detail::SpaceLoadInstance_Impl>()->definitionIndex(), definition.handle()));
87 }
88
89 SpaceLoadInstance::SpaceLoadInstance(std::shared_ptr<detail::SpaceLoadInstance_Impl> impl) : SpaceLoad(std::move(impl)) {}
90

Callers

nothing calls this directly

Calls 4

modelMethod · 0.45
setPointerMethod · 0.45
definitionIndexMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected