43 #ifndef TREE_NODE_FACTORY_HPP 44 #define TREE_NODE_FACTORY_HPP 56 #include <boost/preprocessor/facilities/empty.hpp> 57 #include <boost/preprocessor/seq/for_each.hpp> 71 tree_node_factory(
const std::map<TreeVocabularyTokenTypes_TokenEnum, std::string>& _tree_node_schema,
const std::map< TreeVocabularyTokenTypes_TokenEnum, std::string > & tree_node_schema
tree_node_schema expresses the value of the fields of the tree node we would like to create...
#define OBJ_NOT_SPECIALIZED_SEQ
This class manages the tree structures extracted from the raw file.
#define OBJ_SPECIALIZED_SEQ
sequence of obj that have to be specialized
A simple interface to token object of the raw files.
redefinition of map to manage ordered/unordered structures
Abstract pure class for the tree structure.
#define OPERATOR_MACRO(r, data, elem)
tree_node_factory(const std::map< TreeVocabularyTokenTypes_TokenEnum, std::string > &_tree_node_schema, tree_manager &_TM)
default constructor
enum kind int REF_FORWARD_DECL(tree_node_factory)
tree_manager & TM
tree manager
#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.
tree_node * curr_tree_node_ptr
current tree node filled according to the tree_node_schema
void create_tree_node(const unsigned int node_id, enum kind)
tree_node visitors
class factorizing the mask initialization which is common to all visitor classes. ...