#include <argument_factory.hpp>
Public Member Functions | |
typed_argument_factory () | |
BOOST_RT_PARAM_UNNEEDED_VIRTUAL | ~typed_argument_factory () |
template<typename Modifier > | |
void | accept_modifier (Modifier const &m) |
virtual argument_ptr | produce_using (parameter &p, argv_traverser &tr) |
virtual argument_ptr | produce_using (parameter &p, parser const &) |
produce argument based on input More... | |
virtual void | argument_usage_info (format_stream &fs) |
produce argument based on internal generator and/or values of other parameters More... | |
Public Attributes | |
unit_test::callback2 < parameter const &, T & > | m_value_handler |
unit_test::callback2< parser const &, boost::optional< T > & > | m_value_generator |
unit_test::callback2 < argv_traverser &, boost::optional< T > & > | m_value_interpreter |
|
inline |
|
inline |
|
inline |
References BOOST_RT_PARAM_LITERAL, BOOST_RT_PARAM_VALIDATE_LOGIC, boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_generator, boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_handler, boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_interpreter, boost::nfp::optionally_assign(), and T.
|
inlinevirtual |
produce argument based on internal generator and/or values of other parameters
Implements boost::BOOST_RT_PARAM_NAMESPACE::cla::argument_factory.
|
inlinevirtual |
Implements boost::BOOST_RT_PARAM_NAMESPACE::cla::argument_factory.
References boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::actual_argument(), BOOST_RT_CLA_VALIDATE_INPUT, BOOST_RT_PARAM_LITERAL, BOOST_RT_PARAM_TRACE, boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::id_2_report(), boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::p_multiplicable, boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::p_optional_value, boost::shared_ptr< T >::reset(), boost::program_options::value(), and boost::adaptors::values().
|
inlinevirtual |
produce argument based on input
Implements boost::BOOST_RT_PARAM_NAMESPACE::cla::argument_factory.
References boost::shared_ptr< T >::reset(), and boost::program_options::value().
unit_test::callback2<parser const&,boost::optional<T>&> boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_generator |
unit_test::callback2<parameter const&,T&> boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_handler |
unit_test::callback2<argv_traverser&,boost::optional<T>&> boost::BOOST_RT_PARAM_NAMESPACE::cla::typed_argument_factory< T >::m_value_interpreter |