/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2014 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 ServiceGroupsTable : public Table
+class ServiceGroupsTable final : public Table
{
public:
DECLARE_PTR_TYPEDEFS(ServiceGroupsTable);
- ServiceGroupsTable(void);
+ ServiceGroupsTable();
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;
- virtual String GetPrefix(void) const;
+ String GetName() const override;
+ String GetPrefix() const override;
protected:
- virtual void FetchRows(const AddRowFunction& addRowFn);
+ void FetchRows(const AddRowFunction& addRowFn) override;
static Value NameAccessor(const Value& row);
static Value AliasAccessor(const Value& row);