paludis
Version 2.6.0
|
#include <args_option.hh>
Public Member Functions | |
EnumArgOptions (const std::string &, const std::string &) | |
EnumArgOptions (const std::string &, const char, const std::string &) | |
~EnumArgOptions () | |
EnumArgOptions & | operator() (const std::string &, const std::string &) |
EnumArgOptions & | operator() (const std::string &, const char, const std::string &) |
Friends | |
class | EnumArg |
Helper class for passing available options and associated descriptions to the EnumArg constructor.
paludis::args::EnumArg::EnumArgOptions::EnumArgOptions | ( | const std::string & | , |
const std::string & | |||
) |
Constructor
paludis::args::EnumArg::EnumArgOptions::EnumArgOptions | ( | const std::string & | , |
const char | , | ||
const std::string & | |||
) |
Constructor, with short arg.
paludis::args::EnumArg::EnumArgOptions::~EnumArgOptions | ( | ) |
Destructor.
EnumArgOptions& paludis::args::EnumArg::EnumArgOptions::operator() | ( | const std::string & | , |
const std::string & | |||
) |
Adds another (option, description).
EnumArgOptions& paludis::args::EnumArg::EnumArgOptions::operator() | ( | const std::string & | , |
const char | , | ||
const std::string & | |||
) |
Adds another (option, short-option, description).