![]() |
PandA-2024.02
|
#include <tree_node_finder.hpp>


Public Member Functions | |
| tree_node_finder (const std::map< TreeVocabularyTokenTypes_TokenEnum, std::string > &_tree_node_schema) | |
| default constructor More... | |
| bool | check (const tree_nodeRef &t) |
| tree_node visitors More... | |
Public Member Functions inherited from object_visitor | |
| virtual | ~object_visitor () |
| destructor More... | |
| BOOST_PP_SEQ_FOR_EACH (OPERATOR_MACRO, BOOST_PP_EMPTY, VISITED_OBJ_SEQ1) | |
| virtual template object functor More... | |
| BOOST_PP_SEQ_FOR_EACH (OPERATOR_MACRO, BOOST_PP_EMPTY, VISITED_OBJ_SEQ2) | |
Private Attributes | |
| bool | find_res |
| result of the search More... | |
| const std::map< TreeVocabularyTokenTypes_TokenEnum, std::string > & | tree_node_schema |
| tree_node_schema expresses the value of the fields of the tree node we are looking for. More... | |
Definition at line 66 of file tree_node_finder.hpp.
|
inlineexplicit |
default constructor
Definition at line 69 of file tree_node_finder.hpp.
References object_visitor::BOOST_PP_SEQ_FOR_EACH(), check(), find_res, OBJ_NOT_SPECIALIZED_SEQ, OBJ_SPECIALIZED_SEQ, OPERATOR_MACRO, OPERATOR_MACRO_DECL, and tree_node::visit().

|
inline |
tree_node visitors
Return true in case the tree node is compatible with the tree_node_schema. Usually called by tree_manager::create_tree_node.
Definition at line 79 of file tree_node_finder.hpp.
Referenced by tree_manager::find(), and tree_node_finder().

|
private |
result of the search
Definition at line 88 of file tree_node_finder.hpp.
Referenced by tree_node_finder().
|
private |
tree_node_schema expresses the value of the fields of the tree node we are looking for.
Definition at line 90 of file tree_node_finder.hpp.
1.8.13