]> granicus.if.org Git - icinga2/blob - lib/icinga/objectutils.hpp
Merge pull request #7527 from Icinga/bugfix/checkable-command-endpoint-zone
[icinga2] / lib / icinga / objectutils.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef OBJECTUTILS_H
4 #define OBJECTUTILS_H
5
6 #include "base/i2-base.hpp"
7 #include "base/string.hpp"
8 #include "base/array.hpp"
9 #include "icinga/service.hpp"
10
11 namespace icinga
12 {
13
14 /**
15  * @ingroup icinga
16  */
17 class ObjectUtils
18 {
19 public:
20         static Service::Ptr GetService(const Value& host, const String& name);
21         static Array::Ptr GetServices(const Value& host);
22
23 private:
24         ObjectUtils();
25 };
26
27 }
28
29 #endif /* OBJECTUTILS_H */