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

Method GetFunctionValues

src/math/FGModelFunctions.cpp:166–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
165
166string FGModelFunctions::GetFunctionValues(const string& delimeter) const
167{
168 ostringstream buf;
169
170 for (auto& prefunc: PreFunctions) {
171 if (buf.tellp() > 0) buf << delimeter;
172 buf << prefunc->GetValue();
173 }
174
175 for (auto& postfunc: PostFunctions) {
176 if (buf.tellp() > 0) buf << delimeter;
177 buf << postfunc->GetValue();
178 }
179
180 return buf.str();
181}
182
183//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
184

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected