43 #ifndef TREE_NODE_FINDER_HPP 44 #define TREE_NODE_FINDER_HPP 56 #include <boost/preprocessor/facilities/empty.hpp> 57 #include <boost/preprocessor/seq/for_each.hpp> 69 explicit tree_node_finder(
const std::map<TreeVocabularyTokenTypes_TokenEnum, std::string>& _tree_node_schema)
#define OBJ_NOT_SPECIALIZED_SEQ
#define OBJ_SPECIALIZED_SEQ
sequence of obj that have to be specialized
virtual void visit(tree_node_visitor *const v) const
virtual function used to traverse the tree_node data structure.
A simple interface to token object of the raw files.
redefinition of map to manage ordered/unordered structures
#define OPERATOR_MACRO(r, data, elem)
bool check(const tree_nodeRef &t)
tree_node visitors
#define OPERATOR_MACRO_DECL(r, data, elem)
Classes specification of the tree_node data structures.
BOOST_PP_SEQ_FOR_EACH(OPERATOR_MACRO, BOOST_PP_EMPTY, VISITED_OBJ_SEQ1)
virtual template object functor
Template definition of refcount.
REF_FORWARD_DECL(tree_node_finder)
bool find_res
result of the search
tree_node_finder(const std::map< TreeVocabularyTokenTypes_TokenEnum, std::string > &_tree_node_schema)
default constructor
class factorizing the mask initialization which is common to all visitor classes. ...
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...