MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / GetPreFunction

Method GetPreFunction

src/math/FGModelFunctions.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130
131std::shared_ptr<FGFunction> FGModelFunctions::GetPreFunction(const std::string& name)
132{
133 for (auto& prefunc: PreFunctions) {
134 if (prefunc->GetName() == name)
135 return prefunc;
136 }
137
138 return nullptr;
139}
140
141//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected