MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / getStep

Method getStep

src/StepManager.cpp:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121const StepInfo* StepManager::getStep(step_id_type id) {
122 const steps_type::const_iterator step = steps().find(id);
123 if (step == steps().end()) {
124 return NULL;
125 }
126 return step->second.get();
127}
128
129/**
130 * Needed to fix the "static initialization order fiasco"

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected