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

Function GetID

utils/simplot/main.cpp:325–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
324
325int GetID(DataFile& df, string param)
326{
327 for (unsigned int i=0; i<df.names.size(); i++) {
328 if (df.names[i] == param) {
329 cout << df.names[i] << endl;
330 return i;
331 }
332 }
333 return -1;
334}
335
336//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
337

Callers 1

plotdataFunction · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected