blob: 60202b4b1cb9327b9d290a4ccd350d936fb1ac46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "livestatus/negatefilter.hpp"
using namespace icinga;
NegateFilter::NegateFilter(Filter::Ptr inner)
: m_Inner(std::move(inner))
{ }
bool NegateFilter::Apply(const Table::Ptr& table, const Value& row)
{
return !m_Inner->Apply(table, row);
}
|