|
wex
v21.04.0
|
This class contains a single vcs command. More...
#include <wex/vcs-command.h>

Public Member Functions | |
| vcs_command (const pugi::xml_node &node=pugi::xml_node()) | |
| Default constructor using xml node. | |
| bool | is_add () const |
| Returns true if this is a add like command. | |
| bool | is_blame () const |
| Returns true if this is a blame like command. | |
| bool | is_checkout () const |
| Returns true if this is a checkout like command. | |
| bool | is_commit () const |
| Returns true if this is a commit like command. | |
| bool | is_diff () const |
| Returns true if this is a diff like command. | |
| bool | is_history () const |
| Returns true if this is a history like command. | |
| bool | is_open () const |
| Returns true if this command can behave like opening a file. | |
Public Member Functions inherited from wex::menu_command | |
| menu_command (const pugi::xml_node &node=pugi::xml_node()) | |
| Default constructor using xml node. | |
| bool | ask_flags () const |
| Returns true if flags are requested for this command. More... | |
| const auto & | control () const |
| Returns the control key. | |
| const auto & | flags () const |
| Returns the flags. | |
| const std::string | get_command (include_t type=include_t().set(INCLUDE_SUBCOMMAND)) const |
| Returns the command (and subcommand and accelerators if necessary). | |
| const auto & | submenu () const |
| Returns the submenu. | |
| bool | is_help () const |
| Returns true if this is a help like command. | |
| auto & | type () const |
| Returns the type. | |
| const auto & | text () const |
| Returns the menu text. | |
| bool | use_subcommand () const |
| Returns true if a subcommand can be used for this command. | |
Additional Inherited Members | |
Public Types inherited from wex::menu_command | |
| enum | include { INCLUDE_SUBCOMMAND = 0 , INCLUDE_ACCELL = 1 } |
| The command flags as used by get_command. More... | |
| enum | { IS_POPUP = 0 , IS_MAIN , IS_SELECTED , IS_VISUAL , SEPARATOR , ELLIPSES } |
| The command type flags as read from xml file. More... | |
This class contains a single vcs command.