Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 07a4a04fecee414f69dafa38a0eaecb9f09af2f2
https://github.com/tribe29/checkmk/commit/07a4a04fecee414f69dafa38a0eaecb9f…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)
Changed paths:
R livestatus/src/AttributeBitmaskColumn.cc
M livestatus/src/AttributeBitmaskColumn.h
A livestatus/src/AttributeListColumn.cc
M livestatus/src/AttributeListColumn.h
M livestatus/src/Makefile.am
M livestatus/src/TableContacts.cc
M livestatus/src/TableHosts.cc
M livestatus/src/TableServices.cc
A livestatus/src/test/test_AttributeListColumn.cc
Log Message:
-----------
Port AttributeListColumn to new API
In the new column API, `serialize` ist stateless and transforms
each elements of type U (from ListColumn::Callback<T, U>) to string,
this is performed here by mapping the bit index to the string.
Also, in order to use the IntFilter on the `vector<string>` column, we
need to convert the strings back to the bitmask value.
CMK-7076
Change-Id: I7d50d773ada2b5083a99a38bb1c147652686b78d