knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
graph.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_GRAPH_PARSERS_H
7 #define KNOWROB_GRAPH_PARSERS_H
8 
9 #include <boost/spirit/include/qi.hpp>
10 #include "knowrob/semweb/GraphTerm.h"
11 #include "knowrob/semweb/GraphPattern.h"
12 
13 namespace knowrob::parsers::graph {
14  using GraphTermRule = boost::spirit::qi::rule<std::string::const_iterator, std::shared_ptr<GraphTerm>(), boost::spirit::ascii::space_type>;
15  using GraphPatternRule = boost::spirit::qi::rule<std::string::const_iterator, std::shared_ptr<GraphPattern>(), boost::spirit::ascii::space_type>;
16 
21 }
22 
23 #endif //KNOWROB_GRAPH_PARSERS_H
boost::spirit::qi::rule< std::string::const_iterator, std::shared_ptr< GraphTerm >(), boost::spirit::ascii::space_type > GraphTermRule
Definition: graph.h:14
GraphTermRule & graphTerm()
Definition: graph.cpp:77
boost::spirit::qi::rule< std::string::const_iterator, std::shared_ptr< GraphPattern >(), boost::spirit::ascii::space_type > GraphPatternRule
Definition: graph.h:15