15 , fFileContentIterator()
17 , fFileAlreadyRead(false)
23 , fFileContentIterator()
25 , fFileAlreadyRead(false)
35 fFileAlreadyRead =
false;
40 ReadContentFromFile();
41 return fNumberOfLines;
44 void FairTestOutputHandler::ReadContentFromFile()
46 if (!fFileAlreadyRead) {
50 std::ifstream ifs(fFileName.c_str());
53 while (getline(ifs, line)) {
54 fFileContent.push_back(line);
57 fFileAlreadyRead =
true;
64 ReadContentFromFile();
66 return fFileContent[line];
std::string GetCaptureLine(int line)
void SetFileName(const std::string &filename)