NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Go to the source code of this file.
Functions | |
static std::vector< std::string > | getFileContent (const std::string &file) |
Read the content of a file in binary mode and try to detect lines within the file. More... | |
std::string | compareFiles (const std::string &file1, const std::string &file2) |
Compares two files linewise and in binary mode. The differences are returned as a unified diff. More... | |
std::string compareFiles | ( | const std::string & | file1, |
const std::string & | file2 | ||
) |
Compares two files linewise and in binary mode. The differences are returned as a unified diff.
file1 | const std::string& |
file2 | const std::string& |
Definition at line 58 of file compareFiles.cpp.
References dtl::Diff< elem, sequence, comparator >::compose(), dtl::Diff< elem, sequence, comparator >::composeUnifiedHunks(), getFileContent(), and dtl::Diff< elem, sequence, comparator >::printUnifiedFormat().
Referenced by NumeReWindow::OnCompareFiles().
|
static |
Read the content of a file in binary mode and try to detect lines within the file.
file | const std::string& |
Definition at line 32 of file compareFiles.cpp.
Referenced by compareFiles().