Helper function to start the process of adding an object to the workspace.
| 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) { |
no outgoing calls
no test coverage detected