summaryrefslogtreecommitdiffstats
path: root/lib/livestatus/combinerfilter.hpp
blob: 49b8b611d4191850e8576c95de4f1d17700a3c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef COMBINERFILTER_H
#define COMBINERFILTER_H

#include "livestatus/filter.hpp"

using namespace icinga;

namespace icinga
{

/**
 * @ingroup livestatus
 */
class CombinerFilter : public Filter
{
public:
	DECLARE_PTR_TYPEDEFS(CombinerFilter);

	void AddSubFilter(const Filter::Ptr& filter);

protected:
	std::vector<Filter::Ptr> m_Filters;

	CombinerFilter() = default;
};

}

#endif /* COMBINERFILTER_H */