|
kaycxx-cli
C++ CLI library
|
Handle for a registered flag. More...
#include <kaycxx/cli/flag_handle.hpp>
Public Member Functions | |
| flag_handle | action () noexcept |
| Marks the flag as a mutually exclusive command action. | |
| switch_base const & | definition () const noexcept |
| Returns the underlying flag definition. | |
Friends | |
| class | command |
Handle for a registered flag.
The handle does not own the flag definition. It references data owned by the command that created it.
|
inlinenoexcept |
Marks the flag as a mutually exclusive command action.
|
inlinenoexcept |
Returns the underlying flag definition.