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

Method start

src/utilities/filetypes/WorkflowJSON.cpp:207–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205 }
206
207 void WorkflowJSON_Impl::start() {
208 m_value["started_at"] = DateTime::nowUTC().toISO8601();
209 m_value["current_step"] = 0;
210 for (auto& step : workflowSteps()) {
211 step.resetResult();
212 }
213 onUpdate();
214 }
215
216 unsigned WorkflowJSON_Impl::currentStepIndex() const {
217 Json::Value defaultValue(0);

Callers 3

Polyhedron.cppFile · 0.45
isConvexMethod · 0.45
uniqueVerticesMethod · 0.45

Calls 2

toISO8601Method · 0.80
resetResultMethod · 0.80

Tested by

no test coverage detected