| 56 | } |
| 57 | |
| 58 | ModelObject PythonPluginVariable_Impl::clone(Model model) const { |
| 59 | auto newVar = ModelObject_Impl::clone(model).cast<PythonPluginVariable>(); |
| 60 | |
| 61 | for (const auto& child : pythonPluginTrendVariables()) { |
| 62 | child.clone(model).cast<PythonPluginTrendVariable>().setPythonPluginVariable(newVar); |
| 63 | } |
| 64 | |
| 65 | for (const auto& child : pythonPluginOutputVariables()) { |
| 66 | child.clone(model).cast<PythonPluginOutputVariable>().setPythonPluginVariable(newVar); |
| 67 | } |
| 68 | |
| 69 | return std::move(newVar); |
| 70 | } |
| 71 | |
| 72 | std::vector<IdfObject> PythonPluginVariable_Impl::remove() { |
| 73 | std::vector<IdfObject> result; |
nothing calls this directly
no test coverage detected