DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
RFilterStream.hpp
Go to the documentation of this file.
1/*
2 * RFilterStream.h
3 * ERS
4 *
5 * Created by Andrea Negri on 13.11.06.
6 * Copyright 2005 CERN. All rights reserved.
7 *
8 */
9
15#ifndef ERS_STREAM_RFILTER_H
16#define ERS_STREAM_RFILTER_H
17
18#include <ers/OutputStream.hpp>
19#include <boost/regex.hpp>
20
21namespace ers
22{
40 {
41 public:
42 RFilterStream( const std::string & format );
43
44 void write( const Issue & issue ) override;
45
46 private:
47 bool is_accepted( const ers::Issue & issue );
48
49 std::vector<boost::regex> m_regInclude;
50 std::vector<boost::regex> m_regExclude;
51 };
52}
53
54#endif
Base class for any user define issue.
Definition Issue.hpp:69
ERS abstract output stream interface.
Filtering stream implementation.
RFilterStream(const std::string &format)
std::vector< boost::regex > m_regExclude
exclude list
std::vector< boost::regex > m_regInclude
include list
bool is_accepted(const ers::Issue &issue)
void write(const Issue &issue) override