1 #ifndef __STDAIR_BAS_BASCOMPARSERTYPES_HPP
2 #define __STDAIR_BAS_BASCOMPARSERTYPES_HPP
10 #include <boost/spirit/include/qi.hpp>
11 #include <boost/spirit/include/phoenix_core.hpp>
12 #include <boost/spirit/include/phoenix_operator.hpp>
13 #include <boost/spirit/include/support_multi_pass.hpp>
27 typedef boost::spirit::multi_pass<base_iterator_t>
iterator_t;
35 typedef boost::spirit::qi::int_parser<unsigned int, 10, 1, 1>
int1_p_t;
38 typedef boost::spirit::qi::uint_parser<int, 10, 2, 2>
uint2_p_t;
41 typedef boost::spirit::qi::uint_parser<int, 10, 4, 4>
uint4_p_t;
44 typedef boost::spirit::qi::uint_parser<int, 10, 1, 4>
uint1_4_p_t;
47 typedef boost::spirit::qi::uint_parser<hour_t, 10, 2, 2>
hour_p_t;
48 typedef boost::spirit::qi::uint_parser<minute_t, 10, 2, 2>
minute_p_t;
49 typedef boost::spirit::qi::uint_parser<second_t, 10, 2, 2>
second_p_t;
50 typedef boost::spirit::qi::uint_parser<year_t, 10, 4, 4>
year_p_t;
51 typedef boost::spirit::qi::uint_parser<month_t, 10, 2, 2>
month_p_t;
52 typedef boost::spirit::qi::uint_parser<day_t, 10, 2, 2>
day_p_t;
54 #endif // __STDAIR_BAS_BASCOMPARSERTYPES_HPP