[checkmk-commits] Removed NegatingFilter.

Sven Panne sp at mathias-kettner.de
Fri Nov 10 12:20:47 CET 2017


Module: check_mk
Branch: master
Commit: ad6132eeaf73290d34aec24dc5677381f0efe831
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ad6132eeaf73290d34aec24dc5677381f0efe831

Author: Sven Panne <sp at mathias-kettner.de>
Date:   Fri Nov 10 10:03:12 2017 +0100

Removed NegatingFilter.

We can immediately negate the subfilter, so we are left with fewer cases
later.  We might even normalize to CNF or DNF later, but this is not done
yet because there is no pressing need.

Change-Id: I1ee5e5fa8838a704eb22e8e0a67b5f5bf1501e48

---

 livestatus/src/AndingFilter.cc         | 17 ++++++++++++
 livestatus/src/AndingFilter.h          |  4 +++
 livestatus/src/CustomVarsDictFilter.cc | 12 ++++++++-
 livestatus/src/CustomVarsDictFilter.h  |  5 ++++
 livestatus/src/DoubleFilter.cc         | 15 ++++++++++-
 livestatus/src/DoubleFilter.h          |  5 ++++
 livestatus/src/Filter.h                |  4 +++
 livestatus/src/FilterVisitor.h         |  2 --
 livestatus/src/IntFilter.cc            | 15 ++++++++++-
 livestatus/src/IntFilter.h             |  5 ++++
 livestatus/src/ListFilter.cc           | 37 ++++++++++++++++----------
 livestatus/src/ListFilter.h            |  6 ++++-
 livestatus/src/Makefile.am             |  1 -
 livestatus/src/NegatingFilter.cc       | 44 -------------------------------
 livestatus/src/NegatingFilter.h        | 48 ----------------------------------
 livestatus/src/OringFilter.cc          | 17 ++++++++++++
 livestatus/src/OringFilter.h           |  4 +++
 livestatus/src/Query.cc                |  7 +++--
 livestatus/src/StringFilter.cc         | 32 +++++++++++++++--------
 livestatus/src/StringFilter.h          |  6 ++++-
 livestatus/src/TableStateHistory.cc    |  2 --
 livestatus/src/TimeFilter.cc           | 15 ++++++++++-
 livestatus/src/TimeFilter.h            |  5 ++++
 livestatus/src/opids.cc                | 30 +++++++++++++++++++++
 livestatus/src/opids.h                 |  2 ++
 25 files changed, 208 insertions(+), 132 deletions(-)

Diff:   http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ad6132eeaf73290d34aec24dc5677381f0efe831


More information about the checkmk-commits mailing list