Zigbee Protocol Controller 1.6.0
ast::dep_eval_path Class Reference

Attribute path evaluator. More...

#include <attribute_mapper_ast_dep_eval.hpp>

Public Member Functions

 dep_eval_path (value_type_t value_type)
 Construct a new dep eval path object. More...
 
const dependencies_toperator() (const operand &operand)
 operand, usually a literal constant number More...
 
const dependencies_toperator() (const nil &nul)
 hat operator ^ (parent) More...
 
const dependencies_toperator() (attribute_store_type_t type)
 just given by type More...
 
const dependencies_toperator() (const attribute_path_subscript &subscript)
 Subscript operator. More...
 
const dependencies_toperator() (const attribute_path_element &path_element)
 One path element. More...
 
const dependencies_toperator() (const std::vector< attribute_path_element > &paths)
 parse a path list, More...
 
const dependencies_tget_dependencies () const
 Get the dependencies list. More...
 

Private Attributes

dependencies_t dependencies
 
value_type_t value_type
 

Detailed Description

Attribute path evaluator.

This evaluator build a list of attribute id's present in an attribute path.

Constructor & Destructor Documentation

◆ dep_eval_path()

ast::dep_eval_path::dep_eval_path ( value_type_t  value_type)

Construct a new dep eval path object.

Parameters
value_typeDesired or reported

Member Function Documentation

◆ get_dependencies()

const dependencies_t & ast::dep_eval_path::get_dependencies ( ) const

Get the dependencies list.

Returns
const std::vector<attribute_dependency_t>&

◆ operator()() [1/6]

const dependencies_t & ast::dep_eval_path::operator() ( attribute_store_type_t  type)

just given by type

◆ operator()() [2/6]

const dependencies_t & ast::dep_eval_path::operator() ( const attribute_path_element path_element)

One path element.

◆ operator()() [3/6]

const dependencies_t & ast::dep_eval_path::operator() ( const attribute_path_subscript subscript)

Subscript operator.

◆ operator()() [4/6]

const dependencies_t & ast::dep_eval_path::operator() ( const nil nul)
inline

hat operator ^ (parent)

◆ operator()() [5/6]

const dependencies_t & ast::dep_eval_path::operator() ( const operand operand)

operand, usually a literal constant number

◆ operator()() [6/6]

const dependencies_t & ast::dep_eval_path::operator() ( const std::vector< attribute_path_element > &  paths)

parse a path list,

Member Data Documentation

◆ dependencies

dependencies_t ast::dep_eval_path::dependencies
private

◆ value_type

value_type_t ast::dep_eval_path::value_type
private

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