arg_stream.hpp
Go to the documentation of this file.
138 static bool eof_check(ArgStream & as, typename boost::enable_if_c<traits<ArgStream>::has_eof_memberfunction>::type * dummy = 0)
144 static bool eof_check(ArgStream & as, typename boost::disable_if_c<traits<ArgStream>::has_eof_memberfunction>::type * dummy = 0)
257 // we convert the function signature into a mpl sequence (it *is* an mpl sequence, since it implements mpl::begin/end/etc)
263 class From = typename boost::mpl::begin< boost::function_types::parameter_types<typename signature<F>::type> >::type,
264 class To = typename boost::mpl::end< boost::function_types::parameter_types<typename signature<F>::type> >::type>
321 // and remove first arg from signature (the object that the member function belongs to) using mpl::next
324 typename boost::mpl::next< typename boost::mpl::begin< boost::function_types::parameter_types<typename signature<F>::type, boost::add_pointer<boost::mpl::placeholders::_> > >::type>::type,
325 typename boost::mpl::end< boost::function_types::parameter_types<typename signature<F>::type, boost::add_pointer<boost::mpl::placeholders::_> > >::type>
393 chain<ArgStreamFirst, ArgStreamSecond> make_chain(ArgStreamFirst & first_stream, ArgStreamSecond & second_stream)
413 return *(R*)32; // some compilers need a return; here's a bad one (but that doesn't require default construction)
435 single(typename boost::add_reference<T const>::type t, unsigned int count = 1) : value(t), repeat(count)
445 R convert_or_throw(value_type & value, typename boost::enable_if<boost::is_convertible<value_type, R> >::type * dummy = 0)
450 R convert_or_throw(value_type & value, typename boost::disable_if<boost::is_convertible<value_type, R> >::type * dummy = 0)
497 static const bool value = has_type_type<typename Class::template arg_stream_inverse_lookup<R> >::value;
503 static const bool value = has_entry_if_has_inverse_lookup<Class, R, has_inverse_lookup<Class>::value>::value;
526 return transformer.template arg_stream_transform<R>(arg_stream::get_next_arg<Rfrom>(argstream));
529 R transforming_get(typename boost::disable_if<has_transform<Transformer, R> >::type * dummy = 0)
542 with_transform<ArgStream, Transformer> make_transforming(ArgStream & as, Transformer & transformer)
|