ATLAS Offline Software
Loading...
Searching...
No Matches
MessagePrinterErrorCollect.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef ASG_MESSAGING__MESSAGE_PRINTER_ERROR_COLLECT_H
10#define ASG_MESSAGING__MESSAGE_PRINTER_ERROR_COLLECT_H
11
12#ifdef XAOD_STANDALONE
13
15#include <vector>
16
17namespace asg
18{
25
26 class MessagePrinterErrorCollect final : public IMessagePrinter
27 {
33 public:
34 virtual void
35 print (MSG::Level reglvl, const std::string& name,
36 const std::string& text) override;
37
38
42 public:
43 bool empty () const noexcept;
44
45
52 public:
53 bool matchesRegex (const std::string& pattern) const;
54
55
61 public:
62 std::string asString (const std::string& prefix) const;
63
64
66 private:
67 std::vector<std::string> m_errorMessages;
68 };
69}
70
71#endif
72
73#endif
void print(char *figname, TCanvas *c1)
static const Attributes_t empty
#define private