/******************************************************************************
* Icinga 2 *
- * Copyright (C) 2012-2017 Icinga Development Team (https://www.icinga.com/) *
+ * 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 *
using namespace icinga;
-HostGroupsTable::HostGroupsTable(void)
+HostGroupsTable::HostGroupsTable()
{
AddColumns(this);
}
void HostGroupsTable::AddColumns(Table *table, const String& prefix,
- const Column::ObjectAccessor& objectAccessor)
+ const Column::ObjectAccessor& objectAccessor)
{
table->AddColumn(prefix + "name", Column(&HostGroupsTable::NameAccessor, objectAccessor));
table->AddColumn(prefix + "alias", Column(&HostGroupsTable::AliasAccessor, objectAccessor));
table->AddColumn(prefix + "num_services_hard_unknown", Column(&HostGroupsTable::NumServicesHardUnknownAccessor, objectAccessor));
}
-String HostGroupsTable::GetName(void) const
+String HostGroupsTable::GetName() const
{
return "hostgroups";
}
-String HostGroupsTable::GetPrefix(void) const
+String HostGroupsTable::GetPrefix() const
{
return "hostgroup";
}