icinga2/lib/livestatus/combinerfilter.hpp

32 lines
459 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2013-03-10 15:11:32 +01:00
#ifndef COMBINERFILTER_H
#define COMBINERFILTER_H
2014-05-25 16:23:35 +02:00
#include "livestatus/filter.hpp"
2013-03-17 20:19:29 +01:00
using namespace icinga;
namespace icinga
2013-03-10 15:11:32 +01:00
{
/**
* @ingroup livestatus
*/
2017-12-31 07:22:16 +01:00
class CombinerFilter : public Filter
2013-03-10 15:11:32 +01:00
{
public:
DECLARE_PTR_TYPEDEFS(CombinerFilter);
2013-03-10 15:11:32 +01:00
void AddSubFilter(const Filter::Ptr& filter);
protected:
2013-03-16 21:18:53 +01:00
std::vector<Filter::Ptr> m_Filters;
2018-01-04 06:11:04 +01:00
CombinerFilter() = default;
2013-03-10 15:11:32 +01:00
};
}
#endif /* COMBINERFILTER_H */