Lines Matching refs:qi
59 struct transform_attribute<test_int_data1, int, qi::domain>
79 struct transform_attribute<test_int_data2, int, qi::domain>
93 namespace qi = boost::spirit::qi; in main()
104 *(qi::char_ - ',') >> ',' >> qi::int_ >> ',' >> qi::double_, v1)); in main()
110 *(qi::char_ - ',') >> ',' >> qi::int_ >> ',' >> qi::double_, in main()
111 v2, qi::space)); in main()
120 , qi::attr_cast<std::string, std::string>(*qi::digit), str)); in main()
130 qi::rule<char const*, test_view()> r1 = in main()
131 *(qi::char_ - ',') >> ',' >> qi::int_ >> ',' >> qi::double_; in main()
133 BOOST_TEST(test_attr("s1,2,1.5\ns2,4,3.5", r1 % qi::eol, v)); in main()
138 qi::rule<char const*, test_view(), qi::blank_type> r2 = in main()
139 *(qi::char_ - ',') >> ',' >> qi::int_ >> ',' >> qi::double_; in main()
142 BOOST_TEST(test_attr("s1, 2, 1.5 \n s2, 4, 3.5", r2 % qi::eol, v, qi::blank)); in main()
151 BOOST_TEST(test_attr("1", qi::attr_cast(qi::int_), d)); in main()
153 BOOST_TEST(test_attr("2", qi::attr_cast<test_int_data1>(qi::int_), d)); in main()
155 BOOST_TEST(test_attr("3", qi::attr_cast<test_int_data1, int>(qi::int_), d)); in main()
162 BOOST_TEST(test_attr("1,2", qi::attr_cast(qi::int_) % ',', v)); in main()
167 , qi::attr_cast<test_int_data1>(qi::int_) % ',', v)); in main()
172 , qi::attr_cast<test_int_data1, int>(qi::int_) % ',', v)); in main()