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

Method Load

src/input_output/FGOutputTextFile.cpp:64–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
63
64bool FGOutputTextFile::Load(Element* el)
65{
66 if(!FGOutputFile::Load(el))
67 return false;
68
69 string type = el->GetAttributeValue("type");
70 string delim;
71 if (type == "TABULAR") {
72 delim = "\t";
73 } else {
74 delim = ",";
75 }
76
77 SetDelimiter(delim);
78
79 return true;
80}
81
82//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
83

Callers

nothing calls this directly

Calls 2

GetAttributeValueMethod · 0.80
LoadFunction · 0.50

Tested by

no test coverage detected