#include <argv_traverser.hpp>
Public Member Functions | |
argv_traverser () | |
void | init (int argc, char_type **argv) |
void | remainder (int &argc, char_type **argv) |
cstring | token () const |
void | next_token () |
cstring | input () const |
void | trim (std::size_t size) |
bool | match_front (cstring) |
bool | match_front (char_type c) |
bool | eoi () const |
void | commit () |
void | rollback () |
std::size_t | input_pos () const |
bool | handle_mismatch () |
Public Attributes | |
unit_test::readwrite_property < bool > | p_ignore_mismatch |
unit_test::readwrite_property < char_type > | p_separator |
BOOST_RT_PARAM_INLINE boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::argv_traverser | ( | ) |
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::commit | ( | ) |
Referenced by handle_mismatch(), and boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parse().
BOOST_RT_PARAM_INLINE bool boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::eoi | ( | ) | const |
BOOST_RT_PARAM_INLINE bool boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::handle_mismatch | ( | ) |
References commit(), boost::shared_array< T >::get(), next_token(), p_ignore_mismatch, p_separator, and token().
Referenced by boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parse().
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::init | ( | int | argc, |
char_type ** | argv | ||
) |
References BOOST_RT_PARAM_LITERAL, BOOST_RT_PARAM_TRACE, next_token(), and boost::shared_array< T >::reset().
Referenced by boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parse().
BOOST_RT_PARAM_INLINE cstring boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::input | ( | ) | const |
Referenced by boost::BOOST_RT_PARAM_NAMESPACE::cla::report_input_error().
BOOST_RT_PARAM_INLINE std::size_t boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::input_pos | ( | ) | const |
BOOST_RT_PARAM_INLINE bool boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::match_front | ( | cstring | str | ) |
BOOST_RT_PARAM_INLINE bool boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::match_front | ( | char_type | c | ) |
References boost::multiprecision::backends::c, and boost::unit_test::first_char().
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::next_token | ( | ) |
References boost::algorithm::find(), and p_separator.
Referenced by handle_mismatch(), init(), and boost::BOOST_RT_PARAM_NAMESPACE::cla::rt_cla_detail::default_value_interpreter::operator()().
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::remainder | ( | int & | argc, |
char_type ** | argv | ||
) |
References BOOST_RT_PARAM_LITERAL, boost::algorithm::find(), and boost::shared_array< T >::get().
Referenced by boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parse().
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::rollback | ( | ) |
References boost::algorithm::find(), and p_separator.
Referenced by boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::parse().
BOOST_RT_PARAM_INLINE cstring boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::token | ( | ) | const |
BOOST_RT_PARAM_INLINE void boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::trim | ( | std::size_t | size | ) |
unit_test::readwrite_property<bool> boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::p_ignore_mismatch |
Referenced by handle_mismatch(), and boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::operator-().
unit_test::readwrite_property<char_type> boost::BOOST_RT_PARAM_NAMESPACE::cla::argv_traverser::p_separator |
Referenced by handle_mismatch(), next_token(), boost::BOOST_RT_PARAM_NAMESPACE::cla::parser::operator-(), rollback(), and trim().