NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <string>
Go to the source code of this file.
Functions | |
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().