mirror of https://github.com/Icinga/icinga2.git
32 lines
475 B
C++
32 lines
475 B
C++
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#ifndef VARIABLEUTILITY_H
|
|
#define VARIABLEUTILITY_H
|
|
|
|
#include "base/i2-base.hpp"
|
|
#include "cli/i2-cli.hpp"
|
|
#include "base/dictionary.hpp"
|
|
#include "base/string.hpp"
|
|
#include <ostream>
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
/**
|
|
* @ingroup cli
|
|
*/
|
|
class VariableUtility
|
|
{
|
|
public:
|
|
static Value GetVariable(const String& name);
|
|
static void PrintVariables(std::ostream& outfp);
|
|
|
|
private:
|
|
VariableUtility();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* VARIABLEUTILITY_H */
|