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::parser Class Reference

#include <parser.hpp>

Public Types

typedef std::list
< parameter_ptr >
::const_iterator 
param_iterator
 

Public Member Functions

 parser (cstring program_name=cstring())
 
parseroperator<< (parameter_ptr param)
 
template<typename Modifier >
cla_detail::global_mod_parser
< Modifier > 
operator- (Modifier const &m)
 
void parse (int &argc, char_type **argv)
 
param_iterator first_param () const
 
param_iterator last_param () const
 
const_argument_ptr operator[] (cstring string_id) const
 
cstring get (cstring string_id) const
 
template<typename T >
T const & get (cstring string_id) const
 
template<typename T >
void get (cstring string_id, boost::optional< T > &res) const
 
void usage (out_stream &ostr)
 
void help (out_stream &ostr)
 

Member Typedef Documentation

Constructor & Destructor Documentation

BOOST_RT_PARAM_INLINE boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parser ( cstring  program_name = cstring())
explicit

Member Function Documentation

BOOST_RT_PARAM_INLINE parser::param_iterator boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::first_param ( ) const
BOOST_RT_PARAM_INLINE cstring boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::get ( cstring  string_id) const
template<typename T >
T const& boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::get ( cstring  string_id) const
inline
template<typename T >
void boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::get ( cstring  string_id,
boost::optional< T > &  res 
) const
inline
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::help ( out_stream &  ostr)
BOOST_RT_PARAM_INLINE parser::param_iterator boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::last_param ( ) const
BOOST_RT_PARAM_INLINE parser & boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::operator<< ( parameter_ptr  param)
BOOST_RT_PARAM_INLINE const_argument_ptr boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::operator[] ( cstring  string_id) const
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::usage ( out_stream &  ostr)

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