ReportSection
Namespace: UTILSLIB · Library: Utilities Library
#include <utils/report.h>
struct UTILSLIB::ReportSection
A section in the report (title + HTML content).
Example
No example of its own: Private storage record of Report; sections are created through the Report::add* methods.
It is exercised by:
src/examples/ex_utils/main.cpp
Report report("Example report");
report.addText("Summary", "All utilities were exercised.");
report.addTable("Montage", {"Electrode", "z (m)"}, {{"Cz", "0.087"}, {"Fp1", "0.033"}});
const QString html = report.toHtml();
report.save(dir.filePath("report.html"));
From ex_utils.
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>