Module: check_mk
Branch: master
Commit: 6f2cd40b8698ebb4a55c905095b448b7662f652e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6f2cd40b8698eb…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Oct 4 13:05:04 2017 +0200
Moved final offset into Column base class, part 1.
The common pointer navigation pattern in all column classes is:
add offset => deref => add offset => deref => ... => add offset
This change makes this more explicit and is a necessary initial step to make
things more type safe in this area. As part of this change, the argument
order was unified.
More to come...
Change-Id: I7edba83451ee8eaa51c6b92f532ef425f8782508
---
livestatus/src/BlobColumn.h | 5 +-
livestatus/src/Column.cc | 13 +++--
livestatus/src/Column.h | 5 +-
livestatus/src/CommentColumn.h | 8 +--
livestatus/src/ContactGroupsColumn.cc | 5 +-
livestatus/src/ContactGroupsColumn.h | 11 ++--
livestatus/src/ContactGroupsMemberColumn.h | 4 +-
livestatus/src/ContactsColumn.h | 4 +-
livestatus/src/DoubleColumn.h | 5 +-
livestatus/src/DoublePointerColumn.h | 2 +-
livestatus/src/DowntimeColumn.h | 6 +--
.../src/DynamicEventConsoleReplicationColumn.cc | 6 +--
livestatus/src/DynamicLogwatchFileColumn.cc | 7 ++-
livestatus/src/HostContactsColumn.h | 4 +-
livestatus/src/HostFileColumn.cc | 6 +--
livestatus/src/HostFileColumn.h | 4 +-
livestatus/src/HostGroupsColumn.cc | 5 +-
livestatus/src/HostGroupsColumn.h | 9 ++--
livestatus/src/HostListColumn.cc | 4 +-
livestatus/src/HostListColumn.h | 9 ++--
livestatus/src/HostSpecialDoubleColumn.h | 8 +--
livestatus/src/ListColumn.h | 5 +-
livestatus/src/LogwatchListColumn.h | 6 +--
livestatus/src/MetricsColumn.cc | 1 +
livestatus/src/MetricsColumn.h | 27 ++++------
livestatus/src/NullColumn.h | 7 ++-
livestatus/src/OffsetDoubleColumn.cc | 5 +-
livestatus/src/OffsetDoubleColumn.h | 6 +--
livestatus/src/Query.cc | 4 +-
livestatus/src/ServiceContactsColumn.h | 4 +-
livestatus/src/ServiceGroupsColumn.cc | 5 +-
livestatus/src/ServiceGroupsColumn.h | 9 ++--
livestatus/src/ServiceListColumn.cc | 4 +-
livestatus/src/ServiceListColumn.h | 9 ++--
livestatus/src/ServiceSpecialDoubleColumn.h | 8 +--
livestatus/src/TableContactGroups.cc | 3 +-
livestatus/src/TableEventConsole.h | 4 +-
livestatus/src/TableHostGroups.cc | 8 +--
livestatus/src/TableHosts.cc | 63 +++++++++++-----------
livestatus/src/TableServiceGroups.cc | 8 +--
livestatus/src/TableServices.cc | 31 +++++------
41 files changed, 165 insertions(+), 182 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6f2cd40b86…