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

Method setWorkflowSteps

src/utilities/filetypes/WorkflowJSON.cpp:685–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683 }
684
685 bool WorkflowJSON_Impl::setWorkflowSteps(const std::vector<WorkflowStep>& workflowSteps) {
686 disconnectSteps();
687 m_steps = workflowSteps;
688 setMeasureTypes();
689 connectSteps();
690 onUpdate(); // onUpdate does not happen in setMeasureTypes
691 return true;
692 }
693
694 void WorkflowJSON_Impl::resetWorkflowSteps() {
695 bool test = setWorkflowSteps(std::vector<WorkflowStep>()); // will hit onUpdate in setWorkflowSteps

Callers 5

TEST_FFunction · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 5

TEST_FFunction · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64