Module: check_mk
Branch: master
Commit: f768fe3268a9de18f10c974f195ac39cb9ac7056
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f768fe3268a9de…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Mar 13 13:18:47 2018 +0100
Added Filter::partialFilter(), considerably simplifying things.
Note that Query::filter() returns a plain Filter now, not an AndingFilter.
This was a long-standing typing wart...
Change-Id: I962b758c1a416893a186c34ce3a5faa8a92f1bce
---
livestatus/src/AndingFilter.cc | 12 +++--
livestatus/src/AndingFilter.h | 8 ++--
.../src/{FilterVisitor.h => ColumnFilter.cc} | 29 ++++++------
livestatus/src/ColumnFilter.h | 14 +++---
livestatus/src/Filter.h | 6 ++-
livestatus/src/Makefile.am | 1 +
livestatus/src/OringFilter.cc | 12 +++--
livestatus/src/OringFilter.h | 8 ++--
livestatus/src/Query.cc | 1 +
livestatus/src/Query.h | 8 +---
livestatus/src/TableStateHistory.cc | 55 +++-------------------
livestatus/src/TableStateHistory.h | 3 +-
12 files changed, 63 insertions(+), 94 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=f768fe3268…