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

Method createObject

src/utilities/idf/Workspace.cpp:438–440  ·  view source on GitHub ↗

Helper function to start the process of adding an object to the workspace.

Source from the content-addressed store, hash-verified

436
437 // Helper function to start the process of adding an object to the workspace.
438 std::shared_ptr<WorkspaceObject_Impl> Workspace_Impl::createObject(const IdfObject& object, bool keepHandle) {
439 return WorkspaceObject_ImplPtr(new WorkspaceObject_Impl(object, this, keepHandle));
440 }
441
442 // Helper function to start the process of adding a cloned object to the workspace.
443 WorkspaceObject_ImplPtr Workspace_Impl::createObject(const std::shared_ptr<WorkspaceObject_Impl>& originalObjectImplPtr, bool keepHandle) {

Callers 9

addObjectMethod · 0.95
addObjectsMethod · 0.95
addAndInsertObjectsMethod · 0.95
swapMethod · 0.95
simpleAddObjectsMethod · 0.95
WorkspaceMethod · 0.45
addVersionObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected