]> granicus.if.org Git - icinga2/blob - lib/livestatus/andfilter.hpp
add some object locking to the Dump method (which could theoreticylly suffer from...
[icinga2] / lib / livestatus / andfilter.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef ANDFILTER_H
4 #define ANDFILTER_H
5
6 #include "livestatus/combinerfilter.hpp"
7
8 using namespace icinga;
9
10 namespace icinga
11 {
12
13 /**
14  * @ingroup livestatus
15  */
16 class AndFilter final : public CombinerFilter
17 {
18 public:
19         DECLARE_PTR_TYPEDEFS(AndFilter);
20
21         bool Apply(const Table::Ptr& table, const Value& row) override;
22 };
23
24 }
25
26 #endif /* ANDFILTER_H */