mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Allow intrusive pointers to ApplyRule
This commit is contained in:
parent
54a448a736
commit
80ee597b72
@ -6,6 +6,7 @@
|
|||||||
#include "config/i2-config.hpp"
|
#include "config/i2-config.hpp"
|
||||||
#include "config/expression.hpp"
|
#include "config/expression.hpp"
|
||||||
#include "base/debuginfo.hpp"
|
#include "base/debuginfo.hpp"
|
||||||
|
#include "base/shared-object.hpp"
|
||||||
#include "base/type.hpp"
|
#include "base/type.hpp"
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
@ -15,9 +16,11 @@ namespace icinga
|
|||||||
/**
|
/**
|
||||||
* @ingroup config
|
* @ingroup config
|
||||||
*/
|
*/
|
||||||
class ApplyRule
|
class ApplyRule : public SharedObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
DECLARE_PTR_TYPEDEFS(ApplyRule);
|
||||||
|
|
||||||
typedef std::map<String, std::vector<String> > TypeMap;
|
typedef std::map<String, std::vector<String> > TypeMap;
|
||||||
typedef std::unordered_map<Type*, std::unordered_map<Type*, std::vector<ApplyRule>>> RuleMap;
|
typedef std::unordered_map<Type*, std::unordered_map<Type*, std::vector<ApplyRule>>> RuleMap;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user