24 #include <boost/config/warning_disable.hpp>
25 #include <boost/spirit/include/qi.hpp>
26 #include <boost/fusion/include/adapt_struct.hpp>
28 #define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
29 #define BOOST_SPIRIT_QI_DEBUG
45 (
short, layoutVersion_m)
48 namespace SDDS {
namespace parser
50 namespace qi = boost::spirit::qi;
51 namespace ascii = boost::spirit::ascii;
52 namespace phx = boost::phoenix;
54 template <
typename Iterator>
55 struct version_parser: qi::grammar<Iterator, version(), skipper<Iterator> >
57 version_parser(error_handler<Iterator> & _error_handler);
59 qi::rule<Iterator,
version(), skipper<Iterator> > start;
BOOST_FUSION_ADAPT_STRUCT(SDDS::version,(short, layoutVersion_m)) namespace SDDS
int version
opal version of input file
std::ostream & operator<<(std::ostream &out, const array &)