1 #ifndef __AIRTSP_BAS_BASCOMPARSERTYPES_HPP
2 #define __AIRTSP_BAS_BASCOMPARSERTYPES_HPP
11 #include <boost/spirit/home/classic/core.hpp>
12 #include <boost/spirit/home/classic/attribute.hpp>
13 #include <boost/spirit/home/classic/utility/functor_parser.hpp>
14 #include <boost/spirit/home/classic/utility/loops.hpp>
15 #include <boost/spirit/home/classic/utility/chset.hpp>
16 #include <boost/spirit/home/classic/utility/confix.hpp>
17 #include <boost/spirit/home/classic/iterator/file_iterator.hpp>
18 #include <boost/spirit/home/classic/actor/push_back_actor.hpp>
19 #include <boost/spirit/home/classic/actor/assign_actor.hpp>
35 typedef boost::spirit::classic::file_iterator<char_t>
iterator_t;
36 typedef boost::spirit::classic::scanner<iterator_t>
scanner_t;
37 typedef boost::spirit::classic::rule<scanner_t>
rule_t;
45 typedef boost::spirit::classic::int_parser<unsigned int, 10, 1, 1>
int1_p_t;
48 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 2, 2>
uint2_p_t;
51 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 4, 4>
uint4_p_t;
54 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 4>
uint1_4_p_t;
57 typedef boost::spirit::classic::chset<char_t>
chset_t;
61 typedef boost::spirit::classic::impl::loop_traits<
chset_t,
66 typedef boost::spirit::classic::bounded<uint2_p_t, unsigned int>
bounded2_p_t;
67 typedef boost::spirit::classic::bounded<uint4_p_t, unsigned int>
bounded4_p_t;
68 typedef boost::spirit::classic::bounded<uint1_4_p_t, unsigned int>
bounded1_4_p_t;
71 #endif // __AIRTSP_BAS_BASCOMPARSERTYPES_HPP