Figure in the report.
More...
#include <CbmQaReportFigure.h>
|
| | Figure (std::string_view label, std::string_view title="") |
| | Constructor.
|
| |
| virtual | ~Figure ()=default |
| | Destructor.
|
| |
| void | AddPlot (std::string_view path, std::string_view caption="", std::string_view label="") |
| | Add plot.
|
| |
| std::string | GetBody (const Engine &engine) const override |
| | Gets body of the element.
|
| |
| const std::string & | GetCaption () const |
| | Gets caption.
|
| |
| const std::vector< size_t > & | GetPlotGrid () const |
| | Gets plot grid.
|
| |
| const std::vector< Plot > & | GetPlots () const |
| | Gets plot vector.
|
| |
| void | SetCaption (std::string_view caption) |
| | Sets caption.
|
| |
| void | SetPlotGrid (size_t nX, size_t nY) |
| | Sets plot grid.
|
| |
| void | SetPlotGrid (const std::vector< size_t > &grid) |
| | Set plot grid.
|
| |
| virtual std::string | GetBody (const Engine &engine) const =0 |
| | Gets body of the element.
|
| |
| const std::string & | GetLabel () const |
| | Gets label.
|
| |
| const std::string & | GetTitle () const |
| | Gets name.
|
| |
| void | SetLabel (std::string_view label) |
| | Sets label.
|
| |
| void | SetTitle (std::string_view title) |
| | Sets name.
|
| |
| const Element * | GetMother () const |
| | Gets mother element.
|
| |
Figure in the report.
Definition at line 19 of file CbmQaReportFigure.h.
◆ Figure()
| cbm::qa::report::Figure::Figure |
( |
std::string_view | label, |
|
|
std::string_view | title = "" ) |
|
inline |
Constructor.
- Parameters
-
| label | Label of the element |
| title | Title |
Definition at line 42 of file CbmQaReportFigure.h.
◆ ~Figure()
| virtual cbm::qa::report::Figure::~Figure |
( |
| ) |
|
|
virtualdefault |
◆ AddPlot()
| void cbm::qa::report::Figure::AddPlot |
( |
std::string_view | path, |
|
|
std::string_view | caption = "", |
|
|
std::string_view | label = "" ) |
|
inline |
Add plot.
- Parameters
-
| path | to the plot |
| caption | caption of the plot |
| label | label of the plot |
Definition at line 54 of file CbmQaReportFigure.h.
◆ AssignMother()
| void cbm::qa::report::Element::AssignMother |
( |
const Element * | pMother | ) |
|
|
inlineprivateinherited |
◆ GetBody() [1/2]
| virtual std::string cbm::qa::report::Element::GetBody |
( |
const Engine & | engine | ) |
const |
|
pure virtualinherited |
◆ GetBody() [2/2]
| std::string cbm::qa::report::Figure::GetBody |
( |
const Engine & | engine | ) |
const |
|
inlineoverride |
Gets body of the element.
- Parameters
-
| engine | A concrete implementation of the Engine to get the element body |
Definition at line 61 of file CbmQaReportFigure.h.
◆ GetCaption()
| const std::string & cbm::qa::report::Figure::GetCaption |
( |
| ) |
const |
|
inline |
◆ GetLabel()
| const std::string & cbm::qa::report::Element::GetLabel |
( |
| ) |
const |
|
inlineinherited |
◆ GetMother()
| const Element * cbm::qa::report::Element::GetMother |
( |
| ) |
const |
|
inlineinherited |
◆ GetPlotGrid()
| const std::vector< size_t > & cbm::qa::report::Figure::GetPlotGrid |
( |
| ) |
const |
|
inline |
◆ GetPlots()
| const std::vector< Plot > & cbm::qa::report::Figure::GetPlots |
( |
| ) |
const |
|
inline |
◆ GetTitle()
| const std::string & cbm::qa::report::Element::GetTitle |
( |
| ) |
const |
|
inlineinherited |
◆ SetCaption()
| void cbm::qa::report::Figure::SetCaption |
( |
std::string_view | caption | ) |
|
|
inline |
◆ SetLabel()
| void cbm::qa::report::Element::SetLabel |
( |
std::string_view | label | ) |
|
|
inlineinherited |
◆ SetPlotGrid() [1/2]
| void cbm::qa::report::Figure::SetPlotGrid |
( |
const std::vector< size_t > & | grid | ) |
|
|
inline |
Set plot grid.
- Parameters
-
| grid | Grid {X1, X2, ..., Xn}, where Xi – number of plots in the ith line |
Definition at line 86 of file CbmQaReportFigure.h.
◆ SetPlotGrid() [2/2]
| void cbm::qa::report::Figure::SetPlotGrid |
( |
size_t | nX, |
|
|
size_t | nY ) |
|
inline |
Sets plot grid.
- Parameters
-
| nX | Number of plots along the horizontal direction |
| nY | Number of plots along the vertical direction |
Definition at line 78 of file CbmQaReportFigure.h.
◆ SetTitle()
| void cbm::qa::report::Element::SetTitle |
( |
std::string_view | title | ) |
|
|
inlineinherited |
◆ fpMother
| const Element* cbm::qa::report::Element::fpMother = nullptr |
|
privateinherited |
◆ fsCaption
| std::string cbm::qa::report::Figure::fsCaption {} |
|
private |
◆ fsLabel
| std::string cbm::qa::report::Element::fsLabel = "" |
|
privateinherited |
◆ fsTitle
| std::string cbm::qa::report::Element::fsTitle = "" |
|
privateinherited |
◆ fvGrid
| std::vector<size_t> cbm::qa::report::Figure::fvGrid {} |
|
private |
◆ fvsPlots
| std::vector<Plot> cbm::qa::report::Figure::fvsPlots {} |
|
private |
The documentation for this class was generated from the following file: