3 #ifndef GAUDIKERNEL_PARSERS_ICPP
4 #define GAUDIKERNEL_PARSERS_ICPP 1
16 #include "boost/bind.hpp"
20 #include <boost/version.hpp>
21 #if BOOST_VERSION >= 103800
23 #if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE)
24 #define BOOST_SPIRIT_USE_OLD_NAMESPACE
26 #include <boost/spirit/include/classic.hpp>
27 #include <boost/spirit/include/phoenix1.hpp>
29 #include <boost/spirit.hpp>
30 #include <boost/spirit/phoenix.hpp>
61 using namespace boost::spirit ;
64 typedef boost::spirit::position_iterator<string::const_iterator>
IteratorT;
68 {
return IteratorT ( input.begin(), input.end() ) ; }
84 template<
typename IntegerT>
86 (IntegerT& result,
const string& input)
92 g[var(result)=arg1]).full;
111 template<
typename IntegerT>
136 template<
typename CharT>
138 ( CharT& result ,
const string& input )
144 g[var(result)=arg1]).full;
163 template<
typename CharT>
187 template<
typename RealT>
189 ( RealT& result ,
const string& input)
215 template<
typename RealT>