]> granicus.if.org Git - icinga2/blob - lib/base/objecttype.hpp
Merge pull request #7185 from Icinga/bugfix/gelfwriter-wrong-log-facility
[icinga2] / lib / base / objecttype.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef OBJECTTYPE_H
4 #define OBJECTTYPE_H
5
6 #include "base/i2-base.hpp"
7 #include "base/type.hpp"
8 #include "base/initialize.hpp"
9
10 namespace icinga
11 {
12
13 class ObjectType final : public Type
14 {
15 public:
16         String GetName() const override;
17         Type::Ptr GetBaseType() const override;
18         int GetAttributes() const override;
19         int GetFieldId(const String& name) const override;
20         Field GetFieldInfo(int id) const override;
21         int GetFieldCount() const override;
22
23 protected:
24         ObjectFactory GetFactory() const override;
25 };
26
27 }
28
29 #endif /* OBJECTTYPE_H */