#include <clisession.h>
Definition at line 50 of file clisession.h.
◆ CliSession() [1/3]
| cli::CliSession::CliSession |
( |
Cli & | _cli, |
|
|
std::ostream & | _out, |
|
|
std::size_t | historySize = 100 ) |
|
inline |
◆ ~CliSession()
| cli::CliSession::~CliSession |
( |
| ) |
|
|
inlinevirtualnoexcept |
◆ CliSession() [2/3]
| cli::CliSession::CliSession |
( |
const CliSession & | | ) |
|
|
delete |
◆ CliSession() [3/3]
| cli::CliSession::CliSession |
( |
CliSession && | | ) |
|
|
delete |
◆ Current()
| void cli::CliSession::Current |
( |
Menu * | menu | ) |
|
|
inline |
◆ Enter()
| void cli::CliSession::Enter |
( |
| ) |
|
|
inline |
◆ EnterAction()
| void cli::CliSession::EnterAction |
( |
const std::function< void(std::ostream &)> & | action | ) |
|
|
inline |
◆ ExecFromHistory()
| void cli::CliSession::ExecFromHistory |
( |
unsigned | index | ) |
|
|
inline |
◆ Exit()
| void cli::CliSession::Exit |
( |
| ) |
|
|
inline |
◆ ExitAction()
| void cli::CliSession::ExitAction |
( |
const std::function< void(std::ostream &)> & | action | ) |
|
|
inline |
◆ Feed()
| void cli::CliSession::Feed |
( |
const std::string & | cmd | ) |
|
|
inline |
◆ GetCompletions()
| std::vector< std::string > cli::CliSession::GetCompletions |
( |
std::string | currentLine | ) |
const |
|
inline |
◆ Help() [1/2]
| void cli::CliSession::Help |
( |
| ) |
const |
|
inline |
◆ Help() [2/2]
| void cli::CliSession::Help |
( |
const std::string & | commandName | ) |
const |
|
inline |
◆ NextCmd()
| std::string cli::CliSession::NextCmd |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ OutStream()
| std::ostream & cli::CliSession::OutStream |
( |
| ) |
|
|
inline |
◆ PreviousCmd()
| std::string cli::CliSession::PreviousCmd |
( |
const std::string & | line | ) |
|
|
inline |
◆ Prompt()
| void cli::CliSession::Prompt |
( |
| ) |
|
|
inline |
◆ ShowHistory()
| void cli::CliSession::ShowHistory |
( |
| ) |
const |
|
inline |
◆ TerminalWidth()
| virtual std::size_t cli::CliSession::TerminalWidth |
( |
| ) |
const |
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: