1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef CONTACTGROUPSTABLE_H
4 #define CONTACTGROUPSTABLE_H
6 #include "livestatus/table.hpp"
8 using namespace icinga;
16 class ContactGroupsTable final : public Table
19 DECLARE_PTR_TYPEDEFS(ContactGroupsTable);
23 static void AddColumns(Table *table, const String& prefix = String(),
24 const Column::ObjectAccessor& objectAccessor = Column::ObjectAccessor());
26 String GetName() const override;
27 String GetPrefix() const override;
30 void FetchRows(const AddRowFunction& addRowFn) override;
32 static Value NameAccessor(const Value& row);
33 static Value AliasAccessor(const Value& row);
34 static Value MembersAccessor(const Value& row);
39 #endif /* CONTACTGROUPSTABLE_H */