| 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 | |
| 53 | protected: |
| 54 | std::ofstream m_Out; |