MCPcopy Create free account
hub / github.com/cuberite/cuberite / ProcessFile

Method ProcessFile

Tools/ToLuaDoxy/ToLuaDoxy.cpp:37–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37 void ProcessFile(const AString & a_FileIn)
38 {
39 std::ifstream In(a_FileIn.c_str());
40 if (In.fail())
41 {
42 std::cerr << "Cannot open input file " << a_FileIn << "." << std::endl;
43 return;
44 }
45 while (!In.eof())
46 {
47 AString Line;
48 std::getline(In, Line);
49 PushLine(Line);
50 }
51 }
52
53protected:
54 std::ofstream m_Out;

Callers 1

ProcessCFileFunction · 0.45

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected