/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
+ * Copyright (C) 2012-2018 Icinga Development Team (https://www.icinga.com/) *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
/**
* @ingroup livestatus
*/
-class I2_LIVESTATUS_API LogTable : public HistoryTable
+class LogTable final : public HistoryTable
{
public:
DECLARE_PTR_TYPEDEFS(LogTable);
LogTable(const String& compat_log_path, time_t from, time_t until);
static void AddColumns(Table *table, const String& prefix = String(),
- const Column::ObjectAccessor& objectAccessor = Column::ObjectAccessor());
+ const Column::ObjectAccessor& objectAccessor = Column::ObjectAccessor());
- virtual String GetName(void) const override;
- virtual String GetPrefix(void) const override;
+ String GetName() const override;
+ String GetPrefix() const override;
void UpdateLogEntries(const Dictionary::Ptr& log_entry_attrs, int line_count, int lineno, const AddRowFunction& addRowFn) override;
protected:
- virtual void FetchRows(const AddRowFunction& addRowFn) override;
+ void FetchRows(const AddRowFunction& addRowFn) override;
static Object::Ptr HostAccessor(const Value& row, const Column::ObjectAccessor& parentObjectAccessor);
static Object::Ptr ServiceAccessor(const Value& row, const Column::ObjectAccessor& parentObjectAccessor);