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

Method IsInitFile

src/JSBSim.cpp:178–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 return result;
177 }
178 bool IsInitFile(const SGPath& filename) {
179 bool result=false;
180 Element *document = LoadXMLDocument(filename, false);
181 if (document && document->GetName() == "initialize") result = true;
182 ResetParser();
183 return result;
184 }
185};
186
187/** The Timer class measures the elapsed real time and can be paused and resumed.

Callers 1

optionsFunction · 0.80

Calls 3

LoadXMLDocumentFunction · 0.85
ResetParserFunction · 0.85
GetNameMethod · 0.45

Tested by

no test coverage detected