#include <OptionParser.h>
optparse::Option::Option |
( |
| ) |
|
|
inline |
virtual optparse::Option::~Option |
( |
| ) |
|
|
inlinevirtual |
Option& optparse::Option::action |
( |
const std::string & |
a | ) |
|
const std::string& optparse::Option::action |
( |
| ) |
const |
|
inline |
Callback* optparse::Option::callback |
( |
| ) |
const |
|
inline |
string optparse::Option::check_type |
( |
const std::string & |
opt, |
|
|
const std::string & |
val |
|
) |
| const |
|
private |
template<typename InputIterator >
Option& optparse::Option::choices |
( |
InputIterator |
begin, |
|
|
InputIterator |
end |
|
) |
| |
|
inline |
const std::list<std::string>& optparse::Option::choices |
( |
| ) |
const |
|
inline |
Option& optparse::Option::dest |
( |
const std::string & |
d | ) |
|
|
inline |
const std::string& optparse::Option::dest |
( |
| ) |
const |
|
inline |
string optparse::Option::format_help |
( |
unsigned int |
indent = 2 | ) |
const |
|
private |
string optparse::Option::format_option_help |
( |
unsigned int |
indent = 2 | ) |
const |
|
private |
const std::string& optparse::Option::get_const |
( |
| ) |
const |
|
inline |
const std::string& optparse::Option::get_default |
( |
| ) |
const |
|
inline |
Option& optparse::Option::help |
( |
const std::string & |
h | ) |
|
|
inline |
const std::string& optparse::Option::help |
( |
| ) |
const |
|
inline |
Option& optparse::Option::metavar |
( |
const std::string & |
m | ) |
|
|
inline |
const std::string& optparse::Option::metavar |
( |
| ) |
const |
|
inline |
Option& optparse::Option::nargs |
( |
size_t |
n | ) |
|
|
inline |
size_t optparse::Option::nargs |
( |
| ) |
const |
|
inline |
Option& optparse::Option::set_const |
( |
const std::string & |
c | ) |
|
|
inline |
Option& optparse::Option::set_default |
( |
const std::string & |
d | ) |
|
|
inline |
template<typename T >
Option& optparse::Option::set_default |
( |
T |
t | ) |
|
|
inline |
Option& optparse::Option::type |
( |
const std::string & |
t | ) |
|
|
inline |
const std::string& optparse::Option::type |
( |
| ) |
const |
|
inline |
std::string optparse::Option::_action |
|
private |
std::list<std::string> optparse::Option::_choices |
|
private |
std::string optparse::Option::_const |
|
private |
std::string optparse::Option::_default |
|
private |
std::string optparse::Option::_dest |
|
private |
std::string optparse::Option::_help |
|
private |
std::set<std::string> optparse::Option::_long_opts |
|
private |
std::string optparse::Option::_metavar |
|
private |
size_t optparse::Option::_nargs |
|
private |
std::set<std::string> optparse::Option::_short_opts |
|
private |
std::string optparse::Option::_type |
|
private |
The documentation for this class was generated from the following files: