Zigbee Protocol Controller 1.6.0
ast::path_match_eval Class Reference

Path Match Evaluation Class. More...

#include <attribute_mapper_ast_path_match_eval.hpp>

Public Member Functions

 path_match_eval (attribute_store_node_t _attribute_to_match, attribute_store_type_t _common_parent_type)
 Construct a new dep eval path object. More...
 
void reset ()
 Resets the navigation data, so it can perform a new evaluation. More...
 
bool operator() (const ast::operand &operand)
 
bool operator() (const nil)
 
bool operator() (attribute_store_type_t type)
 
bool operator() (const attribute_path_subscript &subscript)
 
bool operator() (const attribute_path_element &path_element)
 
bool operator() (const std::vector< attribute_path_element > &paths)
 

Private Attributes

attribute_store_node_t attribute_to_match
 
attribute_store_type_t common_parent_type
 
attribute_store_node_t current_attribute
 
bool comparing_value = false
 

Detailed Description

Path Match Evaluation Class.

Constructor & Destructor Documentation

◆ path_match_eval()

ast::path_match_eval::path_match_eval ( attribute_store_node_t  _attribute_to_match,
attribute_store_type_t  _common_parent_type 
)

Construct a new dep eval path object.

Parameters
_attribute_to_matchAttribute Store Node to match to a path
_common_parent_typeAttribute Store Type configured for the commong parent

Member Function Documentation

◆ operator()() [1/6]

bool ast::path_match_eval::operator() ( attribute_store_type_t  type)

◆ operator()() [2/6]

bool ast::path_match_eval::operator() ( const ast::operand operand)

◆ operator()() [3/6]

bool ast::path_match_eval::operator() ( const attribute_path_element path_element)

◆ operator()() [4/6]

bool ast::path_match_eval::operator() ( const attribute_path_subscript subscript)

◆ operator()() [5/6]

bool ast::path_match_eval::operator() ( const  nil)

◆ operator()() [6/6]

bool ast::path_match_eval::operator() ( const std::vector< attribute_path_element > &  paths)

◆ reset()

void ast::path_match_eval::reset ( )

Resets the navigation data, so it can perform a new evaluation.

Member Data Documentation

◆ attribute_to_match

attribute_store_node_t ast::path_match_eval::attribute_to_match
private

◆ common_parent_type

attribute_store_type_t ast::path_match_eval::common_parent_type
private

◆ comparing_value

bool ast::path_match_eval::comparing_value = false
private

◆ current_attribute

attribute_store_node_t ast::path_match_eval::current_attribute
private

The documentation for this class was generated from the following file: