#include <args_option.hh>
Iterate over our args. | |
typedef WrappedForwardIterator < ConstIteratorTag, const std::string > | ConstIterator |
ConstIterator | begin_args () const |
ConstIterator | end_args () const |
Basic operations | |
StringSequenceArg (ArgsGroup *const, const std::string &long_name, const char short_name, const std::string &description) | |
~StringSequenceArg () | |
Public Member Functions | |
void | add_argument (const std::string &arg) |
virtual bool | can_be_negated () const |
virtual const std::string | forwardable_string () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
void paludis::args::StringSequenceArg::add_argument | ( | const std::string & | arg | ) |
Add an argument to the set.
virtual bool paludis::args::StringSequenceArg::can_be_negated | ( | ) | const [virtual] |
virtual const std::string paludis::args::StringSequenceArg::forwardable_string | ( | ) | const [virtual] |
Ourself as a forwardable string.
For example, '--foo bar' or '--foo bar --foo baz' or '--foo', or if not specified, the empty string.
Implements paludis::args::ArgsOption.