CbmRoot
Loading...
Searching...
No Matches
CbmQaReportTail.h
Go to the documentation of this file.
1/* Copyright (C) 2024 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#pragma once
11
12#include "CbmQaReportEngine.h"
13
14#include <string>
15#include <string_view>
16
17namespace cbm::qa::report
18{
21 class Tail {
22 public:
24 virtual ~Tail() = default;
25
28 std::string GetBody(const Engine& engine) const { return engine.TailBody(*this); }
29 };
30} // namespace cbm::qa::report
A base abstract class to provide an interface for element body (a visitor in the Visitor pattern)
virtual std::string TailBody(const Tail &tail) const =0
Creates a body for tail.
Tail of the report.
std::string GetBody(const Engine &engine) const
Gets body of the element.
virtual ~Tail()=default
Destructor.