"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/config/configitem.hpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

configitem.hpp  (icinga2-2.11.5):configitem.hpp  (icinga2-2.12.0)
skipping to change at line 26 skipping to change at line 26
* A configuration item. Non-abstract configuration items can be used to * A configuration item. Non-abstract configuration items can be used to
* create configuration objects at runtime. * create configuration objects at runtime.
* *
* @ingroup config * @ingroup config
*/ */
class ConfigItem final : public Object { class ConfigItem final : public Object {
public: public:
DECLARE_PTR_TYPEDEFS(ConfigItem); DECLARE_PTR_TYPEDEFS(ConfigItem);
ConfigItem(Type::Ptr type, String name, bool abstract, ConfigItem(Type::Ptr type, String name, bool abstract,
std::shared_ptr<Expression> exprl, Expression::Ptr exprl,
std::shared_ptr<Expression> filter, Expression::Ptr filter,
bool defaultTmpl, bool ignoreOnError, DebugInfo debuginfo, bool defaultTmpl, bool ignoreOnError, DebugInfo debuginfo,
Dictionary::Ptr scope, String zone, Dictionary::Ptr scope, String zone,
String package); String package);
Type::Ptr GetType() const; Type::Ptr GetType() const;
String GetName() const; String GetName() const;
bool IsAbstract() const; bool IsAbstract() const;
bool IsDefaultTemplate() const; bool IsDefaultTemplate() const;
bool IsIgnoreOnError() const; bool IsIgnoreOnError() const;
std::vector<ConfigItem::Ptr> GetParents() const; std::vector<ConfigItem::Ptr> GetParents() const;
std::shared_ptr<Expression> GetExpression() const; Expression::Ptr GetExpression() const;
std::shared_ptr<Expression> GetFilter() const; Expression::Ptr GetFilter() const;
void Register(); void Register();
void Unregister(); void Unregister();
DebugInfo GetDebugInfo() const; DebugInfo GetDebugInfo() const;
Dictionary::Ptr GetScope() const; Dictionary::Ptr GetScope() const;
ConfigObject::Ptr GetObject() const; ConfigObject::Ptr GetObject() const;
static ConfigItem::Ptr GetByTypeAndName(const Type::Ptr& type, static ConfigItem::Ptr GetByTypeAndName(const Type::Ptr& type,
skipping to change at line 70 skipping to change at line 70
static std::vector<ConfigItem::Ptr> GetItems(const Type::Ptr& type); static std::vector<ConfigItem::Ptr> GetItems(const Type::Ptr& type);
static std::vector<ConfigItem::Ptr> GetDefaultTemplates(const Type::Ptr& type); static std::vector<ConfigItem::Ptr> GetDefaultTemplates(const Type::Ptr& type);
static void RemoveIgnoredItems(const String& allowedConfigPath); static void RemoveIgnoredItems(const String& allowedConfigPath);
private: private:
Type::Ptr m_Type; /**< The object type. */ Type::Ptr m_Type; /**< The object type. */
String m_Name; /**< The name. */ String m_Name; /**< The name. */
bool m_Abstract; /**< Whether this is a template. */ bool m_Abstract; /**< Whether this is a template. */
std::shared_ptr<Expression> m_Expression; Expression::Ptr m_Expression;
std::shared_ptr<Expression> m_Filter; Expression::Ptr m_Filter;
bool m_DefaultTmpl; bool m_DefaultTmpl;
bool m_IgnoreOnError; bool m_IgnoreOnError;
DebugInfo m_DebugInfo; /**< Debug information. */ DebugInfo m_DebugInfo; /**< Debug information. */
Dictionary::Ptr m_Scope; /**< variable scope. */ Dictionary::Ptr m_Scope; /**< variable scope. */
String m_Zone; /**< The zone. */ String m_Zone; /**< The zone. */
String m_Package; String m_Package;
ActivationContext::Ptr m_ActivationContext; ActivationContext::Ptr m_ActivationContext;
ConfigObject::Ptr m_Object; ConfigObject::Ptr m_Object;
 End of changes. 3 change blocks. 
6 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)