24 #include <boost/config/warning_disable.hpp>
25 #include <boost/spirit/include/qi.hpp>
26 #include <boost/spirit/include/phoenix_core.hpp>
27 #include <boost/spirit/include/phoenix_operator.hpp>
28 #include <boost/spirit/include/phoenix_fusion.hpp>
29 #include <boost/spirit/include/phoenix_bind.hpp>
30 #include <boost/fusion/include/adapt_struct.hpp>
34 #define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
35 #define BOOST_SPIRIT_QI_DEBUG
44 template <attributes A>
49 std::string attributeString;
53 attributeString =
"filename";
56 attributeString =
"include";
61 std::cerr << attributeString <<
" not supported yet" <<
std::endl;
74 namespace SDDS {
namespace parser
76 namespace qi = boost::spirit::qi;
77 namespace ascii = boost::spirit::ascii;
78 namespace phx = boost::phoenix;
80 template <
typename Iterator>
Inform & endl(Inform &inf)
std::ostream & operator<<(std::ostream &out, const array &)
qi::rule< Iterator, include(), skipper< Iterator > > start
include_parser(error_handler< Iterator > &_error_handler)
qi::rule< Iterator, std::string(), skipper< Iterator > > include_filename
qi::rule< Iterator, std::string(), skipper< Iterator > > quoted_string
qi::rule< Iterator, std::string(), skipper< Iterator > > string