17#ifndef VERSION_DEF_HPP_
18#define VERSION_DEF_HPP_
22#include <boost/spirit/include/phoenix_core.hpp>
23#include <boost/spirit/include/phoenix_operator.hpp>
24#include <boost/spirit/include/phoenix_fusion.hpp>
25#include <boost/spirit/include/phoenix_bind.hpp>
27namespace SDDS {
namespace parser
29 template <
typename Iterator>
30 version_parser<Iterator>::version_parser(error_handler<Iterator> & _error_handler):
31 version_parser::base_type(start)
36 typedef function<error_handler<Iterator> > error_handler_function;
42 qi::short_type short_;
43 qi::no_skip_type no_skip;
46 start %= no_skip[lit(
"SDDS") > short_];
48 BOOST_SPIRIT_DEBUG_NODES(
53 error_handler_function(_error_handler)(
54 std::string(
"Error! Expecting "), _4, _3));
py::list function(PolynomialPatch *patch, py::list point)