#include <args_group.hh>
Iterate over our ArgsOptions. | |
typedef WrappedForwardIterator < ConstIteratorTag, ArgsOption *const > | ConstIterator |
ConstIterator | begin () const |
ConstIterator | end () const |
Basic operations | |
ArgsGroup (ArgsSection *s, const std::string &name, const std::string &description) | |
~ArgsGroup () | |
Public Member Functions | |
ArgsSection * | section () const |
void | add (ArgsOption *const value) |
void | remove (ArgsOption *const value) |
const std::string & | name () const |
const std::string & | description () const |
ArgsSection* paludis::args::ArgsGroup::section | ( | ) | const [inline] |
Fetch our section.
void paludis::args::ArgsGroup::add | ( | ArgsOption *const | value | ) |
Add an ArgsOption instance (called by the ArgsOption constructor).
void paludis::args::ArgsGroup::remove | ( | ArgsOption *const | value | ) |
Remove an ArgsOption instance (called by ArgsOption::remove).
const std::string& paludis::args::ArgsGroup::name | ( | ) | const [inline] |
Fetch our name.
const std::string& paludis::args::ArgsGroup::description | ( | ) | const [inline] |
Fetch our description.