Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter Class Reference

#include <parameter.hpp>

Inheritance diagram for boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter:
Collaboration diagram for boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter:

Public Member Functions

 parameter (identification_policy &ID, argument_factory &F, bool optional_value=false)
 
virtual ~parameter ()
 
template<typename Modifier >
void accept_modifier (Modifier const &m)
 
bool has_argument () const
 
argument const & actual_argument () const
 
argument_ptr actual_argument ()
 
bool responds_to (cstring name) const
 
bool conflict_with (parameter const &p) const
 
cstring id_2_report () const
 
void usage_info (format_stream &fs) const
 
bool matching (argv_traverser &tr, bool primary) const
 
void produce_argument (argv_traverser &tr)
 
void produce_argument (parser const &p)
 

Public Attributes

unit_test::readwrite_property
< bool > 
p_optional
 
unit_test::readwrite_property
< bool > 
p_multiplicable
 
unit_test::readwrite_property
< bool > 
p_optional_value
 
unit_test::readwrite_property
< dstring > 
p_description
 

Constructor & Destructor Documentation

boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::parameter ( identification_policy ID,
argument_factory F,
bool  optional_value = false 
)
inline
virtual boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::~parameter ( )
inlinevirtual

Member Function Documentation

template<typename Modifier >
void boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::accept_modifier ( Modifier const &  m)
inline
argument const& boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::actual_argument ( ) const
inline
argument_ptr boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::actual_argument ( )
inline
bool boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::conflict_with ( parameter const &  p) const
inline
bool boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::has_argument ( ) const
inline
bool boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::matching ( argv_traverser tr,
bool  primary 
) const
inline
void boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::produce_argument ( argv_traverser tr)
inline
void boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::produce_argument ( parser const &  p)
inline
bool boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::responds_to ( cstring  name) const
inline
void boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::usage_info ( format_stream &  fs) const
inline

Member Data Documentation

unit_test::readwrite_property<dstring> boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::p_description
unit_test::readwrite_property<bool> boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::p_multiplicable
unit_test::readwrite_property<bool> boost::BOOST_RT_PARAM_NAMESPACE::cla::parameter::p_optional

The documentation for this class was generated from the following file: