pddl_planner
Debug.hpp
Go to the documentation of this file.
1 #ifndef PDDL_PLANNER_REPRESENTATION_GRAMMAR_DEBUG_HPP
2 #define PDDL_PLANNER_REPRESENTATION_GRAMMAR_DEBUG_HPP
3 
4 #include <iosfwd>
5 #include <utility>
6 
7 #include <pddl_planner/representation/Domain.hpp>
8 #include <pddl_planner/representation/Problem.hpp>
9 
10 namespace std
11 {
12 
13 template< typename C, typename E>
14 std::basic_ostream<C, E>& operator<<(std::basic_ostream<C,E>& out, pddl_planner::representation::Expression e)
15 {
16  return out << "Expression<" << e.toLISP() << ">";
17 }
18 
19 } // end namespace std
20 #endif // PDDL_PLANNER_REPRESENTATION_GRAMMAR_DEBUG_HPP
21 
Representation of (LISP) expressions.
Definition: Domain.hpp:274
Definition: Debug.hpp:10
std::string toLISP() const
Definition: Domain.cpp:151