|
| CommandModule (CommandBank &bank=getCommandBank()) |
|
template<class CMD , class CMD_NEW = CMD> |
Command & | installDeprecating (const std::string &name, char alias=0) |
|
template<class CMD , class CMD_NEW = CMD> |
Command & | installDeprecating (char alias=0) |
|
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) |
|
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 |
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 |
If CMD_NEW is given (ie. different from CMD), add it to recommended alternatives.