Helpers to read and interpret what to do based on scope settings.
More...
Helpers to read and interpret what to do based on scope settings.
This component provides helpers functions helping to decide what to do based on scope settings.
◆ ATTRIBUTE_CREATION_SETTINGS
Available values for the create_attributes setting.
Enumerator |
---|
CREATION_SETTING_E_ONLY | |
CREATION_SETTING_RE_VALUE_TYPES | |
CREATION_SETTING_DRE_VALUE_TYPES | |
◆ get_common_parent_type_scope_configuration()
Looks up in the Scope settings if common_parent_type is configured.
- Parameters
-
engine_configured_type | Configured Common Parent Type for the Attribute Mapper engine |
scope_settings | The settings passed to the scope |
- Returns
- attribute_store_type_t to use
◆ is_chain_reaction_enabled()
Looks up in the Scope settings if chain_reaction is enabled.
- Parameters
-
scope_settings | the settings passed to the scope |
- Returns
- true if setting not configured or configured to a non-zero value
-
false if setting is configured and set to 0.
◆ is_clear_desired_value_enabled()
Looks up in the Scope settings if clear_desired is enabled.
- Parameters
-
scope_settings | the settings passed to the scope |
- Returns
- true if setting not configured or configured to a non-zero value
-
false if setting is configured and set to 0.
◆ should_create_attributes()
Looks up in the Scope settings if create_attributes is enabled.
- Parameters
-
updated_value_type | Updated value type ('r', 'd' or 'e') |
scope_settings | The settings passed to the scope |
evaluation_result | Evaluation result of the assignment |
- Returns
- true if setting not configured or configured to a non-zero value
-
false if setting is configured and set to 0.