paludis::args::StringSetArg Class Reference

#include <args_option.hh>

Inheritance diagram for paludis::args::StringSetArg:

paludis::args::ArgsOption paludis::PrivateImplementationPattern< C_ >

List of all members.

Iterate over our args.

typedef WrappedForwardIterator
< ConstIteratorTag, const
std::string > 
ConstIterator
ConstIterator begin_args () const
ConstIterator end_args () const

Iterate over our allowed arguments and associated descriptions

typedef WrappedForwardIterator
< AllowedArgConstIteratorTag,
const std::pair< std::string,
std::string > > 
AllowedArgConstIterator
AllowedArgConstIterator begin_allowed_args () const
AllowedArgConstIterator end_allowed_args () const

Basic operations

 StringSetArg (ArgsGroup *const, const std::string &long_name, const char short_name, const std::string &description, const StringSetArgOptions &options=StringSetArgOptions())
 StringSetArg (ArgsGroup *const, const std::string &long_name, const char short_name, const std::string &description, const StringSetArgOptions &options, void(*validator)(const std::string &))
 ~StringSetArg ()

Classes

class  StringSetArgOptions

Public Member Functions

void add_argument (const std::string &arg)
virtual bool can_be_negated () const


Detailed Description

An option that takes a set of strings.

Member Function Documentation

void paludis::args::StringSetArg::add_argument ( const std::string &  arg  ) 

Add an argument to the set.

virtual bool paludis::args::StringSetArg::can_be_negated (  )  const [virtual]

Can we be negated?

Needs to match up with ArgsVisitor logic.

Implements paludis::args::ArgsOption.


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

Generated on Mon Dec 22 19:43:56 2008 for paludis by  doxygen 1.5.7.1