1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
6 #include "base/i2-base.hpp"
7 #include "base/objectlock.hpp"
8 #include "base/value.hpp"
18 class Reference final : public Object
21 DECLARE_OBJECT(Reference);
23 Reference(const Object::Ptr& parent, const String& index);
26 void Set(const Value& value);
28 Object::Ptr GetParent() const;
29 String GetIndex() const;
31 static Object::Ptr GetPrototype();
40 #endif /* REFERENCE_H */