Zigbee Protocol Controller 1.6.0
attribute_mapper_scope_settings.hpp File Reference
#include "attribute_mapper_ast.hpp"
#include "attribute_store.h"
#include <stdbool.h>

Go to the source code of this file.

Enumerations

enum  ATTRIBUTE_CREATION_SETTINGS { CREATION_SETTING_E_ONLY = 0 , CREATION_SETTING_RE_VALUE_TYPES = 1 , CREATION_SETTING_DRE_VALUE_TYPES = 2 }
 Available values for the create_attributes setting. More...
 

Functions

bool is_clear_desired_value_enabled (const ast::scope_settings_t &scope_settings)
 Looks up in the Scope settings if clear_desired is enabled. More...
 
bool is_chain_reaction_enabled (const ast::scope_settings_t &scope_settings)
 Looks up in the Scope settings if chain_reaction is enabled. More...
 
bool should_create_attributes (char updated_value_type, const ast::scope_settings_t &scope_settings, result_type_t evaluation_result)
 Looks up in the Scope settings if create_attributes is enabled. More...
 
attribute_store_type_t get_common_parent_type_scope_configuration (attribute_store_type_t engine_configured_type, const ast::scope_settings_t &scope_settings)
 Looks up in the Scope settings if common_parent_type is configured. More...