1 #ifndef _MADARA_KNOWLEDGE_REFERENCE_SETTINGS_H_
2 #define _MADARA_KNOWLEDGE_REFERENCE_SETTINGS_H_
12 #include "madara/MadaraExport.h"
33 : expand_variables(true), never_exit(false),
34 exception_on_unitialized(false)
44 : expand_variables(t_expand_variables), never_exit(false),
45 exception_on_unitialized(t_exception)
54 : expand_variables(rhs.expand_variables), never_exit(rhs.never_exit),
55 exception_on_unitialized(rhs.exception_on_unitialized)
Settings for applying knowledge updates.
~KnowledgeReferenceSettings()
Destructor.
bool expand_variables
Toggle for always attempting to expand variables (true) or never expanding variables (false)
bool never_exit
Never allow MADARA to exit, even with fatal errors or invalid state.
static const KnowledgeReferenceSettings NO_EXPAND
KnowledgeReferenceSettings()
Constructor.
bool exception_on_unitialized
throw an exception if reference is on uninitialized variable
static const KnowledgeReferenceSettings DEFAULT
KnowledgeReferenceSettings(const KnowledgeReferenceSettings &rhs)
Copy constructor.
KnowledgeReferenceSettings(bool t_expand_variables, bool t_exception=false)
Constructor.
Provides functions and classes for the distributed knowledge base.
Copyright(c) 2020 Galois.