Option++
2.0
C++ library for reading command-line options
|
Header file for parser_result
class implementation.
More...
#include <optionpp/parser_result.hpp>
Go to the source code of this file.
Classes | |
class | optionpp::result_iterator< T, Ptr, Ref, IsOption > |
Iterator over parser_result arguments. More... | |
Namespaces | |
optionpp | |
Library namespace. | |
Typedefs | |
using | optionpp::option_iterator = result_iterator< parser_result, parsed_entry *, parsed_entry &, true > |
Iterator over option entries in a parser_result . | |
using | optionpp::option_const_iterator = result_iterator< const parser_result, const parsed_entry *, const parsed_entry &, true > |
const_iterator over non-option entries in a parser_result . | |
using | optionpp::non_option_iterator = result_iterator< parser_result, parsed_entry *, parsed_entry &, false > |
Iterator over non-option entries in a parser_result . | |
using | optionpp::non_option_const_iterator = result_iterator< const parser_result, const parsed_entry *, const parsed_entry &, false > |
const_iterator over non-option entries in a parser_result . | |
Functions | |
template<typename T , typename Ptr , typename Ref , bool IsOption> | |
result_iterator< T, Ptr, Ref, IsOption > | optionpp::begin (result_iterator< T, Ptr, Ref, IsOption > it) noexcept |
begin function for range for loop support. More... | |
template<typename T , typename Ptr , typename Ref , bool IsOption> | |
result_iterator< T, Ptr, Ref, IsOption > | optionpp::end (const result_iterator< T, Ptr, Ref, IsOption > &) noexcept |
end function for range for loop support. More... | |
Header file for parser_result
class implementation.