MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / current

Method current

framework/stagestack.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35sp<Stage> StageStack::current()
36{
37 if (this->Stack.empty())
38 return nullptr;
39 else
40 return this->Stack.back();
41}
42
43sp<Stage> StageStack::previous() { return previous(current()); }
44

Callers 5

pushMethod · 0.95
popMethod · 0.95
runMethod · 0.80
processEventsMethod · 0.80
stageGetCurrentMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected