wibble
1.1
|
Group related commandline options. More...
#include <options.h>
Public Member Functions | |
Option * | add (Option *o) |
template<typename T > | |
T * | create (const std::string &name, char shortName, const std::string &longName, const std::string &usage=std::string(), const std::string &description=std::string()) |
Create a new option. More... | |
template<typename T > | |
T * | add (const std::string &name, char shortName, const std::string &longName, const std::string &usage=std::string(), const std::string &description=std::string()) |
Create a new option and add it to this group. More... | |
![]() | |
virtual | ~Managed () |
Public Attributes | |
std::vector< Option * > | options |
std::string | description |
bool | hidden |
Protected Member Functions | |
OptionGroup (MemoryManager *mman=0, const std::string &description=std::string()) | |
Friends | |
class | Engine |
Group related commandline options.
|
inlineprotected |
|
inline |
Create a new option and add it to this group.
References add(), description, and usage().
|
inline |
Create a new option.
References wibble::commandline::MemoryManager::add(), description, and usage().
|
friend |
bool wibble::commandline::OptionGroup::hidden |