|
| | CommandModule (CommandBank &bank=getCommandBank()) |
| |
| template<class CMD , class CMD_NEW = CMD> |
| Command & | installDeprecating (const std::string &name, char alias=0) |
| | Mark deprecating commands by installing them with this.
|
| |
| template<class CMD , class CMD_NEW = CMD> |
| Command & | installDeprecating (char alias=0) |
| | Mark deprecating commands by installing them with this.
|
| |
| template<class ... TT> |
| void | linkRelatedCommands (TT &... cmds) |
| |
|
template<class ... TT> |
| void | linkRelatedCommandList (std::set< std::string > &cmdList, Command &cmd, TT &... cmds) |
| |
|
template<class ... TT> |
| void | linkRelatedCommandList (std::set< std::string > &cmdList, const std::string &cmdName, TT &... cmds) |
| |
|
template<class ... TT> |
| void | linkRelatedCommandList (std::set< std::string > &cmdList) |
| |
| void | linkRelatedSection (Command &cmd, const CommandSection §ion) |
| |
template<char PREFIX = 0, class SECTION = GeneralSection>
class drain::CommandModule< PREFIX, SECTION >
Combines command installation and sectioning.
- Parameters
-
template<char PREFIX = 0, class SECTION = GeneralSection>
template<class CMD , class CMD_NEW = CMD>
| Command & installDeprecating |
( |
char |
alias = 0 | ) |
|
|
inline |
Mark deprecating commands by installing them with this.
If CMD_NEW is given (ie. different from CMD), add it to recommended alternatives.
template<char PREFIX = 0, class SECTION = GeneralSection>
template<class CMD , class CMD_NEW = CMD>
| Command & installDeprecating |
( |
const std::string & |
name, |
|
|
char |
alias = 0 |
|
) |
| |
|
inline |
Mark deprecating commands by installing them with this.
If CMD_NEW is given (ie. different from CMD), add it to recommended alternatives.