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

Method IsAircraftFile

src/JSBSim.cpp:171–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 return result;
170 }
171 bool IsAircraftFile(const SGPath& filename) {
172 bool result=false;
173 Element* document = LoadXMLDocument(filename, false);
174 if (document && document->GetName() == "fdm_config") result = true;
175 ResetParser();
176 return result;
177 }
178 bool IsInitFile(const SGPath& filename) {
179 bool result=false;
180 Element *document = LoadXMLDocument(filename, false);

Callers 1

optionsFunction · 0.80

Calls 3

LoadXMLDocumentFunction · 0.85
ResetParserFunction · 0.85
GetNameMethod · 0.45

Tested by

no test coverage detected