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

Method GetFunctionStrings

src/math/FGModelFunctions.cpp:143–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142
143string FGModelFunctions::GetFunctionStrings(const string& delimeter) const
144{
145 string FunctionStrings;
146
147 for (auto& prefunc: PreFunctions) {
148 if (!FunctionStrings.empty())
149 FunctionStrings += delimeter;
150
151 FunctionStrings += prefunc->GetName();
152 }
153
154 for (auto& postfunc: PostFunctions) {
155 if (!FunctionStrings.empty())
156 FunctionStrings += delimeter;
157
158 FunctionStrings += postfunc->GetName();
159 }
160
161 return FunctionStrings;
162}
163
164//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
165

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected