]> granicus.if.org Git - icinga2/blob - lib/cli/variableutility.hpp
add some object locking to the Dump method (which could theoreticylly suffer from...
[icinga2] / lib / cli / variableutility.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef VARIABLEUTILITY_H
4 #define VARIABLEUTILITY_H
5
6 #include "base/i2-base.hpp"
7 #include "cli/i2-cli.hpp"
8 #include "base/dictionary.hpp"
9 #include "base/string.hpp"
10 #include <ostream>
11
12 namespace icinga
13 {
14
15 /**
16  * @ingroup cli
17  */
18 class VariableUtility
19 {
20 public:
21         static Value GetVariable(const String& name);
22         static void PrintVariables(std::ostream& outfp);
23
24 private:
25         VariableUtility();
26
27 };
28
29 }
30
31 #endif /* VARIABLEUTILITY_H */