|
Derived & | call (arg_action a) |
| adds an action that has an operator() that is callable with a 'const char*' argument More...
|
|
Derived & | call (simple_action a) |
| adds an action that has an operator()() More...
|
|
Derived & | operator() (arg_action a) |
| adds an action that has an operator() that is callable with a 'const char*' argument More...
|
|
Derived & | operator() (simple_action a) |
| adds an action that has an operator()() More...
|
|
template<class Target > |
Derived & | set (Target &t) |
| adds an action that will set the value of 't' from a 'const char*' arg More...
|
|
template<class Target , class Value > |
Derived & | set (Target &t, Value &&v) |
| adds an action that will set the value of 't' to 'v' More...
|
|
Derived & | if_repeated (simple_action a) |
| adds an action that will be called if a parameter matches an argument for the 2nd, 3rd, 4th, ... More...
|
|
Derived & | if_repeated (index_action a) |
| adds an action that will be called with the argument's index if a parameter matches an argument for the 2nd, 3rd, 4th, ... More...
|
|
Derived & | if_missing (simple_action a) |
| adds an action that will be called if a required parameter is missing More...
|
|
Derived & | if_missing (index_action a) |
| adds an action that will be called if a required parameter is missing; the action will get called with the index of the command line argument where the missing event occured first More...
|
|
Derived & | if_blocked (simple_action a) |
| adds an action that will be called if a parameter was matched, but was unreachable in the current scope More...
|
|
Derived & | if_blocked (index_action a) |
| adds an action that will be called if a parameter was matched, but was unreachable in the current scope; the action will be called with the index of the command line argument where the problem occured More...
|
|
Derived & | if_conflicted (simple_action a) |
| adds an action that will be called if a parameter match was in conflict with a different alternative parameter More...
|
|
Derived & | if_conflicted (index_action a) |
| adds an action that will be called if a parameter match was in conflict with a different alternative paramete; the action will be called with the index of the command line argument where the problem occuredr More...
|
|
template<class T , class... Ts> |
Derived & | target (T &&t, Ts &&... ts) |
| adds targets = either objects whose values should be set by command line arguments or actions that should be called in case of a match More...
|
|
template<class T , class = typename std::enable_if< !std::is_fundamental<typename std::decay<T>::type>() && (traits::is_callable<T,void()>() || traits::is_callable<T,void(const char*)>() ) >::type> |
Derived & | target (T &&t) |
| adds action that should be called in case of a match More...
|
|
template<class T , class = typename std::enable_if< std::is_fundamental<typename std::decay<T>::type>() || (!traits::is_callable<T,void()>() && !traits::is_callable<T,void(const char*)>() ) >::type> |
Derived & | target (T &t) |
| adds object whose value should be set by command line arguments More...
|
|
Derived & | target () |
|
void | execute_actions (const arg_string &arg) const |
| executes all argument actions More...
|
|
void | notify_repeated (arg_index idx) const |
| executes repeat actions More...
|
|
void | notify_missing (arg_index idx) const |
| executes missing error actions More...
|
|
void | notify_blocked (arg_index idx) const |
| executes blocked error actions More...
|
|
void | notify_conflict (arg_index idx) const |
| executes conflict error actions More...
|
|
|
template<class Target > |
Derived & | operator<< (Target &&t, Derived &p) |
| adds target, see member function 'target' More...
|
|
template<class Target > |
Derived && | operator<< (Target &&t, Derived &&p) |
| adds target, see member function 'target' More...
|
|
template<class Target > |
Derived & | operator>> (Derived &p, Target &&t) |
| adds target, see member function 'target' More...
|
|
template<class Target > |
Derived && | operator>> (Derived &&p, Target &&t) |
| adds target, see member function 'target' More...
|
|
template<class Derived>
class clipp::detail::action_provider< Derived >
mixin that provides action definition and execution
Definition at line 1164 of file clipp.h.