| 2068 | } |
| 2069 | |
| 2070 | Workspace_Impl::OptionalSavedWorkspaceObject Workspace_Impl::savedWorkspaceObject(const Handle& handle) { |
| 2071 | OptionalWorkspaceObject oObject = getObject(handle); |
| 2072 | if (!oObject) { |
| 2073 | return boost::none; |
| 2074 | } |
| 2075 | |
| 2076 | // required info |
| 2077 | SavedWorkspaceObject result(handle, oObject->getImpl<WorkspaceObject_Impl>()); |
| 2078 | |
| 2079 | // direct order |
| 2080 | result.orderIndex = m_workspaceObjectOrder.indexInOrder(handle); |
| 2081 | |
| 2082 | return result; |
| 2083 | } |
| 2084 | |
| 2085 | std::vector<WorkspaceObject> Workspace_Impl::nominallyRemoveObject(const Handle& handle) { |
| 2086 | // get object. should exist since call came from within Workspace. |
nothing calls this directly
no test coverage detected